LeetCode Question · Feb 2020 · Los Angeles

Facebook | Phone | Construct smallest number from given digits

6 upvotes 2,822 views 10 replies

Question Details

Totally stumpted by this question: Given array of digits (0-9, no negatives) and another number, a lower bound, construct next largest number. e.g. 1. digits: [8,5,2], lowerBound 100: number "258" 2. digits: [8,5,2],...

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Arrays Binary Search