systemdesignone Profile Banner
Neo Kim Profile
Neo Kim

@systemdesignone

Followers
21K
Following
4K
Statuses
6K

I Teach You System Design • Writes System Design Newsletter

Join 100K+ People →
Joined April 2023
Don't wanna be here? Send us removal request.
@systemdesignone
Neo Kim
2 months
Give me 2 minutes, and I'll teach you how Uber computes ETA (not joking): • They represent the physical map as a graph • They compute ETA by finding the shortest path in a directed weighted graph • They don't use Dijkstra’s algorithm because it won't scale with O(n*logn) time complexity • They partition the graph and then precompute the best path within each partition • They reduce the time complexity from O(n^2) to O(n) by partitioning graph • They populate the edge weights of the graph with traffic information • They do map matching to find accurate ETA • They use the Kalman filter and Viterbi algorithm for map matching —— 👋 PS - I wrote an article with visuals of this case study in my newsletter: →
7
23
246
@systemdesignone
Neo Kim
2 hours
RT @systemdesignone: System Design Interview's RED FLAG list. If you’re making these 5 mistakes… WE NEED TO TALK 😂
0
26
0
@systemdesignone
Neo Kim
3 hours
@_jaydeepkarale probably both? it depends.
1
0
0
@systemdesignone
Neo Kim
3 hours
@Dhanush_Nehru thanks a lot
0
0
0
@systemdesignone
Neo Kim
3 hours
@Abh1navv good for us
0
0
1
@systemdesignone
Neo Kim
5 hours
@petarivanovv9 yes, this is underrated and often overseen
0
0
0
@systemdesignone
Neo Kim
5 hours
@dmokafa thank you for sharing, Daniel.
0
0
1
@systemdesignone
Neo Kim
5 hours
@swapnakpanda true; I think rephrasing what the interviewer can make things simpler.
0
0
0
@systemdesignone
Neo Kim
5 hours
@InterviewsChat exactly, the best approach is to avoid common mistakes and practice more with mocks.
0
0
1
@systemdesignone
Neo Kim
5 hours
@techyoutbe hey, thank you
0
0
1
@systemdesignone
Neo Kim
6 hours
👋 PS - Join 100,000 engineers and get the powerful system design template (it's free):
0
0
3
@systemdesignone
Neo Kim
7 hours
@svpino AI can't still solve Captcha on most sites.
0
0
4
@systemdesignone
Neo Kim
7 hours
@RaulJuncoV thanks, I like to start every answer with "it depends."
0
0
3
@systemdesignone
Neo Kim
7 hours
@swapnakpanda As someone who loves python, thank you
1
0
2