Friday, April 7, 2017

Study one user a time

April 7, 2017

Introduction



Julia could not believe that she had chance to communicate with a most talent programmer in the world through mocking experience. Because Julia was interviewed first, she has no idea the peer's background. She observed how peek performance of mocking is, well structure and complete process. Brainstorming, coding, test case, etc. Every step is well performed.

Julia knew that she has to stay humble, if top performer can stand to mock interview her, she is better to serve others as well. She learns an algorithm through mocking experience. She needs to work on finding optimal solution in the first 10 minutes of time.

Julia likes to learn algorithm first, reading is a good choice.

Algorithms to study 


Today she plans to study one leetcode user: d40a.

Julia, work on those algorithms, think about each one for 10 minutes, and hold on to find out answer; come back later to think again. Schedule one week to think about those problems, sit it one week, and see if there is any new idea coming out.

Take your time and let yourself to figure out algorithms, even it is slow.

Having some algorithms in every day to think about, ....

What problems he worked on:

Leetcode 232 - basic calculator

Leetcode 337 - Missing Number

Leetcode 354 Peeking iterator

Leetcode 505 - mini parser

Leetcode 513 - Perfect rectangle

Read another top player's thought process:

Leetcode 389 - best time to buy and sell stock with cooldown

Pepsi's thought process about Leetcode 389

Actionable Items


Read 10 leetcode algorithms, try to understand the algorithm, think about a week. Do not look up discussion, come out your own ideas.


No comments:

Post a Comment