๐Tech Interview Cheatsheet
Basic stuff to remember at a generic tech interview
Security & Encryption
How are passwords typically stored for e.g. a basic webshop? Hashed
Difference between Encryption & Hashing? Encryption is reversible, hashing is a one-way function. So hashed data cannot be translated back to its original state.
What common types of encryption are there?
Symmetric Encryption: The same password is used to encrypt and decrypt the data
Asymmetric Encryption: A public key is used to encrypt the data and a private key is used to decrypt it. This allows e.g. lots of ppl to send encrypted mail to a single person that only that single person can decrypt using their private key.
What are common algorithms used today?
AES (symmetric)
RSA, ECC, Diffie-Helman exchange method, TLS/SSL (asymmetric)
UML
Class Diagram Arrows
System Design
Basic Workflow for a system design exercise
Clarify functional and non functional requirements
What are the use cases (Who is using it? How are they using it?)
How much traffic is there?
Is the traffic/load the same all the time or does it change? Have peaks?
Are there any other special system requirements?
Create a high level architecture design
Sketch important components
Load balancer, DB, caching?
List services required
Data storage? SQL, NOSQL? Cache?
Component design
Design specific components of the system + their APIs
Last updated