Sorting algorithms are non-negotiable for coding interviews. You must understand how different sorting algorithms stack up against each other - their time and space complexities and whether or not they're stable.
Time Complexity
Space Complexity (Worst): O(n)
Time Complexity
Space Complexity (Worst): O(n)
Time Complexity
Space Complexity (Worst): O(1)
Time Complexity
Space Complexity (Worst): O(1)
Time Complexity
Space Complexity (Worst): O(n)
Time Complexity
Space Complexity (Worst): O(1)
Time Complexity
Space Complexity (Worst): O(1)
Time Complexity
Space Complexity (Worst): O(n)
k = number of buckets
Time Complexity
Space Complexity (Worst): O(n + k)
k = number of digits
Time Complexity
Space Complexity (Worst): O(k)
k = Size of the value range
Time Complexity
Space Complexity (Worst): O(1)