02 2016 档案

摘要:问题描述Given an unsorted array, find the maximum difference between the successive elements in its sorted form.Try to solve it in linear time/sp... 阅读全文
posted @ 2016-02-29 21:02 背锅侠 阅读(203) 评论(0) 推荐(0)
摘要:Sort a linked list using insertion sort.解法:Well, life gets difficult pretty soon whenever the same operation on array is transferred to linke... 阅读全文
posted @ 2016-02-29 16:58 背锅侠 阅读(136) 评论(0) 推荐(0)
摘要:Given an integer, write a function to determine if it is a power of three.Follow up: Could you do it without using any loop / recursion?解决方法:... 阅读全文
posted @ 2016-02-13 13:30 背锅侠 阅读(194) 评论(0) 推荐(0)