Expedia logoExpedia
CodingMembers

Count Number of Nice Subarrays (LC 1248)

Members only

The single coding round in a three-round Expedia senior onsite. The problem itself is moderate, but the round punishes misreading the statement — candidates have failed by solving a subtly different counting problem than the one asked.

SWE
array
prefix-sum
sliding-window
hashmap
medium
Frequency
Single report
Last asked
2026-04-11
Stage
onsite-coding

Members get

  • Full problem statement
  • 3 progressive hints
  • Step-by-step approach
  • Full solution with code
  • 3 common pitfalls
  • 6 talking points
  • 5 follow-up questions with answer directions
  • Preparation drills

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...