codes for OJ of LeetCode