Leetcode Output Empty Out The Compartments