This file contains 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
""""""""""""""""""""""""""""""""""""""""""""""""""" | |
" General | |
""""""""""""""""""""""""""""""""""""""""""""""""""" | |
" Sets how many lines of history VIM remembers | |
set history=500 | |
" Enable filetype plugins | |
filetype plugin on | |
filetype indent on |
This file contains 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
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]; | |
} |