10 2015 档案

摘要:int curInc;HashMap incMap;Stack stack;public SuperStack() { this.curInc = 0; this.incMap = new HashMap(); this.stack = new Stack();} p... 阅读全文
posted @ 2015-10-25 02:23 airforce 阅读(360) 评论(0) 推荐(0)
摘要:Problem:Then-queens puzzle is the problem of placingnqueens on ann×nchessboard such that no two queens attack each other.Given an integern, return all... 阅读全文
posted @ 2015-10-02 04:42 airforce 阅读(203) 评论(0) 推荐(0)
摘要:Problem:Find thekth largest element in an unsorted array. Note that it is the kth largest element in the sorted order, not the kth distinct element.Fo... 阅读全文
posted @ 2015-10-01 08:23 airforce 阅读(220) 评论(0) 推荐(0)