JobsJob TrackerJob alerts

Fiberlink ยท 13 questions

All 13Coding 8
  • Print all distinct palindromic sub-stringsCoding
  • Singleton Pattern
  • Print repeating numbers in an arrayCoding
  • Exception Handling
  • Testing multi-threading with JUnit
  • Grid boundary removal puzzle
  • Frequency count with alphabetical sortingCoding
  • Bridge and Torch Problem
  • Find Student Rank from Marks ArrayCoding
  • Find Floor and Position from Room NumberCoding
  • Make Leaf Node the Root of Binary TreeCoding
  • Print Older Version of QueueCoding
  • Generate Six-Digit Numbers on KeypadCoding
โ† Fiberlink questions
  1. Interview questions
  2. Fiberlink
  3. Find Floor and Position from Room Number
Coding

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

  • Print all distinct palindromic sub-strings
  • Print repeating numbers in an array
  • Frequency count with alphabetical sorting
  • Find Student Rank from Marks Array
  • Make Leaf Node the Root of Binary Tree
โ† Find Student Rank from Marks ArrayMake Leaf Node the Root of Binary Tree โ†’

Collected from public candidate posts and coding forums. Updated Nov 2026.