摘要: 其实真的没想到,自己当初为了帮助自己刷题复习写的博客,能帮助这么多人 大家的消息还有comments我没有一一回复,我表示非常抱歉,因为当找到工作后,就想赶紧换换脑子,休息休息。。就把这个博客荒了,结果没想到一直慌到了现在。。 现在再回头看看,当时自己整理的确实挺用心的,不过那时候leetcode只 阅读全文
posted @ 2017-03-25 14:09 爱做饭的小莹子 阅读(1211) 评论(4) 推荐(7) 编辑
摘要: 转载自:http://www.importnew.com/7099.html HashMap的工作原理是近年来常见的Java面试题。几乎每个Java程序员都知道HashMap,都知道哪里要用HashMap,知道Hashtable和HashMap之间的区别,那么为何这道面试题如此特殊呢?是因为这道题考... 阅读全文
posted @ 2015-01-18 06:02 爱做饭的小莹子 阅读(1230) 评论(0) 推荐(0) 编辑
摘要: “Long is a class. long is a primitive. That means Long can be null, where long can't. Long can go anywhere that takes an Object, long can't (since... 阅读全文
posted @ 2015-01-18 05:39 爱做饭的小莹子 阅读(15486) 评论(0) 推荐(0) 编辑
摘要: In an extremely rough and simplified sketch, assuming the simplest possibleHTTP request, no proxies and IPv4 (this would work similarly fo... 阅读全文
posted @ 2015-01-14 00:05 爱做饭的小莹子 阅读(915) 评论(0) 推荐(0) 编辑
摘要: 题目:Suppose a sorted array is rotated at some pivot unknown to you beforehand.(i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2).Find the minimum elemen... 阅读全文
posted @ 2015-01-12 04:29 爱做饭的小莹子 阅读(3235) 评论(0) 推荐(0) 编辑
摘要: Reference:http://blog.csdn.net/v_july_v/article/details/18312089 http://leetcode.com/2011/07/lowest-common-ancestor-of-a-binary-tree-part-ii.html(1) ... 阅读全文
posted @ 2014-12-04 08:16 爱做饭的小莹子 阅读(2674) 评论(0) 推荐(1) 编辑
摘要: 转自:http://intearview.com/post/2010/04/04/Ranganathgs-interview-at-google-company.aspxYou have 15 horses that run various speeds. You own a race track ... 阅读全文
posted @ 2014-10-23 04:01 爱做饭的小莹子 阅读(734) 评论(0) 推荐(0) 编辑
摘要: 转载自:http://stackoverflow.com/questions/9192309/the-main-difference-between-java-cC++ supports pointers whereas Java does not pointers. But when many ... 阅读全文
posted @ 2014-10-20 11:09 爱做饭的小莹子 阅读(758) 评论(0) 推荐(0) 编辑
摘要: The Utopian tree goes through 2 cycles of growth every year. The first growth cycle occurs during the monsoon, when it doubles in height. ... 阅读全文
posted @ 2014-10-04 11:31 爱做饭的小莹子 阅读(861) 评论(0) 推荐(0) 编辑
摘要: 1packagepractice;2//http://introcs.cs.princeton.edu/java/92symbolic/Polynomial.java.html3/************************************************************... 阅读全文
posted @ 2014-09-30 02:05 爱做饭的小莹子 阅读(2453) 评论(0) 推荐(0) 编辑