companyhub
DashboardCompaniesProblemsSheetsBookmarksRevisionsAnalyticsLeaderboardCompare
Settings
Sign in
DashboardCompaniesProblemsSheetsBookmarks
Medium

Find the Smallest Divisor Given a Threshold

65.9% acceptance · asked by 13 companies

Solve on LeetCode
ArrayBinary Search

Workspace

Scratch, run, iterate — then submit on LeetCode

Custom input (stdin)

Console

Output appears here. Runs on the free Piston sandbox.

Your notes

Sign in to keep markdown notes on this problem — approach, complexity, gotchas.

Who asks this

Clevertap100Expedia100Zscaler75Agoda63DE Shaw63Paypal63Ibm50Oracle38Amazon38Bloomberg25Meta25Google25Microsoft13

Related problems

Two Sum
Easy
Merge Intervals
Medium
Best Time to Buy and Sell Stock
Easy
Group Anagrams
Medium
Number of Islands
Medium