companyhub
DashboardCompaniesProblemsSheetsBookmarksRevisionsAnalyticsLeaderboardCompare
Settings
Sign in
DashboardCompaniesProblemsSheetsBookmarks
Medium

Single Element in a Sorted Array

59.3% acceptance · asked by 18 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

Blinkit100Moloco88Bytedance88Tcs75Zomato63Microsoft63Bloomberg63Servicenow63Coupang63Amazon63Meta50Flipkart50Google50Adobe50Snowflake50Zoho50Oracle38Goldman Sachs25

Related problems

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