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...
阅读全文
摘要:Sort a linked list using insertion sort.解法:Well, life gets difficult pretty soon whenever the same operation on array is transferred to linke...
阅读全文
摘要: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?解决方法:...
阅读全文

浙公网安备 33010602011771号