摘要: Given an array, find the minimum length unsorted subarray. After soring this unsorted subarray, the whole array is sorted. Example, if the input array 阅读全文
posted @ 2017-08-12 13:48 Review->Improve 阅读(191) 评论(0) 推荐(0) 编辑
摘要: Given an array of integers, write a program that cyclically rotates the array by one. Example: given {1,2,3,4,5}, your program should rotate the array 阅读全文
posted @ 2017-08-12 08:01 Review->Improve 阅读(294) 评论(0) 推荐(0) 编辑