Skip to content

Commit 4c37b06

Browse files
fabriziocuccidonnemartin
authored andcommitted
Fix typo in Design Pastebin.com exercise (#210)
1 parent e472695 commit 4c37b06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

solutions/system_design/pastebin/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ To generate the unique url, we could:
126126
* Alternatively, we could also take the MD5 hash of randomly-generated data
127127
* [**Base 62**](https://www.kerstner.at/2012/07/shortening-strings-using-base-62-encoding/) encode the MD5 hash
128128
* Base 62 encodes to `[a-zA-Z0-9]` which works well for urls, eliminating the need for escaping special characters
129-
* There is only one hash result for the original input and and Base 62 is deterministic (no randomness involved)
129+
* There is only one hash result for the original input and Base 62 is deterministic (no randomness involved)
130130
* Base 64 is another popular encoding but provides issues for urls because of the additional `+` and `/` characters
131131
* The following [Base 62 pseudocode](http://stackoverflow.com/questions/742013/how-to-code-a-url-shortener) runs in O(k) time where k is the number of digits = 7:
132132

0 commit comments

Comments
 (0)