
模拟
文章平均质量分 69
HCacm
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
leetcode 48. Rotate Image
Discription You are given an n x n 2D matrix representing an image.Rotate the image by 90 degrees (clockwise).Note: You have to rotate the image in-place, which means you have to modify the input 2D m原创 2017-10-12 10:33:20 · 227 阅读 · 0 评论 -
leetcode 24. Swap Nodes in Pairs
相关问题Discription 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.Your algorithm should use only constant s原创 2017-10-30 19:24:40 · 230 阅读 · 0 评论 -
leetcode 25. Reverse Nodes in k-Group
相关问题24. Swap Nodes in Pairs 25. Reverse Nodes in k-GroupDiscription 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原创 2017-10-30 19:48:53 · 249 阅读 · 0 评论