Top HN posts
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.
If programming is more than just a means of getting things done for you, then Common Lisp is for you!
Table of Contents
This file contains hidden or 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
| let mapleader="," | |
| call plug#begin() | |
| set rtp+=~/.fzf | |
| " colorschemes | |
| Plug 'ayu-theme/ayu-vim' | |
| " syntax helpers | |
| Plug 'jparise/vim-graphql' |
This file contains hidden or 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
| # Readline has a bunch of special-case bindings just for vi mode, which means we | |
| # can't just add Kakoune-style bindings; instead, we must build Kakoune-style | |
| # bindings from combinations of other (usually emacs-based) commands. BUT | |
| # Readline doesn't support binding a key to a sequence of commands; instead, | |
| # we bind commands to a likely-unused portion of the keymap, and then bind | |
| # our actual keys to sequences of those unusual keys. | |
| "\C-a\C-xm": set-mark | |
| "\C-a\C-xh": backward-char | |
| "\C-a\C-xl": forward-char | |
| "\C-a\C-xw": forward-word |
This file contains hidden or 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
| from __future__ import print_function | |
| import sys | |
| import argparse | |
| import os.path | |
| import textwrap | |
| import re | |
| from pprint import pprint | |
| import xml.etree.ElementTree as ET |
This file contains hidden or 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
| " Don't try to be vi compatible | |
| set nocompatible | |
| " Helps force plugins to load correctly when it is turned back on below | |
| filetype off | |
| " TODO: Load plugins here (pathogen or vundle) | |
| " Turn on syntax highlighting | |
| syntax on |
This file contains hidden or 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
| # .zshrc | |
| # (copyleft) 2012 by Felix Ruess | |
| # | |
| # ---[ System settings ]------------------------------------------------ | |
| limit -s coredumpsize 0 | |
| umask 0027 | |
NewerOlder