Skip to content

Instantly share code, notes, and snippets.

@sheppas
sheppas / web-data-flow.md
Last active February 14, 2022 17:24
What Happens When...

Background

A popular question in first interviews like on Launch Day is "What happens when I type [website address] and click enter?" It's a good conversation that can take up a good duration of time and show your technical communication chops. It's also very good to know what the process is like to get something like wikipedia.com on our screens.

Learning Objective

Describe dataflow in a Fullstack application

What happens when we type wikipedia.com in our address bar and press enter

Strategy Guide and Solution

@sheppas
sheppas / Deepest-BST-Node.md
Last active February 7, 2022 21:33
Deepest Binary Search Tree Node

Tree Traversal


Learning Objective

Apply recursion to BSTs, understand recursive structure of BSTs


@sheppas
sheppas / Fandango-II.md
Created February 3, 2022 23:03
Fandango II

Background

System Design questions tests the candidate ability to be able to create a system based on a user prompt. A user prompt is either a client telling you what they want or a team making an assumption of what a potential user might want in an idea. What makes this different from an OOP Design question is that this focuses less on the application components themselves and more of the flow of data and how we scale that data based on our understanding of the various trade offs as we modify our system.

Learning Objective

Understand the flow of data and how to scale.

Design Fandango II

User prompt: I want to be able to book movie theater seats online.

@sheppas
sheppas / TransitTracker.md
Created January 31, 2022 21:14
Transit Tracker

Design a Public Transit Tracker

OOP Design is a good exercise on how to split up our system into different components. It's like React Components before they were cool but instead of React Components, we separate our system into different objects/classes. The main difficulty with problems like these are that they are opened ended and force you to think abstractly and creatively. One of the other main goals of this exercise is to be able to draw out diagrams to help with communicating abstract ideas before they are implemented in code. These problems are language agnostic.

Learning Objective

  • To understand and design activity diagrams and class diagrams.

The prompt

@sheppas
sheppas / MergeTwoLinkList.md
Last active January 18, 2022 23:54
Merge Two Linked Lists