2161. Partition Array According to Given Pivot - Explanation

Problem Link