It's almost as important to know how the code completion of modern IDEs works - that's how I came to this solution, I didn't know this method existed either.
Not sure why but this solution didn't work for me. This is what I had and the test result failed saying something like "for input 10011010010" and nothing else. Copy/paste of the above code did the same thing. ???
Good to know this method exists!
Whoop. Genius
This comment is hidden because it contains spoiler information about the solution
It's almost as important to know how the code completion of modern IDEs works - that's how I came to this solution, I didn't know this method existed either.
xixixi this one had me
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Nice!!
Please use spoiler flag next time.
This comment is hidden because it contains spoiler information about the solution
Not sure why but this solution didn't work for me. This is what I had and the test result failed saying something like "for input 10011010010" and nothing else. Copy/paste of the above code did the same thing. ???
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Loading more items...