- 博客(2)
- 资源 (1)
- 收藏
- 关注
原创 leetcode:Rotate Image (旋转矩阵)【面试算法题】
题目: You are given an n x n 2D matrix representing an image. Rotate the image by 90 degrees (clockwise). Follow up: Could you do this in-place? 题意:逆时针旋转矩阵,原地旋转,意思是不能使用额外的空间存储矩阵。
2013-12-03 20:03:57 6083 2
原创 leetcode:Reverse Nodes in k-Group(以k为循环节反转链表)【面试算法题】
题目: 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 then left-out nodes in the end should remain
2013-12-02 23:08:39 2276
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人