JobsJob TrackerJob alerts

DBS ยท 15 questions

All 15Coding 13Low-Level Design 1Product Sense 1
  • Maximum sum dynamic programming problemCoding
  • Loan Approval API and Data Science tasksProduct Sense
  • Write code for dynamic programming questionCoding
  • Find median in a streamCoding
  • Implement stack using two queuesCoding
  • Banking MVP ApplicationLow-Level Design
  • Efficient Prime Number GenerationCoding
  • Median of a Doubly Linked ListCoding
  • BFS and DFSCoding
  • 100 Bulbs Logical PuzzleCoding
  • Missing number in arrayCoding
  • Nth node from end of linked listCoding
  • Boundary Traversal of binary treeCoding
  • Find the number of islandsCoding
  • Bubble Sort ImplementationCoding
โ† DBS questions
  1. Interview questions
  2. DBS
  3. 100 Bulbs Logical Puzzle
Coding

100 Bulbs Logical Puzzle

Filed under DBS

The question

Determine how many light bulbs are illuminated after 100 people pass through a room with 100 initially closed bulbs, where each person toggles multiples of their step number.

No write-up yet. Related questions below have one.

Related DBS questions

  • Maximum sum dynamic programming problem
  • Write code for dynamic programming question
  • Efficient Prime Number Generation
  • Median of a Doubly Linked List
โ† BFS and DFSMissing number in array โ†’

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