- Step 1. What Is an ArrayArrays. Indexes. Create, write, and read. Iteration and search.
- Step 2. Iteration and SearchExercises on array iteration and element search.
- Step 3. Creating and Changing ArraysExercises on creating, changing, and filling arrays.
- Step 4. In-Place OperationsIn-place operations. Changing arrays in place without extra memory.
- Step 5. Advanced LevelAdvanced array exercises.
Step 3. Creating and Changing Arrays
In this step you will learn to create new arrays, change existing ones, and perform operations that require careful index handling.
The exercises help you understand how to change array structure and correctly process elements during shifts and replacements.
What you will learn:
- Duplicate elements while respecting array length limits
- Merge two arrays into one while preserving order
- Replace elements based on values to the right
- Move elements inside an array with shifting