What is the counting sort running time? — O(q + n) where q is the number of unique items. If q is in O(n), then linear time.
G
1.2K
Google Interview
This flashcard deck made by jwasham contains knowledge about google interview. For more details, please follow https://github.com/jwasham/google-interview-university