Skip to content

Instantly share code, notes, and snippets.

View diericx's full-sized avatar

Zac Holland diericx

View GitHub Profile
//
// main.cpp
// TrieTree
//
// Created by Zac Holland on 3/8/16.
// Copyright © 2016 Diericx. All rights reserved.
//
#include <iostream>
#include <list>
@diericx
diericx / ZVector.cpp
Created March 15, 2016 22:31
ZVectorShuffle
//
// main.cpp
// March15Vector
//
// Created by Zac, Matt, Alex on 3/15/16.
// Copyright © 2016 Diericx. All rights reserved.
//
#include <iostream>
#include <vector>
// ================== Rates ===================
rate "128000"
cl_cmdrate "128"
cl_updaterate "128"
cl_interp "0"
cl_interp_ratio "1"
// ============== Video settings ==============
//
// main.cpp
// Assignment1
//
// Created by Zac Holland on 4/7/16.
// Copyright © 2016 Diericx. All rights reserved.
//
#include <iostream>
#include <vector>
template <class Comparable>
bool FHlazySearchTree<Comparable>::remove(
FHlazySearchTreeNode<Comparable> * &root, const Comparable &x)
{
if (root == NULL)
return false;
if (x < root->data)
return remove(root->lftChild, x);
// File FHlazySearchTree.h
// Template definitions for FHsearchTrees, which are general trees
#ifndef FHSEARCHTREE_H
#define FHSEARCHTREE_H
// ---------------------- FHlazySearchTreeNode Prototype --------------------------
template <class Comparable>
class FHlazySearchTreeNode
{
public:
//
// main.cpp
// Assignment6-quadProbing
//
// Created by Zac Holland on 5/17/16.
// Copyright © 2016 Diericx. All rights reserved.
//
#include <iostream>
#include "EBookEntry.h"
//
// main.cpp
// Assgnment7-shellSort
//
// Created by Zac Holland on 5/25/16.
// Copyright © 2016 Diericx. All rights reserved.
//
#include <iostream>
#include "FHvector.h"
// Comparison of heapsort and quickSort vectors
#include <iostream>
using namespace std;
#include "Foothill_Sort.h"
#include "FHsort.h"
#include "FHvector.h"
#include <time.h>
// --------------- main ---------------
#define ARRAY_SIZE 250000
//
// ZHashTable.hpp
// ZHashTable
//
// Created by Zac Holland on 5/26/16.
// Copyright © 2016 Diericx. All rights reserved.
//
#ifndef ZHashTable_hpp
#define ZHashTable_hpp