Here is the link.
Core features - focus on them first
1. Tweeting
2. Timeline
Two things: your own timeline
- User
- Home
3. Following
Naive solution first
Relational database:
User table, tweets table
Tweets table with three columns:
ID
Content
user
User table
ID
Name
We care about more availability, little less about consistency in small time frame.
Optimized solution
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