C++ Coding Exercise – Sort Colors (Bucket Sort and Dutch Flag) April 26, 2016 algorithms, c / c++, coding exercise, leetcode online judge, sorting No Comments Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red, … [Continue Reading...]