Find Floor and Position from Room Number
Filed under Fiberlink
The question
Given a building with infinite floors where the number of rooms per floor alternates (10, 5, 10, 5...) starting from the ground floor, and room numbers sequentially increase from 1, find the floor and left position for a given room number.
No write-up yet. Related questions below have one.
Related Fiberlink questions
Collected from public candidate posts and coding forums. Updated Nov 2026.