System design for lift and building faults, plus defective ball and sand clock puzzles
Filed under HashedIn
The question
Design a data structure for a lift system and a system to locate an electrical fault across n buildings, k floors, and m flats. Solve the 8-ball puzzle to find one defective ball with minimum attempts, and measure exactly 9 minutes using 4-minute and 7-minute sand clocks.
No write-up yet. Related questions below have one.
Related HashedIn questions
Collected from public candidate posts and coding forums. Updated Nov 2026.