• Stars
    star
    315
  • Rank 132,951 (Top 3 %)
  • Language
    C++
  • License
    Do What The F*ck ...
  • Created over 8 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Implementations of Algorithms and Data Structures

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.

demonstration

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