上一页 1 ··· 6 7 8 9 10 11 12 13 14 下一页
摘要: 标题:Add Binary通过率:25.1%难度:简单Given two binary strings, return their sum (also a binary string).For example,a ="11"b ="1"Return"100".本题主要就是模拟二进制去处理,跟上次做到... 阅读全文
posted @ 2015-01-27 17:39 pku_smile 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 标题:Count and Say通过率:25.8%难度:简单The count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 111221, ...1is read off as"... 阅读全文
posted @ 2015-01-27 17:20 pku_smile 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 标题:Valid Sudoku通过率:27.2%难度:简单Determine if a Sudoku is valid, according to:Sudoku Puzzles - The Rules.The Sudoku board could be partially filled, where... 阅读全文
posted @ 2015-01-26 18:03 pku_smile 阅读(159) 评论(0) 推荐(0) 编辑
摘要: Write a program to find the node at which the intersection of two singly linked lists begins.For example, the following two linked lists:A: a... 阅读全文
posted @ 2015-01-25 11:40 pku_smile 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 标题:Remove Nth Node From End of List通过率:28.5%难度:简答Given a linked list, remove thenthnode from the end of list and return its head.For example, Given ... 阅读全文
posted @ 2015-01-23 11:23 pku_smile 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 标题:Implement strStr()通过率:21.8%难度:简单Implement strStr().Returns the index of the first occurrence of needle in haystack, or -1 if needle is not part of ... 阅读全文
posted @ 2015-01-23 11:12 pku_smile 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 标题:Pascal's Triangle II通过率:29.8%难度:简单Given an indexk, return thekthrow of the Pascal's triangle.For example, givenk= 3,Return[1,3,3,1].Note:Could you ... 阅读全文
posted @ 2015-01-21 10:51 pku_smile 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 标题:Valid Palindrome通过率:21.9%难度:简单Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For exam... 阅读全文
posted @ 2015-01-21 09:59 pku_smile 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 标题:Length of Last Word通过率:28.8%难度:简单Given a stringsconsists of upper/lower-case alphabets and empty space characters' ', return the length of last wor... 阅读全文
posted @ 2015-01-20 15:44 pku_smile 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 标题:Excel Sheet Column Title通过率:17.3%难度:简单Given a positive integer, return its corresponding column title as appear in an Excel sheet.For example: 1... 阅读全文
posted @ 2015-01-19 19:22 pku_smile 阅读(192) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 下一页