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.
Chrono79 - Look at my comment above
I have passed every testcase besides in the case where it is expecting "I" and I am returning "E".
After some investigation it looks like the testcase is being run twice. First, setting bits to "1"; Second, setting bits to "101";
I seem to be getting the correct answer on the first iteration...
Here is a picture of a console log at the top of the solution where I am logging bits - https://ibb.co/hBH1RdJ