Top Array Problems Leetcode Playground C