摘要: Reverse Nodes in k-Group 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 n 阅读全文
posted @ 2016-12-05 23:16 WillWu 阅读(176) 评论(0) 推荐(0) 编辑
摘要: Swap Nodes in Pairs 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 a 阅读全文
posted @ 2016-12-05 20:42 WillWu 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 经常对一幅图像进行旋转操作,OpenCV中提供了很方便易用的仿射变换函数warpAffine, 通过getRotationMatrix2D可以得到放射变换矩阵(矩阵大小2x3) 效果 原图 旋转后的图片 阅读全文
posted @ 2016-12-05 13:59 WillWu 阅读(16206) 评论(2) 推荐(2) 编辑