Skip to content

Instantly share code, notes, and snippets.

View tazad09's full-sized avatar

Tasnim Azad tazad09

View GitHub Profile

Sending Data to the Server

Prior art by HRNYC15 grad, Mandy Mak

An HTTP request can carry data from the client to the server in many different ways. Each of the following sections illustrate how that data can be accessed on the server, with examples of client side code which attaches the data. Most can be used in combination with each other.

The data is always text and will need to be parsed correctly depending on its format. The following examples show you Express.js request handlers, followed by example axios.js client requests.

URL Path

@tazad09
tazad09 / grokking_to_leetcode.md
Created August 25, 2022 21:13 — forked from tykurtz/grokking_to_leetcode.md
Grokking the coding interview equivalent leetcode problems

GROKKING NOTES

I liked the way Grokking the coding interview organized problems into learnable patterns. However, the course is expensive and the majority of the time the problems are copy-pasted from leetcode. As the explanations on leetcode are usually just as good, the course really boils down to being a glorified curated list of leetcode problems.

So below I made a list of leetcode problems that are as close to grokking problems as possible.

Pattern: Sliding Window