摘要:
(referrence: GeeksforGeeks)Insertion sort is a simple sorting algorithm that works the way we sort playing cards in our hands.Algorithm// Sort an arr[... 阅读全文
posted @ 2015-10-06 09:04
树獭君
阅读(210)
评论(0)
推荐(0)
摘要:
Today, Yelp held a tech talk in Columbia University about the data warehouse adopted by Yelp.Yelp used Amazon Redshift as data warehouse.There are sev... 阅读全文
posted @ 2015-10-06 08:24
树獭君
阅读(275)
评论(0)
推荐(0)
摘要:
referrence: GeeksforGeeksBubble sortis the simplest sorting algorithm that works by repeatedly swapping the adjacent elements if they are in wrong ord... 阅读全文
posted @ 2015-10-06 05:27
树獭君
阅读(134)
评论(0)
推荐(0)
摘要:
referrence: GeeksforGeeksThe selection sort algorithm sorts an array by repeatedly finding the minimum element (considering ascending order)from unsor... 阅读全文
posted @ 2015-10-06 05:13
树獭君
阅读(327)
评论(0)
推荐(0)
摘要:
之前一直用网易云音乐听歌,后来因为沸沸扬扬的 XCode 注入病毒事件,就把它卸了(无奈脸=。=)对比国内其它音乐App,私心觉得网易云音乐还是不错的。没有很多花里胡哨的装饰,里面的歌单做的也还算精致。每首歌还有评论功能,码累了就去翻翻评论(是有多无聊哈哈)正是闹歌荒的时候,小伙伴推荐了这个App ... 阅读全文
posted @ 2015-10-06 04:53
树獭君
阅读(530)
评论(0)
推荐(1)
摘要:
Time complexity O(log(n)). When the question requires O(log(n)) time complexity, we always need to think whether it can be solved by binary search.For... 阅读全文
posted @ 2015-10-06 04:34
树獭君
阅读(186)
评论(0)
推荐(0)

浙公网安备 33010602011771号