Prefix Sums & Greedy
Several of the array problems Intuit asks share one habit. Each walks the array once or twice and carries a single value forward, like a running product or the most times the next letter may still appear. The product problem, where each slot gets the product of every other value, has come up in an SDE-2 Assessor round, an intern first round and two campus drives. The best contiguous sum came up on a Software Engineer 2 phone screen as Kadane's algorithm followed by a variation. In one SDE-2 interview, the craft coding round opened with a letter-frequency puzzle framed as a musical play.
The hard part usually comes after the first answer runs. On the product problem, division gets banned. On the contiguous-sum problem, the sum alone isn't enough, and you also have to give back where the best run starts and ends. None of these needs a clever data structure, so you're scored on whether the scan handles its edge cases and whether you can explain why each line is correct, including the greedy sort.
long results from int inputs ready, and give the overflow reason before the Assessor asks for it.IntuitPremium lesson · Coding round
The 3 Intuit problems are below.
- A Premium questionCoding · Medium · Frequently asked
- A Premium questionCoding · Medium
- A Premium questionCoding · Medium
Each with hints, the follow-up and a tested solution.
Get the Intuit questions$49 a year · all 100 companies · cancel anytime
From 309 Intuit reports, forum threads behind logins and write-ups in Chinese.
Intuit interview guideKnow what Intuit asks before you walk in.
28 coding · 5 system design · 21 behavioral questions
Get their questions first.
InterviewLegend is independent and not affiliated with or endorsed by any company it covers.