LeetCode Solution For C++, Java, Python