Tutorial for how to solve “Bulb Switcher” [LeetCode 319].
In this video, I fully explain the math trick that is used to solve the coding interview question “Bulb Switcher”.
You can find the question here -
https://leetcode.com/problems/bulb-sw...
This question has been asked in Microsoft and Facebook software engineering interviews (according to LeetCode)
If there is a coding interview problem or topic you would like me to cover, let me know in the comments