InterviewLegend

Two Sum, Majority Element & Array Scans

Alex Chen40 min readGuide updated

Not every Expedia coding round opens with a hard problem. Early-career interviews and many US screens start with an easy array or string question, and these five are the ones candidates named between January and October 2026. They're short. Each one is a single scan with the right thing remembered along the way.

That doesn't make them free points. The interview runs in HackerRank against test cases, and a second problem usually follows in the same hour. The easy one is where you buy time for it. Solve it cleanly at the optimal complexity, test it out loud, and move on with most of the clock still left.

The Expedia angle
Go straight to the linear answer. Expedia screens in 2025 and 2026 were often scored on the optimal solution, and a March 2026 candidate who stopped at brute force on the second problem was rejected. On an easy opener, say the brute force in one sentence and then write the one-pass version.

ExpediaPremium lesson · Coding round

The 5 Expedia problems are below.

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

+ 2 more in this lesson

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

Get the Expedia questions

$49 a year · all 122 companies · instant access

21,000+ candidate reports

Expedia interview guide

Know what Expedia asks before you walk in.

39 coding · 6 system design · 23 behavioral questions

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

Get their questions first.

Had your Expedia interview?How we research

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