Add a more compact solution.
Daily LeetCode
Daily LeetCode
Daily LeetCode
Daily LeetCode
Daily LeetCode
Daily LeetCode
Daily LeetCode