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.
get data from website using something like beautifulsoup
wait am i having the same O(n^2) issue when using
ints.slice(0,i)
in my JS solution?ints[0:index]
is creating a copy of the list on each loop and searches linearly, making your solution O(n²). You need a better data structure with faster lookups.Mind sharing your code? You can mark it as a spoiler and we can help take a look to see where your approach is eating up time.