Array and Number Tasks
Some of the problems on Jump's online coding test are short array or number tasks. They read like warm-ups, but each one has a key observation that turns a nested loop into a single pass. The hidden inputs are large, so if you miss the observation, a correct brute-force answer still runs out of time and fails.
The fix is usually to count instead of trying combinations, or to notice that the answer always touches one end of the array. Once you see which, the loop is a single pass.
When values are ratios, the work is in the key. A double can't reliably tell two close values apart, so store an exact reduced form and count with a normal hash map.
Before you submit any of these, test an input where every value is equal and one at the largest values allowed.
Jump TradingPremium lesson · Coding round
The 3 Jump Trading problems are below.
- A Premium questionCoding · Medium · Frequently asked
- A Premium questionCoding · Easy
- A Premium questionCoding · Medium
Each with hints, the follow-up and a tested solution.
Get the Jump Trading questions$49 a year · all 100 companies · cancel anytime
From 20,000+ candidate reports, forum threads behind logins and write-ups in Chinese.
Jump Trading interview guideKnow what Jump Trading asks before you walk in.
28 coding · 1 system design · 15 behavioral questions
Get their questions first.
InterviewLegend is independent and not affiliated with or endorsed by any company it covers.