leetcode.com 2026-08-20
🟢3069.distribute-elements-into-two-arrays-i
🏷️ Tags
#array #simulation
Telegraph
distribute-elements-into-two-arrays-i
You are given a 1-indexed array of distinct integers nums of length n. You need to distribute all the elements of nums between two arrays arr1 and arr2 using n operations. In the first operation, append nums[1] to arr1. In the second operation, append nums[2]…
August 20, 2026 60