摘要: 题意: Given a linked list, reverse the nodes of a linked list k at a time and return its modified list. If the number of nodes is not a multiple of k th 阅读全文
posted @ 2016-08-15 19:14 wangxiaobao1114 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 题意: 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 as 2->1->4->3. Yo 阅读全文
posted @ 2016-08-15 19:11 wangxiaobao1114 阅读(133) 评论(0) 推荐(0) 编辑