SIG (Susquehanna International Group) logoSIG (Susquehanna International Group)
CodingMembers

Hashmap with Add-to-All-Keys and Add-to-All-Values Operations

Members only

A SIG online-assessment coding question about building a custom hashmap whose bulk operations shift every key or every value at once. The straightforward version is easy to write and too slow for the input size, so the question is really about spotting how to avoid touching every entry.

SWE
hashmap
data-structure
simulation
medium
Frequency
Single report
Last asked
—
Stage
oa

Members get

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