Leetcode 432 All One Data Structure