mirror of
https://github.com/donnemartin/system-design-primer.git
synced 2025-12-15 17:38:56 +03:00
Update README.md files across various system design solutions to clarify to ask about expected amount, style, and purpose of code to be written during interviews.
This commit is contained in:
@@ -58,7 +58,7 @@ Handy conversion guide:
|
||||
|
||||
### Use case: User searches for someone and sees the shortest path to the searched person
|
||||
|
||||
**Clarify with your interviewer how much code you are expected to write**.
|
||||
**Clarify with your interviewer the expected amount, style, and purpose of the code you should write**.
|
||||
|
||||
Without the constraint of millions of users (vertices) and billions of friend relationships (edges), we could solve this unweighted shortest path task with a general BFS approach:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user