Whatnot logoWhatnot
CodingMembers

Counting Role Pairs Performed by the Same Singer Within a Period

Members only

A grouping and counting problem over performance records, where roles are linked when one person performs them close together in time. The main challenge is organizing the work per person and handling ambiguous output conventions.

SWE
medium
hashmap
sliding-window
sorting
Frequency
Single report
Last asked
—
Stage
onsite-coding

Members get

  • Full problem statement
  • 3 progressive hints
  • Step-by-step approach
  • Full solution with code
  • 6 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...