随笔分类 - 面试题
摘要:In an extremely rough and simplified sketch, assuming the simplest possibleHTTP request, no proxies and IPv4 (this would work similarly fo...
阅读全文
摘要: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) ...
阅读全文
摘要:转自: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 ...
阅读全文
摘要:转载自:http://stackoverflow.com/questions/9192309/the-main-difference-between-java-cC++ supports pointers whereas Java does not pointers. But when many ...
阅读全文
摘要:1packagepractice;2//http://introcs.cs.princeton.edu/java/92symbolic/Polynomial.java.html3/************************************************************...
阅读全文
摘要:序列前9项为:0, 1, 1, 2, 3, 5, 8, 13, 21 要注意非递归的话就是那一个变量帮助存储当前下一项的值,然后依次挪动两个指针往下即可注意如果n太大 会溢出 1publicstaticlongfib(intn){2if(n<=1)3returnn;4else5returnfib(n...
阅读全文
摘要:转载自:http://placement.freshersworld.com/power-preparation/technical-interview-preparation/os-interview-questions-23351 1. What is an operating system?A...
阅读全文
摘要:What do Leonard Nimoy, Stana Katic, and RobertDowney Jr. have in common? They all have a Bacon number of 2. The Six Degreesof Kevin Bacon, a game crea...
阅读全文