DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
Interview Prep Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
easy
Interview Prep
What's the complexity of building a byId/allIds normalized structure from a flat array of n items?
A
O(1)
B
O(log n)
C
O(n)
D
O(n²)
Check Answer