Skip to content

Latest commit

 

History

History
59 lines (45 loc) · 2.42 KB

col.md

File metadata and controls

59 lines (45 loc) · 2.42 KB

Collections

Namespace: SedgewickWayne.Algorithms.

Generic

Based solely on linked lists.

Class Princeton java link .Net implementation
Bag Bag.java Bag.cs
Queue Queue.java Queue.cs
Stack Stack.java Stack.cs

Below the class diagram for the generic queue.

IQueue<T>

Non Generic

Based on linked lists and resizing arrays.

Class Princeton java link .Net implementation
ResizingArrayBag ResizingArrayBag.java ResizingArrayBag.cs
ResizingArrayQueue ResizingArrayQueue.java ResizingArrayQueue.cs
ResizingArrayStack ResizingArrayStack.java ResizingArrayStack.cs
LinkedBag LinkedBag.java LinkedBag.cs
LinkedQueue LinkedQueue.java LinkedQueue.cs
LinkedStack LinkedStack.java LinkedStack.cs

Bare-bone implementations with a fixed array like 1 & 2 were discarded.

Below the class diagram for the object based queue.

IQueue

home