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