Skip to content

Commit

Permalink
GITBOOK-30: No subject
Browse files Browse the repository at this point in the history
  • Loading branch information
woojiahao authored and gitbook-bot committed Mar 1, 2024
1 parent d638e86 commit 614ac13
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions getting-started/study-plan.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ While it is good if you are "discover" these patterns yourself, having them form

### Notation

* Questions marked with :star: require LeetCode premium
* Questions marked with :triangular\_flag\_on\_post: are problems that I found incredibly tricky and often tapped out
* :star: : requires LeetCode premium
* :triangular\_flag\_on\_post: : problems that I found incredibly tricky and often tapped out

### Duplicate questions

Expand Down
8 changes: 8 additions & 0 deletions other-technical-topics/system-design/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -417,3 +417,11 @@ Distributing database objects across different servers; some tables belong to ce
### What’s the difference between hot and cold storage?

Hot storage refers to data that is accessed frequently or requires fast access while cold storage is used for data rarely needed.

### How do you deal with high frequency user input?

Apply techniques like debouncing. The user input function can be triggered after a period of no-action to avoid repeatedly spamming the backend with requests. Alternatively, the user input function can trigger once and wait for a cooldown period (no-action).

### How does debouncing differ from throttling?

Throttling involves running function at regular intervals while debouncing focuses on creating a cooldown period to avoid creating too many requests.

0 comments on commit 614ac13

Please sign in to comment.