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.
I disagree with this: high level does not mean you can't try to optimize your algorithms. Efficiency may not be necessary for some purposes but this does not involve you should not try
And you may write un-optimized code in any language, C included
However, the answer is interesting because it indicates another way of coding
It works but it is like using a mechanical shovel to plant a seed. So it is slow compared to more optimized solutions
I don't understand your explanation for array {1,2,3,4,5,6} since the {1,100,50,-51,1,1} array has a solution with index 1. What is the difference between these arrays ?