CTCI Solutions in C#