Skip to main content

Practice

Array lab

⭐⭐⭐ advanced~60 min of coding6 challenges

Peaks, rotation, compaction, dedup, sentinel repair, and a bounds fix.

Checking your progress…0%

What you will practice

  1. Count the peaks⭐⭐ intermediate
  2. Rotate right⭐⭐ intermediate
  3. Move zeros in place⭐⭐ intermediate
  4. Backward-looking dedup⭐⭐ intermediate
  5. Fix the sentinel stop⭐⭐ intermediate
  6. Fix the walked-off end⭐⭐ intermediate

Need the concept first? Re-read the lesson.