摘要: Given an array of n objects with k different colors (numbered from 1 to k), sort them so that objects of the same color are adjacent, with the colors 阅读全文
posted @ 2017-04-06 05:15 璨璨要好好学习 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2017-04-06 02:22 璨璨要好好学习 阅读(106) 评论(0) 推荐(0) 编辑