Given an employees table, return the second highest distinct
salary. Return NULL if a second highest salary does not exist.
…
Unlock the full statement, examples, constraints, and solution guidance.
…
}
O(n)O(k), where k is the number of distinct characters.Morgan Stanley • Pending
Morgan Stanley • Pending
Accenture • Pending
Morgan Stanley • Pending
Morgan Stanley • Pending