Pocket Gems interview question

Sort color in leetcode.

Interview Answer

Anonymous

5 May 2014

Very easy. Swap Method. One time. O(n) time and O(1) cost.