Shipment events dataset, variant 29. Return the first index of `target` in a sorted array, or `-1` when absent. Implement `solve(nums, target)` and return the requested value.
DrawCode Practice Problem
First Position in Sorted Array · Shipment events 29
Interactive Visualizer Workspace
Explore step-by-step interactive animations, memory state tracking, and live multi-language execution in DrawCode.
Launch Interactive Visualizer