Opening page…
In-place index manipulation, single-pass scans and clever reuse of the input array.
Solved
| Solved | # | Problem | Pattern | Level | Preview |
|---|---|---|---|---|---|
| 1 | Move Zeroes | in-place · two pointers | Easy | ||
| 2 | Majority Element | voting · counting | Easy | ||
| 3 | Max Consecutive Ones | single pass | Easy | ||
| 4 | Check if Array Is Sorted and Rotated | circular array | Easy | ||
| 5 | Rotate Array | reversal · in-place | Medium | ||
| 6 | Product of Array Except Self | prefix product | Medium | ||
| 7 | Next Permutation | permutations · in-place | Medium | ||
| 8 | Majority Element II | voting · counting | Medium | ||
| 9 | Rearrange Array Elements by Sign | two pointers | Medium | ||
| 10 | Find All Duplicates in an Array | index marking · in-place | Medium |
Showing 1–10 of 13 problems