-
Notifications
You must be signed in to change notification settings - Fork 41
Data Structures
Ashish Chopra edited this page Jan 5, 2016
·
15 revisions
This page provides an extensive index of all the data structure implementation found in Structures repo, to best of our knowledge and effort. In case, if you find something missing or misleading, let us know.
These data structure are abstract in nature, you can use them as collection in any of your creative problem, like we did in ours. To know more how to use them, checkout some of our examples in Creative Problems section.
- A
genericimplementation ofresizableStack - #Stack - A stack implementation using Linked List - #StackOfStrings
- A stack with a
fixed capacityusing arrays - #FixedCapacityStackOfStrings - A stack with
resizable capacityusing arrays - #ResizableStackOfStrings - A stack with
find()anddelete()operation on middle elements - #StackWithMiddle - A Stack with
peek()operation that returns the last item without removing it - [#StackWithPeek] (https://github.com/ashish-chopra/Structures/blob/master/src/main/java/com/stacks/Stack.java)
- A
genericimplementation ofresizableQueue- #Queue - A queue implementation using Linked List - #QueueOfStrings
- A queue with a
fixed capacityusing arrays - #FixedCapacityQueueOfStrings - A queue with
resizable capacityusing arrays - #ResizableQueueOfStrings - A
genericdouble-ended queueDequeimplementation - #Deque - A
genericrandomized queue that returns any random entry - #RandomizedQueue - A
genericStack-ended queueSteque- #Steque
- An iterable Bag implementation - #Bag
- A Union-Find implementation for Dynamic Connectivity problem - #UnionFind
- Quick Union-Find implementation with optimized
union()operation - #QuickUF - A weighted Quick Union-Find implementation to optimize
union()andfind()operation - #WeightedQuickUF
- A
genericSymbol Table implementation forordereddata usingbinary searchfor searching operation - #ST - A
genericSymbol Table forunordereddata usingoblivious searchfor searching operation - #UnorderedST
- A
genericBinary Search Tree implementation with ordered operation APIs - #BST