- How to Succeed in a System Design Interview
- System Design Cheatsheet
- How to choose a database in 2018
- https://github.com/dwyl/how-to-choose-a-database
- Video: System Design Introduction For Interview
- Video: Intro to Architecture and Systems Design Interviews
- Video playlist: System Design
- Book Cracking the Coding Interview (has an excellent section that will get you well-prepared for these types interviews, as well as many others)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
/* eslint-disable no-console */ | |
const regularFunction = () => { | |
const a = Math.random() | |
const b = Math.random() | |
const c = Math.random() | |
return a + b + c | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Usage: | |
# echo 'hello!' | ./read-stdin-to-variable.sh | |
# https://stackoverflow.com/a/15269128 | |
STD_IN=$(</dev/stdin) | |
echo "Echoing stdin:" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" .config/nvim/init.vim | |
set runtimepath^=~/.vim runtimepath+=~/.vim/after | |
let &packpath = &runtimepath | |
source ~/.vimrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run \ | |
# Set the current host working directory as the container's /tmp so the container can access it | |
-v $(pwd):/tmp \ | |
# Mount your home directory as the Docker root user's home directory to inherit any host dotfiles | |
-v $HOME:/root \ | |
# (Effectively) set the host's working directory as the container's working directory | |
-w /tmp \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source "http://rubygems.org" | |
gem "itunes-library" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class BucketNode { | |
_previous = null; | |
_next = null; | |
constructor (key, value) { | |
this.key = key; | |
this.value = value; | |
} | |
} |
- What are your biggest goals/initiatives right now?
- What are some of your biggest risks for the next year?
- What is your approach to managing technical debt?
- How is service availability managed and monitored? Is there overnight on-call?
- How do you manage sustainable pacing for the team during high-stress periods?
- How are engineering-focused initiatives balanced against business-focused initiatives?
- What is a competency you’re particularly keen on building here?
- What's your favorite thing about working at this company? What's something you hope to help improve?
- What is something that is really exciting you now, either in the industry or at this company?
- What process or compliance initiatives are you working towards or operating in?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const points = ["v1x", "v1y", "v1z", "v2x", "v2y", "v2z", "v3x", "v3y", "v3z"]; | |
class Trie { | |
children = {}; | |
insert(triangle, order = 0) { | |
if (order === points.length) { | |
return; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"v1":{"x":0.360463,"y":0,"z":2.525},"v2":{"x":0,"y":0,"z":2.98309},"v3":{"x":0.360463,"y":0.2,"z":2.525}},{"v1":{"x":0,"y":0,"z":2.98309},"v2":{"x":0,"y":0.2,"z":2.98309},"v3":{"x":0.360463,"y":0.2,"z":2.525}},{"v1":{"x":0,"y":0,"z":2.98309},"v2":{"x":0.128412,"y":0,"z":3},"v3":{"x":0,"y":0.2,"z":2.98309}},{"v1":{"x":0.128412,"y":0,"z":3},"v2":{"x":0.128412,"y":0.2,"z":3},"v3":{"x":0,"y":0.2,"z":2.98309}},{"v1":{"x":0.516641,"y":0,"z":2.94889},"v2":{"x":0.516641,"y":0.2,"z":2.94889},"v3":{"x":0.128412,"y":0,"z":3}},{"v1":{"x":0.128412,"y":0,"z":3},"v2":{"x":0.516641,"y":0.2,"z":2.94889},"v3":{"x":0.128412,"y":0.2,"z":3}},{"v1":{"x":0.878412,"y":0,"z":2.79904},"v2":{"x":0.878412,"y":0.2,"z":2.79904},"v3":{"x":0.516641,"y":0,"z":2.94889}},{"v1":{"x":0.516641,"y":0,"z":2.94889},"v2":{"x":0.878412,"y":0.2,"z":2.79904},"v3":{"x":0.516641,"y":0.2,"z":2.94889}},{"v1":{"x":1.18907,"y":0,"z":2.56066},"v2":{"x":1.18907,"y":0.2,"z":2.56066},"v3":{"x":0.878412,"y":0,"z":2.79904}},{"v1":{"x":0.878412,"y":0,"z":2.79904}, |