摘要: Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have ex 阅读全文
posted @ 2017-03-27 18:50 邱进宝 阅读(178) 评论(0) 推荐(0) 编辑
摘要: HashMap和Hashtable的比较是Java面试中的常见问题,用来考验程序员是否能够正确使用集合类以及是否可以随机应变使用多种思路解决问题。HashMap的工作原理、ArrayList与Vector的比较以及这个问题是有关Java 集合框架的最经典的问题。Hashtable是个过时的集合类,存 阅读全文
posted @ 2017-03-27 17:21 邱进宝 阅读(192) 评论(0) 推荐(0) 编辑