Skip to content

Instantly share code, notes, and snippets.

View roufamatic's full-sized avatar

Michael Roufa roufamatic

View GitHub Profile
using System;
using System.DirectoryServices;
namespace EmailAddressTest
{
class Program
{
static void Main(string[] args)
{
do
@roufamatic
roufamatic / Heap.cs
Last active October 7, 2020 01:38
Super basic, generic heap implentation in C#.
/// <summary>
/// Array-based Heap implementation.
/// </summary>
/// <typeparam name="T">Kind of thing being stored in the heap.</typeparam>
public class Heap<T> where T : IComparable
{
private enum HeapType
{
Min,