Skip to content

Commit 0da5588

Browse files
committed
Fix typos
1 parent 7cfff0d commit 0da5588

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -248,11 +248,11 @@ Now let's begin our journey!
248248
- Each position of the hash table, often called a slot, can hold an item and is named by an integer value starting at 0.
249249
- The mapping between an item and the slot where that item belongs in the hash table is called the **hash function**.
250250
- **Remainder method** takes an item and divides it by the table size, returning the remainder as its hash value (i.e. `h(item) = item % 11`)
251-
- **load factor** is the number of items devided by the table size
251+
- **load factor** is the number of items divided by the table size
252252
- **collision** refers to the situation that multiple items have the same hash value
253253
- **folding method** for constructing hash functions begins by dividing the item into equal-size pieces (the last piece may not be of equal size). These pieces are then added together to give the resulting hash value.
254254
- **mid-square method** first squares the item, and then extract some portion of the resulting digits. For example, 44^2 = 1936, extract middle two digits 93, then perform remainder step (93%11=5).
255-
- **Collision Resolution** is the process to systemacticly place the second item in the hash table when two items hash to the same slot.
255+
- **Collision Resolution** is the process to systematically place the second item in the hash table when two items hash to the same slot.
256256
- **Open addressing (linear probing):** sequentially find the next open slot or address in the hash table
257257
- A disadvantage to linear probing is the tendency for clustering; items become clustered in the table.
258258
- **Rehashing** is one way to deal with clustering, which is to skip the slot when looking sequentially for the next open slot, thereby more evenly distributing the items that have caused collisions.
@@ -589,7 +589,7 @@ Here is a template I use for the system design interview:
589589
- Load Balancer/Reverse Proxy
590590
- LB types
591591
- LB algorithms
592-
- Application layer scaling (Microservices, Service Discovery, Service Mesh)
592+
- Application layer scaling (Microservice, Service Discovery, Service Mesh)
593593
- Database (RDBMS vs NoSQL)
594594
- RDBMS:
595595
- Leader-follower, Multi-leader, Leaderless, Federation, Sharding, Denormalization, SQL Tuning
@@ -803,7 +803,7 @@ Follow these steps:
803803
- Frameworks (Django, Spring, etc) and their versions (from the versions you'll know how up-to-date their tech stack is )
804804
- development tools (IDEs, OS, Cloud providers, etc)
805805
- Generic questions
806-
- What is a day like in your company (this may seem too generic, but is quite important). For example, what's the sprint like (do you have sprints), do you have standups, how many working hours per week, when do you start your day, and much more. Pick those that you are most interested in
806+
- What is a day like in your company (this may seem too generic, but is quite important). For example, what's the sprint like (do you have sprints), do you have standup (frequency and time), how many working hours per week, when do you start your day, and much more. Pick those that you are most interested in
807807
- What's the team like, what's the tech stack for the team, how many BE/FE/QA etc
808808
- These kinda questions show that you are really interested in the job and team. You'll need to know this info anyway if there will be an offer and you choose to accept it
809809
- Interview related questions

SystemDesign/RDBMS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
- Postgres:
99
- object-relational database
1010
- open source, easy to install, highly extensible
11-
- implements Multiversion Concurrency Control (MVCC) without read locks
11+
- implements Multi-version Concurrency Control (MVCC) without read locks
1212
- protecting data integrity at the transaction level
1313
- MySQL
1414
- purely relational database

SystemDesign/scale_web_app.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ MVC Design:
2020

2121
- **Health Checks** make sure that our actual server is still up and running
2222
- **Routing** forwards a request to the right endpoint
23-
- **Authentication** makes sure that a user is actually permissioned to access the server
23+
- **Authentication** makes sure that a user is actually permitted to access the server
2424
- **Firewalling** ensure that users only have access to the parts of our network they are allowed to use ... and more
2525

2626
## 3. Add a Load Balancer with multiple servers
@@ -48,7 +48,7 @@ How to ensure data consistency:
4848

4949
![06-cdn-700.png](https://arcentry.com/blog/scaling-webapps-for-newbs-and-non-techies/06-cdn-700.png)
5050

51-
- cahce the static content
51+
- cache the static content
5252

5353
## 7. Message Queues
5454

Templates/quick_sort.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Merge Sort
1+
# Quick Sort
22

33
## Implementation:
44

@@ -55,7 +55,7 @@ class Solution:
5555
"""
5656
Quick sort with 3 partition
5757
The main idea is that we still have the same pivot point, but
58-
instead of comparing with just smaller and greated or equal,
58+
instead of comparing with just smaller and greater or equal,
5959
we take out the equal case and process it individually.
6060
a[lo,lt-1] < pivot
6161
a[lt, i-1] = pivot

0 commit comments

Comments
 (0)