查看: 4429| 回复: 16
跳转到指定楼层
上一主题 下一主题
收起左侧

寒假刷题打卡

全局:

注册一亩三分地论坛,查看更多干货!

您需要 登录 才可以下载或查看附件。没有帐号?注册账号

x
本帖最后由 续命神哈 于 2017-12-23 09:22 编辑

秋招不顺,圣诞假期准备坚持刷题并且补C++ Java 和 Database 的基础,以备战狗家电面及春招。每天目标
  • 4-5题/天
  • 1h公开课
  • 1h语言基础(C++ primer, Fluent Python, Effective Java)
  • 锻炼30min+
  • 日期:12/23 - 1/20





评分

参与人数 4大米 +26 收起 理由
BZydNpRW + 3 很有用的信息!
nagato + 3 给你点个赞!
ynys + 10 加油
carry12345678 + 10 给你点个赞!

查看全部评分


上一篇:伯克利刷题求队友
下一篇:【战拖】准备春招的学习贴
推荐
 楼主| 续命神哈 2018-1-7 14:23:31 | 只看该作者
全局:
本帖最后由 续命神哈 于 2018-1-8 02:16 编辑

元旦休息到3号,这几天的进度update一下
Binary Index Tree & Segment Tree   
    同学写的笔记

Java GC
    怎么在面试时回答Java垃圾回收机制(GC)相关问题? - 刘成的回答 - 知乎


Binary Search

    LC69 & 367 Sqrt. 还可以了解下牛顿迭代法
    LC167 最简单的2sum
    LC81 deal with duplicate
    LC287 既可以binary search,还有一种类似detect cycle的解法

Trie
    据说FB常考
    LC208 implement trie
    LC79 & 212 Word Search. 好题. DFS + Trie

Decode & Encode
    91 394 & 471; LC471在去年的面经中看到,变态的DP,如果要优化还可以考KMP...最优解好像是(str + str).indexOf(str)去检查str是否由某些substr重复得到

此外LC355. Design Twitter. 在一个群里看到一位quant大佬的个人网站,复习了怎么证明中心极限定理,莫斯科国立物理PhD + Courant数学PhD....

回复

使用道具 举报

推荐
 楼主| 续命神哈 2017-12-23 10:49:13 | 只看该作者
全局:
本帖最后由 续命神哈 于 2017-12-23 12:41 编辑

12/22
LC215. Quick Select, O(N)
LC214. Brute Force, 最后一个case ETL; KMP s+'#'+s[::-1]; Recursive
LC207. Detect Cycle
LC210. topological sort

Java
default method in interface: implementation of that method can be provided in the same interface, without affecting the classes implementing the interface

arraylist vs linkedlist:  dynamically re-sizing array vs doubly-linked list.
linkedlist:
get(index) O(n/4);    add(elt) O(1);    add(index, elt) O(n/4)    remove(index) O(n/4)
arraylist:
get(index) O(1);    add(elt) O(1);    add(index, elt) O(n/2)    remove(index) O(n/2)


回复

使用道具 举报

推荐
 楼主| 续命神哈 2017-12-24 00:32:31 | 只看该作者
全局:
本帖最后由 续命神哈 于 2017-12-24 11:30 编辑

12/23
LC394 stack
LC267 backtracking; transform to solve permutation II
LC479 math
LC5 DP or iterative
LC47 Permutation II
LC669 recursive

Java
Overriding vs Overloading
Overrrinding: two methods with same method name and parameters. One method is in parent class, the other in child class
Overloading: same method name but different parameters
Polymorphism applies to overriding, not overloading; Overriding is a run-time concept while overloading is a compile concept
Constructor
not inherited but start with a call to one of the super class's constructors





补充内容 (2017-12-24 12:39):
<a href="http://igstan.ro/posts/2011-09-09-how-inheritance-violates-encapsulation.html" target="_blank">Inheritance breaks encapsulation</a>

补充内容 (2017-12-24 12:53):
Casting Poodle largePoodle = (Poodle) maxDog(frank, frankSr)

补充内容 (2017-12-24 13:07):
Higher Order Function before Java 7 by abstract method in interface
回复

使用道具 举报

🔗
Frankford 2017-12-24 11:04:13 | 只看该作者
全局:
我也开始花钱在UDEMY 上学课。找了好几个月工作,很不顺。结果也没复习旧的,没学新的。终于觉得这样下去要完蛋。今天开始看VEDIO学习了。人生好难啊。

评分

参与人数 1大米 +10 收起 理由
carry12345678 + 10 加油呀,鼓励一下

查看全部评分

回复

使用道具 举报

🔗
Frankford 2017-12-24 11:04:24 | 只看该作者
全局:
我也开始花钱在UDEMY 上学课。找了好几个月工作,很不顺。结果也没复习旧的,没学新的。终于觉得这样下去要完蛋。今天开始看VEDIO学习了。人生好难啊。
回复

使用道具 举报

🔗
 楼主| 续命神哈 2017-12-25 13:43:18 | 只看该作者
全局:
12/24
LC697
LC205
LC131 最优解值得参考
LC680
LC409
LC266
easy题做起来没什么感想....
回复

使用道具 举报

🔗
iwantanintern 2017-12-25 20:55:41 | 只看该作者
全局:
楼主这强度够大的
回复

使用道具 举报

🔗
 楼主| 续命神哈 2017-12-26 08:53:56 | 只看该作者
全局:
12/25
LC65 valid number, many testcases, best solution shows how to catch float number, educational
LC318 bit manipulation, very good problem, ord() vs chr()
LC734
LC737 Union Find 参考LC323
回复

使用道具 举报

🔗
 楼主| 续命神哈 2017-12-27 10:55:00 | 只看该作者
全局:
本帖最后由 续命神哈 于 2017-12-27 11:11 编辑

LC695 equal to Number of Island
LC694  how to depict shape of islands
LC720 ...没做出来真是蠢 题目不错
LC521 烂题
LC594

Python
nonlocal vs global
nonlocal refer to previously bound variables in the nearest enclosing scope excluding globals


Java
autoboxing(auto-unboxing)
implicit conversions between wrapper/primitives
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册账号
隐私提醒:
  • ☑ 禁止发布广告,拉群,贴个人联系方式:找人请去🔗同学同事飞友,拉群请去🔗拉群结伴,广告请去🔗跳蚤市场,和 🔗租房广告|找室友
  • ☑ 论坛内容在发帖 30 分钟内可以编辑,过后则不能删帖。为防止被骚扰甚至人肉,不要公开留微信等联系方式,如有需求请以论坛私信方式发送。
  • ☑ 干货版块可免费使用 🔗超级匿名:面经(美国面经、中国面经、数科面经、PM面经),抖包袱(美国、中国)和录取汇报、定位选校版
  • ☑ 查阅全站 🔗各种匿名方法

本版积分规则

>
快速回复 返回顶部 返回列表