2017年9月18日

Leetcode c语言-Swap Nodes in Pairs

摘要: Title:Given a linked list, swap every two adjacent nodes and return its head.For example,Given 1->2->3->4, you should return the list ... 阅读全文

posted @ 2017-09-18 23:37 sichenzhao 阅读(143) 评论(0) 推荐(0) 编辑

LeetCode c语言-Generate Parentheses和买票找零问题

摘要: Title:Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.For example, given n = 3,... 阅读全文

posted @ 2017-09-18 17:35 sichenzhao 阅读(298) 评论(0) 推荐(0) 编辑

Leetcode c语言- Merge Two Sorted Lists

摘要: Title:Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the fir... 阅读全文

posted @ 2017-09-18 13:45 sichenzhao 阅读(198) 评论(0) 推荐(0) 编辑

导航