Dec. 5, 2016
Julia watched the videos over 3 times.
She likes to take down some notes, and then, continue to do some researches on some ideas:
1. How Companies Evaluate Technical Interviews
2. How to Approach Behavior Questions
3. 7 Steps to Solve Algorithm Problems
1. Listen
Do you use every detail?
2. Example
big, no special case
3. Brute Force
Better to have a brute force than nothing at all
4. Optimize
5. Walk through your algorithm
6. Code
Whiteboard:
- write straight
- use space wisely
Whiteboard or computer:
- Coding style matters
- Modularize
(before, not after!)
void doSomething(a, b){
}
7. Test
1. Analyse-> think about each line
-> Double check things that look wierd
1. Use test cases
- small test-case first
- edge cases
- big test cases
Remember
1. think as you test -> don't be a bot!
4. 3 Algorithms Strategies
1. B. U. D.
B - Bottlenecks
U - unnecessary work
D - Duplicate work
2. Space/ Time Tradeoffs
3. D. I. Y.
Do it yourself
Blog reading:
https://www.bloomberg.com/graphics/2015-cheatsheets/
From January 2015, she started to practice leetcode questions; she trains herself to stay focus, develops "muscle" memory when she practices those questions one by one. 2015年初, Julia开始参与做Leetcode, 开通自己第一个博客. 刷Leet code的题目, 她看了很多的代码, 每个人那学一点, 也开通Github, 发表自己的代码, 尝试写自己的一些体会. She learns from her favorite sports – tennis, 10,000 serves practice builds up good memory for a great serve. Just keep going. Hard work beats talent when talent fails to work hard.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment