2014年8月4日

quicksort

摘要: public void quicksort(int[] array, int low, int high){ int i = low; int j = high; if(i>j) return; int pivot = i... 阅读全文

posted @ 2014-08-04 07:05 brave_bo 阅读(147) 评论(0) 推荐(0)

amazon 设计 6 parking lot

摘要: public abstract class Vehicle { protected ParkingSpace pSpace; public abstract boolean park(ParkingLot pLot); public boolean unpark(ParkingLot p... 阅读全文

posted @ 2014-08-04 05:21 brave_bo 阅读(1013) 评论(0) 推荐(0)

why using List list = new ArrayList() better than Arraylist list?

摘要: This is called programming to interface. This will be helpful in case if you wish to move to some other implementation of List in the future. If you w... 阅读全文

posted @ 2014-08-04 04:19 brave_bo 阅读(203) 评论(0) 推荐(0)

导航