Binary Search Tree in C#: Add, Find, Remove and Traversals
A generic binary search tree in C# with insert, lookup, delete, height and pre-order, in-order and post-order traversal, plus when to use SortedSet instead.
A generic binary search tree in C# with insert, lookup, delete, height and pre-order, in-order and post-order traversal, plus when to use SortedSet instead.
CRUD against an Access .accdb or .mdb file from C# with OleDb: parameterised queries, getting the new AutoNumber ID, and the 32/64-bit trap.
A practical guide to the C# collection types: List, Dictionary, HashSet, Queue, Stack and friends, with their costs and when to pick each one.
How to add, find and remove items with the generic List, why it replaced ArrayList, and what to watch for when you maintain code that still uses ArrayList.
How to push, pop and peek with the generic Stack in C#, avoid the empty-stack exception with TryPop, and use a stack to check balanced brackets.