Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
No random tests. I suggest you unpublish immediately and add them. There is documentation to help.
You're comparing the user's solution return value with itself.
The number of lights is already encoded in the list length, so there's no point in passing it in another argument.
Or maybe the number of switches can be different from the number of lights, but then this case should be tested.It doesn't looks like that ("only describes what OTHER lights").Random tests should be added.