InterviewLegend

House Robber & DP

Alex Chen35 min readGuide updated

A Visa technical round spends a lot of its time on you. Your projects come first, then the stack in the job description, and the coding problem gets what's left. In October 2026 a candidate on a .NET and Angular loop answered C#, .NET and Angular questions for most of round one, then got something like House Robber I with the spare minutes. Round two covered Redis, JWT and OAuth, idempotency and retries before a problem much like House Robber III.

With the LRU cache, that family is one of the two most reported live problems at Visa, with four reports and two of them from 2026. It leads this lesson, in a line, in a circle and on a tree. After it come stock trading, which has two reports, and a Premium question, from a May 2026 Staff round. Read them as the shape Visa asks, and expect a push for a better bound once your first answer works.

The Visa angle
Have the brute force ready to say. The October 2026 candidate talked through both the brute force and the optimized House Robber. In February and May 2026, Staff interviewers pushed past a working answer and asked for a faster bound, once on a greedy problem and once on a Premium question. Know the next bound before they ask.

VisaPremium lesson · Coding round

The 4 Visa problems are below.

  1. A Premium questionCoding · Medium · Signature problem
  2. A Premium questionCoding · Medium · Frequently asked
  3. A Premium questionCoding · Easy

+ 1 more in this lesson

Each with hints, the follow-up and a tested solution.

Get the Visa questions

$49 a year · all 107 companies · instant access

20,000+ candidate reports

Visa interview guide

Know what Visa asks before you walk in.

30 coding · 8 system design · 20 behavioral questions

Get Premium$49 a year · Instant access
Or start freeNo card.

Get their questions first.

Had your Visa interview?How we research

InterviewLegend is independent and not affiliated with or endorsed by any company it covers.