摘要: 21. Merge Two Sorted Lists Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of th 阅读全文
posted @ 2017-10-12 16:39 hdu胡恩超 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 20. Valid Parentheses Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. The brack 阅读全文
posted @ 2017-10-12 15:37 hdu胡恩超 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 19. Remove Nth Node From End of List Given a linked list, remove the nth node from the end of list and return its head. For example, Note:Given n will 阅读全文
posted @ 2017-10-12 14:55 hdu胡恩超 阅读(121) 评论(0) 推荐(0) 编辑