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 personally use CodeWars to practice my thinking, not "using libraries which does my job". While in office I would search for solution in external libraries but it does not have any point in here
Use it if you want. It's just a tool among others.
As for what would make it best practices or not... Here, it's certainly not, since it makes the algorithm O(N²) (and yet, it might very well be faster than a proper linear solution, unless N grows very large... x) )