上一页 1 2 3 4 5 6 7 8 ··· 16 下一页
摘要: 一、问题描述 Description: Given a sorted array, remove the duplicates in place such that each element appear only once and return the new lengt... 阅读全文
posted @ 2015-05-24 10:27 songlee 阅读(158) 评论(0) 推荐(0)
摘要: 一、问题描述 Description: Given a linked list, reverse the nodes of a linked list k at a time and return its modified list. If the number of... 阅读全文
posted @ 2015-05-24 09:57 songlee 阅读(124) 评论(0) 推荐(0)
摘要: 一、问题描述 Description: Given a linked list, swap every two adjacent nodes and return its head. For example: Given 1->2->3->4, you shou... 阅读全文
posted @ 2015-05-24 08:55 songlee 阅读(136) 评论(0) 推荐(0)
摘要: 一、问题描述 Description: Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity.合并 k 个有序链表。二、解题报告解法... 阅读全文
posted @ 2015-05-24 01:42 songlee 阅读(146) 评论(0) 推荐(0)
摘要: 一、实习季Timeline从2015年4月开始找实习,前后历时两个月,参加了很多的笔试/面试。这是一个焦虑又美好的学期,我在这段时间里学到了很多东西。这一个学期就这么磕磕绊绊的过了一半了,决定去360实习以后,也终于能安下心来。因为等待(笔试/面试通知)真的是很痛苦的一件事。参加的... 阅读全文
posted @ 2015-05-23 14:56 songlee 阅读(177) 评论(0) 推荐(0)
摘要: 一、问题描述 Description: Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. For exampl... 阅读全文
posted @ 2015-05-20 19:20 songlee 阅读(137) 评论(0) 推荐(0)
摘要: 一、问题描述 Description: Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes... 阅读全文
posted @ 2015-05-20 18:09 songlee 阅读(116) 评论(0) 推荐(0)
摘要: 一、问题描述 Description: Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid... 阅读全文
posted @ 2015-05-20 17:48 songlee 阅读(126) 评论(0) 推荐(0)
摘要: 一、问题描述 Description: Given a linked list, remove the nth node from the end of list and return its head. For example: Given linked li... 阅读全文
posted @ 2015-05-20 13:34 songlee 阅读(168) 评论(0) 推荐(0)
摘要: 一、问题描述 Description: Given an array S of n integers, are there elements a, b, c, and d in S such that a + b + c + d = target? Find all uni... 阅读全文
posted @ 2015-05-20 12:49 songlee 阅读(135) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 16 下一页