Trees, Lists and Chains
These four problems share one skill. You follow links and keep track of what you can reach from where you stand. Sometimes the link you need points the wrong way, and sometimes you can't see the node behind you.
The first one comes from the online assessment. The other three have come up in live rounds, from intern panels to SDE-2 interviews, and range from easy to medium. In each one, name the pointer you're missing before you write the loop.
American ExpressPremium lesson · Coding round
The 4 American Express problems are below.
- A Premium questionCoding · Easy
- A Premium questionCoding · Medium
- A Premium questionCoding · Easy
+ 1 more in this lesson
Each with hints, the follow-up and a tested solution.
Get the American Express questions$49 a year · all 100 companies · cancel anytime
From 20,000+ candidate reports, forum threads behind logins and write-ups in Chinese.
American Express interview guideKnow what American Express asks before you walk in.
30 coding · 3 system design · 15 behavioral questions
Get their questions first.
InterviewLegend is independent and not affiliated with or endorsed by any company it covers.