SohanChoudhury/StalinSort

StalinSort Implementation is O(n^2)

Opened this issue · 0 comments

Because of your use of a slice in your for-each loop, your communism_is_wonderful() function returns the sorted array in O(n^2) time.