下面的题是供大家查漏补缺用的,真正的把这些题搞懂了,才能“以不变应万变”。 回答问题的时候能联系做过项目的例子是最好的,有的问题后面我已经补充联系到项目中的对应的案例了。 1、简述 private、 protected、 public、 internal 修饰符的访问权限。 private : 私有 ...
分类:
其他好文 时间:
2016-12-21 23:43:16
阅读次数:
322
Write an algorithm which computes the number of trailing zeros in n factorial. Have you met this question in a real interview? Yes Write an algorithm ...
分类:
其他好文 时间:
2016-12-20 00:23:16
阅读次数:
131
比赛链接:http://hihocoder.com/contest/hihointerview27/problems A.Big Plus 模拟水 B.Interval Coverage 初始的目标是[x,y],结束的目标应当是[y,y]: 因为排好序了的,所以先二分,找到一个区间[l,r],使得r ...
分类:
编程语言 时间:
2016-12-17 14:17:02
阅读次数:
253
这两本放在一起看吧。当然了,我觉得Spark上面的实践其实是非常棒的。有另一个系列文章讨论了Spark。 /Users/baidu/Documents/Data/Interview/机器学习-数据挖掘/《机器学习_周志华.pdf》 一共442页。能不能这个周末先囫囵吞枣看完呢。哈哈哈。 P1 一般用 ...
分类:
编程语言 时间:
2016-12-16 23:16:13
阅读次数:
391
Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining. ...
分类:
移动开发 时间:
2016-12-13 07:44:18
阅读次数:
256
尚德 Q:SDWebimage源代码,cell重用.先请求出来小头像,再请求出大头像?怎么处理? SDWebImageDownloader 直接给cell设置图片会怎样 A:图片URL相同,比较nsdata Q:网络请求更换baseURL怎么处理的?论坛,pc,APP不同的baseURL接口 A: ...
分类:
其他好文 时间:
2016-12-04 20:16:02
阅读次数:
177
Sort a linked list in O(n log n) time using constant space complexity. Have you met this question in a real interview? Yes Sort a linked list in O(n l ...
分类:
编程语言 时间:
2016-12-03 02:10:57
阅读次数:
466
下载了第五版:/Users/baidu/Documents/Data/Interview/算法与数据结构/《CareerCup+Top+150+Questions+5th.pdf》 参考这篇文章给出的分类: http://www.cnblogs.com/wei-li/p/3318929.html#C ...
分类:
其他好文 时间:
2016-12-02 18:30:13
阅读次数:
192
2.2 链表中倒数第k个结点 输入一个链表,输出该链表中倒数第k个结点。 思路:快慢指针(error: 判断是否有可行解,否则返回null, while, if 后加空格) 1 /* 2 public class ListNode { 3 int val; 4 ListNode next = nul ...
分类:
其他好文 时间:
2016-11-28 01:12:00
阅读次数:
237
第一章:数组与字符串 1 数组与字符串 请实现一个算法,确定一个字符串的所有字符是否全都不同。这里我们要求不允许使用额外的存储结构。 给定一个string iniString,请返回一个bool值,True代表所有字符全都不同,False代表存在相同的字符。保证字符串中的字符为ASCII字符。字符串 ...
分类:
其他好文 时间:
2016-11-27 19:58:05
阅读次数:
195