InterviewBit Problems   Bulbs : Solved


About the Bulbs : Solved category (1)
Isse Easy kuchh nahi c++ (1)
Short 5 lines solution using Bit Tricks in C++ (1)
Here's a short 10 line solution to this problem (1)
A slightly different C++ solution (1)
MY new breakthrough with this C++ solution..HAHAHAHAHAHAHA (1)
Easy Python3 Solution(for novice) (1)
Different technique|| o(n) and O(1)|| few line code c++ (1)
O(n) solution in cpp (1)
Easy to understand C Solution O(n) time (2)
We will check if value is not same as previous value. if not then increment the counter and change the value; (1)
Simple O(n) solution using odd and even number of flips (1)
Very easy to understand soln, O[n] time, O[1] space (1)
Short and Simple C++ Solutin (1)
Silly Solution, C++, O(n) time, O(1) space (1)
Python 3 O(n) one pass solution (1)
Simple C++ solution in O(n) (1)
Shortest cpp soln (4)
Easy to understand & short c++ sol. o(n) (1)
Easy to understand(1) (1)
Fastest among every solution cpp using xor (1)
Shortest O(n) solution (1)
Easy O(N) C++ Solution (1)
Easy O(n) fastest solution (1)
Simple and Easy Java solution with O(n) time complexity - Using Boolean variable (1)
Easy to understand simple logic O(N) (1)
Easy and different approach to the solution (1)
C++ solution O(n) time (1)
C++ Solution in One iteration (1)
Python 5 lines, O(n) time, O(1) space (1)