I was doing this problem on leetcode:
Given an array nums with n objects colored red, white, or blue, sort them in-place so that objects