Leetcode Counting Elements In Two