Skip to content

Instantly share code, notes, and snippets.

View WilliamGarrow's full-sized avatar

William Garrow WilliamGarrow

  • Boston // Orlando
View GitHub Profile
@WilliamGarrow
WilliamGarrow / module_four.cs
Created November 16, 2015 01:57
DEV204x Programming with C# - Module Four Assignment
/// Module Four Assignment
using System;
namespace ModuleFourAssignment
{
// Create a struct to represent a student
struct Student
{
public string firstName;
public string lastName;
@WilliamGarrow
WilliamGarrow / balanced-binary-tree.php
Last active October 22, 2020 22:25
PHP - Implementing balanced binary trees algorithm
<?php
// Assignment research for balanced binary trees that tends to be more difficult
// than just implementing binary search trees. Here’s an example in PHP.
class Node
{
protected $_parent = null;
protected $_left = null;
protected $_right = null;
protected $_key;
protected $_data = null;