companyhub
DashboardCompaniesProblemsSheetsBookmarksRevisionsAnalyticsLeaderboardCompare
Settings
Sign in
DashboardCompaniesProblemsSheetsBookmarks
Medium

Two Sum II - Input Array Is Sorted

65.1% acceptance · asked by 16 companies

Solve on LeetCode
ArrayBinary SearchTwo Pointers

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

Tcs63Amazon50Apple50Bloomberg50Epam Systems50Google50Jpmorgan50Meta50Microsoft50Adobe50Infosys38Visa38Zoho38Oracle25Tiktok25Yandex25

Related problems

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