程序媛詹妮弗
终身学习
摘要: Implement strStr(). Return the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack. Example 1: Example 2: Cla 阅读全文
posted @ 2019-04-09 07:09 程序媛詹妮弗 阅读(113) 评论(0) 推荐(0) 编辑
摘要: Given a linked list, reverse the nodes of a linked list k at a time and return its modified list. k is a positive integer and is less than or equal to 阅读全文
posted @ 2019-04-09 05:13 程序媛詹妮弗 阅读(117) 评论(0) 推荐(0) 编辑
摘要: Given a linked list, swap every two adjacent nodes and return its head. You may not modify the values in the list's nodes, only nodes itself may be ch 阅读全文
posted @ 2019-04-09 03:32 程序媛詹妮弗 阅读(135) 评论(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 is: 题 阅读全文
posted @ 2019-04-09 02:50 程序媛詹妮弗 阅读(178) 评论(0) 推荐(0) 编辑