随笔分类 -  Algorithm

摘要:Introduction:usually,we tend to insert a new value into a container and get a min or max value from the container,if the input frequency and the outpu 阅读全文
posted @ 2017-03-16 11:16 空山皓月 阅读(335) 评论(0) 推荐(0)
摘要:character:as the name implies,this sort method is usaully quicker than other ones. the key part of this sort algorithm is the partition of head and bo 阅读全文
posted @ 2017-03-13 17:10 空山皓月 阅读(204) 评论(0) 推荐(0)
摘要:character:the sort time is proportional to any input array with length of N. Introduction to merge:if two arrays are already sorted,after merge operat 阅读全文
posted @ 2017-03-12 09:03 空山皓月 阅读(160) 评论(0) 推荐(0)
摘要:Reason:when it comes to insert sort,the snail appears,as it just moves forward step by step or even worse.So we need some improvement.the first idea m 阅读全文
posted @ 2017-03-11 12:28 空山皓月 阅读(210) 评论(0) 推荐(0)
摘要:character:the range of sorted array extends as the index steps forward.when the sort process is down,the given array is sorted. firstly we need some s 阅读全文
posted @ 2017-03-09 15:24 空山皓月 阅读(327) 评论(0) 推荐(0)
摘要:character:like the mode you play a deck of playing poker with your friends. as to the realization,I list two methods as below.but firstly we need subs 阅读全文
posted @ 2017-03-09 14:33 空山皓月 阅读(217) 评论(0) 推荐(0)