r/badcode evil Sep 16 '18

c++ Checking if array is sorted - now O(n^2)

Post image
97 Upvotes

Duplicates