Ad
  • Custom User Avatar

    Why are people upvoting as "best practices" and "clever" the solutions that are O(n^2)?

    Don't loop an array in another array. It takes way too long for large arrays.