Find The Pivot Integer Leetcode 150