Algorithm-DataStructures
Implementations of common algorithms and data structures used for competitive programming.
Vim plugin
The algorithms and data structures can easily be pasted into a document using the included Vim plugin.
Installation
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'
Command/Usage
The plugin defines a single command AlgDS
.
It can be mapped like this:
nmap <leader>alg :AlgDS<CR>
Pretty Printer
There are some pretty printer for GDB.
You can activate them by putting the following in your ~/.gdbinit
:
source ~/.vim/plugged/Algorithm-DataStructures/prettyprint.py
License
WTFPL