The time complexity of this solution is O(n).
Given a list of Comparable elements, bring all instances of a given value in the list to the right side of the array.