Several Leet's code problems