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.
Performance on a simple calc like this honestly wouldn't make any difference
dude calm down
this code smells determination
instead of "count the number of the element which smaller than n and return it."
it should be "count the numbers of elements which are smaller than n and return it."
the problem with the first one is that gives the intention that we are supposed to pick the index of the element that's smaller than n, instead of how many
This comment is hidden because it contains spoiler information about the solution
Please, can you give more details about the exercise? Like what's a hex and a decimal number? What are examples of translating from hex to decimal?