We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Turn Off the Lights
Turn Off the Lights
Sort by
recency
|
18 Discussions
|
Please Login in order to post a comment
Here is my solution in java, javascript, python, C, C++, Csharp HackerRank Turn Off the Lights Problem Solution
Concise C++ version.
Note: this challenge had the potential to be interesting, but the expected solution actually solves only a very easy subset of the problem domain as stated in the challenge. It would be easy to construct input data that completely defeat most of the submitted answers (including this one). This low quality challenge should probably be removed or updated.
Here is Turn Off the Lights problem solution - https://programs.programmingoneonone.com/2021/07/hackerrank-turn-off-the-lights-problem-solution.html
Please explain, what this question is about? is it for led stage lighting manufacturers?? or something else.