Skip to content

Instantly share code, notes, and snippets.

View bytefluxio's full-sized avatar

Robert bytefluxio

View GitHub Profile
"""""""""""""""""""""""""""""""""""""""""""""""""""
" General
"""""""""""""""""""""""""""""""""""""""""""""""""""
" Sets how many lines of history VIM remembers
set history=500
" Enable filetype plugins
filetype plugin on
filetype indent on
@bytefluxio
bytefluxio / MinHeap.cs
Created October 18, 2017 23:07
Quick example implementation of a MinHeap
class MinHeap {
private int Capacity { get; set; }
private int Size { get; set; }
private int[] Items;
public MinHeap(int capacity) {
Capacity = capacity;
Size = 0;
Items = new int[capacity];
}