All challenges
DSA

Binary Search

easy
20m
#dsa#python#javascript#typescript#go#java#cpp#rust

Given a sorted ascending array nums of distinct integers and a target, return its index, or -1 if not present.

Start challengeSign in to save your progress.