Binary Search Problems
Binary search runs through many of IMC's online assessments, usually under a business story and often paired with a grid or tree problem in the same sitting.
These split into two kinds of search. Two of them search a sorted list for the nearest value, so you sort once and answer each query with a binary search. Scanning the whole list for every query is what times out. The third searches the answer itself. The values that still work form one block, and a path check at each probe tells you which side of the boundary you're on.
Candidates usually call the first question easy but slow. Most of the time goes into edge cases, such as repeated values or a query that lands past either end of the list. Settle those before you code the search.
IMC TradingPremium lesson · Coding round
The 3 IMC Trading problems are below.
- A Premium questionCoding · Medium · Frequently asked
- A Premium questionCoding · Medium · Frequently asked
- A Premium questionCoding · Hard
Each with hints, the follow-up and a tested solution.
Get the IMC Trading questions$49 a year · all 100 companies · cancel anytime
From 20,000+ candidate reports, forum threads behind logins and write-ups in Chinese.
IMC Trading interview guideKnow what IMC Trading asks before you walk in.
26 coding · 1 system design · 34 behavioral questions
Get their questions first.
InterviewLegend is independent and not affiliated with or endorsed by any company it covers.