Problem B4 · Easy

Lower Bound: Find the First Valid Position

Find the first index with value at least the target, including an insertion point at n.

Open the interactive visualisation