Implementations of common algorithms and data structures used for competitive programming.
The algorithms and data structures can easily be pasted into a document using the included Vim plugin.
Use vim-plug or any Vim plugin manager of your choice. The plugin fzf is a requirement.
With vim-plug:
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
Plug 'jakobkogler/Algorithm-DataStructures'
The plugin defines a single command AlgDS
.
It can be mapped like this:
nmap <leader>alg :AlgDS<CR>
WTFPL