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.
Applausing you for this one
now that's a helpful comment lmao
@FArekkusu
Are you sure this code is O(n^2)? It appears to me that it is O(n), as it loops as many times as there are segments of 8 bytes in the input list
Of course, but it doesn't have to add 1 ... twice every time 😉
Could you expain this solution please? Struggling with understanding it a bit
How have I not thought of this, brilliant solution!
when you convert an interger to binary it becomes a string, you don't need to convert it into string on line 3 and line 4
other than that i love your solution :)
this is still the cleanest solution, 4 years later
Very readable, thanks for this!
Clean
Love this one, so simple
love this
;D
Because it's
O(n^2)
when an obviousO(n)
solution exists?<3
Loading more items...