You can sort a deck of cards in O(1). Just throw the deck away and get out a new deck. Sorted!
#computerscience
#computerscience
Comments