Skip to content

Instantly share code, notes, and snippets.

@JKomskis
JKomskis / Binary_Tree.cpp
Last active September 17, 2018 20:15
Twelve ways to traverse a binary tree
#include <iostream>
#define DEBUG
#include "Binary_Tree.h"
int compare_int(int a, int b){
if(a < b){
return -1;
} else if (a == b){
return 0;
} else {