Skip to content

Instantly share code, notes, and snippets.

{
"arrowParens": "avoid",
"bracketSpacing": false,
"endOfLine": "lf",
"htmlWhitespaceSensitivity": "css",
"insertPragma": false,
"jsxBracketSameLine": false,
"jsxSingleQuote": false,
"printWidth": 80,
"proseWrap": "always",
@klgilbert
klgilbert / grokking_to_leetcode.md
Created August 5, 2023 00:53 — 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

@klgilbert
klgilbert / Default.xml
Created December 20, 2022 02:16
DataGrip Code Style
<code_scheme name="Default" version="173">
<SqlCodeStyleSettings version="6">
<option name="KEYWORD_CASE" value="2" />
<option name="IDENTIFIER_CASE" value="1" />
<option name="QUERY_EL_LINE" value="101" />
<option name="QUERY_EL_COMMA" value="2" />
<option name="QUERY_ALIGN_ELEMENTS" value="false" />
<option name="SUBQUERY_OPENING" value="1" />
<option name="SUBQUERY_CONTENT" value="2" />
<option name="SUBQUERY_CLOSING" value="2" />
@klgilbert
klgilbert / docker-install.txt
Last active January 20, 2021 22:07
Install Docker Command Line
apt-get update
apt-get upgrade -y
curl -fsSL get.docker.com -o get-docker.sh
CHANNEL=stable sh get-docker.sh
rm get-docker.sh
# Install docker-compose: https://docs.docker.com/compose/install/