Topic: Array Problem / Level: intermediate

Problem: Rearrange an array such that all elements greater than the pivot are on the right side, and all elements smaller are on the left.

Run the code to see the output here...