摘要: #题目描述:Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating lett... 阅读全文
posted @ 2015-01-22 17:02 mrbean 阅读(210) 评论(0) 推荐(0) 编辑
摘要: #题目简述:Determine whether an integer is a palindrome. Do this without extra space.Some hints:Could negative integers be palindromes? (ie, -1)If you are ... 阅读全文
posted @ 2015-01-22 15:22 mrbean 阅读(256) 评论(0) 推荐(0) 编辑
摘要: #题目简述:Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.For example, given n = 3, a solution set ... 阅读全文
posted @ 2015-01-22 00:41 mrbean 阅读(156) 评论(0) 推荐(0) 编辑
摘要: #题目描述:You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a s... 阅读全文
posted @ 2015-01-22 00:00 mrbean 阅读(186) 评论(0) 推荐(0) 编辑