Leetcode Two Pointer Problems Leetcode 754 Election