Logical Design Problems Leetcode Solutions Cpp