cpp code of leetcode problems and POJ