Oracle logoOracle
Coding·45 minMembers

First-Login Only-Once User Tracker (O(1) Worst-Case)

Members only

Design a structure that records user logins and, on demand, returns the earliest-logged-in user whose login count is exactly one. Both operations must be O(1) worst-case. Asked as the coding portion o...

SWE
Infra Eng
linked-list
hashmap
design
data-structure
medium
Frequency
Single report
Last asked
2025-12-01
Stage
phone-screen

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...