
链表
jiang_16
一个想学好编程的弱渣妹纸,猎奇,脑洞向...
展开
-
【数据结构之链表】LeetCode 19. Remove Nth Node From End of List
19. Remove Nth Node From End of List Medium Given a linked list, remove the n-th node from the end of list and return its head. Example: Given linked list: 1->2->3->4->5, and n = 2. ...原创 2019-02-26 19:55:18 · 224 阅读 · 0 评论 -
【数据结构之链表】25. Reverse Nodes in k-Group
25. Reverse Nodes in k-Group Hard 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 the length o...原创 2019-02-26 22:30:58 · 158 阅读 · 0 评论