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.
OP solved it, closing
Multithreading will not help when you use inefficient algorithm, because multithreading can make your code only two- or four- or eight- times faster or so, and this will not help if your algorithm is 1000 times too slow for large arrays.
You most probably need to think of a better idea. But it's difficult to give any specific hints without knowing what is your current approach.
I've checked the multithreading code for this one,and still got the timeout error!
Any suggestion for optimizing that better?