- 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 4. In-Place Operations
In this step you will learn techniques for changing an array without creating extra arrays, i.e. performing operations in-place.
Such algorithms save memory, run faster, and are often used in interviews and real tasks.
What you will master:
- Changing array structure without extra memory allocation
- Working with indexes while modifying an array
- Processing and filtering data inside the original array
- Array rotation