You are viewing a single comment's thread. Return to all comments →
You might want to try replacing List<Long>[] with long[]. There's no reason to build all of those arraylists and aggregate them later.
List<Long>[]
long[]
Seems like cookies are disabled on this browser, please enable them to open this website
Array Manipulation
You are viewing a single comment's thread. Return to all comments →
You might want to try replacing
List<Long>[]
withlong[]
. There's no reason to build all of those arraylists and aggregate them later.