No Picture

Huffman Coding

May 7, 2015 admin 0

#include <iostream> #include<queue> #include<vector> #include<iomanip> #include<string> using namespace std; struct node{ char c; int f; struct node *left; struct node *right; }; class compare{ public: […]

No Picture

Structs in C++

May 7, 2015 admin 0

Here is an example program: struct database { int id_number; int age; float salary; }; int main() { database employee; //There is now an employee […]

No Picture

Big0 Complexity

May 7, 2015 admin 0

Here are the running times of some operations we might perform on the phone book, from best to worst: O(1) (worst case): Given the page […]

No Picture

Study stuff

February 20, 2014 admin 0

Study stuff for me to reference. http://www.ee.surrey.ac.uk/Projects/Labview/gatesfunc/ http://www.cse.psu.edu/~kyusun/class/cmpen271/13f/lec/L06NandXorGates.pdf