摘要: 一、问题描述 Description: There are a total of n courses you have to take, labeled from 0 to n−1. Some courses may have prerequisites, for e... 阅读全文
posted @ 2015-05-13 23:42 神奕 阅读(166) 评论(0) 推荐(0)
摘要: 一、问题描述 Description: Determine whether an integer is a palindrome. Do this without extra space.判断一个整数是否是回文数,不要使用额外的空间。二、解题报告解题时我们需要注意一下几点:... 阅读全文
posted @ 2015-05-13 22:53 神奕 阅读(124) 评论(0) 推荐(0)
摘要: 一、问题描述 Description: Implement atoi to convert a string to an integer. Hint: Carefully consider all possible input cases. If you wa... 阅读全文
posted @ 2015-05-13 22:16 神奕 阅读(157) 评论(0) 推荐(0)