Bulb toggling is one of the famous puzzles asked in various interviews. The problem statement is as follows. LeetCode Problem: 319 There are βnβ bulbs that are initially OFF. You have to play a game in which there are n rounds. In the first round, y...
vineethm.hashnode.dev4 min read
No responses yet.