Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ashish-chopra/Structures
/ types & classes
Types & classes
106 in github.com/ashish-chopra/Structures
⨍
Functions
393
◇
Types & classes
106
Class
AcceptanceTester
<code>AcceptanceTester</code> was designed with v1.0 release to implement the test in-house test framework. It consists of a collection of test cases
src/test/java/com/AcceptanceTester.java:26
Class
BFSTest
src/test/java/com/graph/BFSTest.java:12
Class
BST
BST stands for Binary Search Tree is a basic tree structure used to keep data in binary searchable format. On every compare, one side of tree is prune
src/main/java/com/trees/BST.java:52
Class
BSTTest
src/test/java/com/trees/BSTTest.java:15
Class
Bag
Bag data structure is used to store collection of items irrespective of fashion they inserted. It allows user to add an item and iterate over the coll
src/main/java/com/bags/Bag.java:28
Class
BagIterator
src/main/java/com/bags/Bag.java:87
Class
BagsTest
src/test/java/com/bags/BagsTest.java:6
Class
BasicOperations
src/main/java/com/graphs/BasicOperations.java:14
Class
BreadthFirstSearch
Process a graph in BFS fashion to determine the minimum path between a source vertex and any given vertex. @author Ashish Chopra
src/main/java/com/graphs/BreadthFirstSearch.java:26
Class
Buffer
src/main/java/com/applications/Buffer.java:26
Class
Checkpoint
src/main/java/com/applications/Checkpoint.java:29
Class
CheckpointTest
src/test/java/com/applications/CheckpointTest.java:5
Class
CircularLinkedList
src/main/java/com/lists/CircularLinkedList.java:28
Class
CircularLinkedListIterator
src/main/java/com/lists/CircularLinkedList.java:188
Class
City
src/test/java/com/sorting/HeapSortTest.java:71
Class
City
src/test/java/com/sorting/MergeSortTest.java:56
Class
City
src/test/java/com/sorting/SelectionSortTest.java:51
Class
ConnectedComponents
It processes the given graph to identify the connected components and mark each vertex to the component id to which it belongs to. @author Ashish Chop
src/main/java/com/graphs/ConnectedComponents.java:26
Class
ConnectedComponentsTest
src/test/java/com/graph/ConnectedComponentsTest.java:16
Class
Cycle
Cycle detects if the given graph contains cycle or not. @author Ashish Chopra
src/main/java/com/graphs/Cycle.java:21
Class
CycleTest
src/test/java/com/graph/CycleTest.java:12
Class
DFSTest
src/test/java/com/graph/DFSTest.java:12
Class
DepthFirstSearch
src/main/java/com/graphs/DepthFirstSearch.java:31
Class
Deque
Deque is an adaptation of queue in which elements can be inserted and removed from front as well as from end. It implements <code>Iterable</code> inte
src/main/java/com/queues/Deque.java:35
Class
DequeIterator
An iterator implementation for Deque data structure. @author Ashish Chopra
src/main/java/com/queues/Deque.java:167
Class
DequeTest
src/test/java/com/queues/DequeTest.java:9
Class
FixedCapacityQueueOfStrings
FixedCapacityQueueOfStrings is a queue data structure to store string elements. @author Ashish Chopra
src/main/java/com/queues/FixedCapacityQueueOfStrings.java:27
Class
FixedCapacityStackOfStrings
FixedCapacityStack is another implementation of elementary data structure called stack using arrays. In order to determine the size of the array, we a
src/main/java/com/stacks/FixedCapacityStackOfStrings.java:38
Class
FixedCapacityStackOfStringsTest
src/test/java/com/stacks/FixedCapacityStackOfStringsTest.java:5
Class
FlightsGraphTest
src/test/java/com/graph/FlightsGraphTest.java:7
Class
Graph
Graph is an ADT that represents a collection of vertices V and the connection amongst them called edges E. Every Graph G is defined as function of G =
src/main/java/com/graphs/Graph.java:54
Class
GraphTest
src/test/java/com/graph/GraphTest.java:12
Class
Heap
src/main/java/com/sorting/Heap.java:31
Class
HeapSortTest
src/test/java/com/sorting/HeapSortTest.java:7
Class
HumpingDumping
src/main/java/com/applications/HumpingDumping.java:21
Class
HumpingDumpingTest
src/test/java/com/applications/HumpingDumpingTest.java:5
Class
Identicals
src/main/java/com/applications/Identicals.java:18
Class
IdenticalsTest
src/test/java/com/applications/IdenticalsTest.java:6
Class
InfixExpression
src/main/java/com/applications/InfixExpression.java:21
Class
Insertion
src/main/java/com/sorting/Insertion.java:34
Class
InsertionSortTest
src/test/java/com/sorting/InsertionSortTest.java:7
Class
JobA
src/main/java/com/applications/Threading.java:33
Class
JobB
src/main/java/com/applications/Threading.java:58
Class
Josephus
Josephus is simulation of Josephus problem which accepts two integers from command line N, M and will print the series of execution. This implementati
src/main/java/com/applications/Josephus.java:26
Class
LinkedList
LinkedList is a generic data structure to store elements in list manner. LinkedList provides following API ------------------------------------------
src/main/java/com/lists/LinkedList.java:37
Class
LinkedListIterator
src/main/java/com/lists/LinkedList.java:168
Class
LinkedListNode
src/main/java/com/lists/CircularLinkedList.java:206
Class
LinkedListTest
src/test/java/com/lists/LinkedListTest.java:7
Class
Merge
src/main/java/com/sorting/Merge.java:33
Class
MergeSortTest
src/test/java/com/sorting/MergeSortTest.java:7
Class
MoveToFront
src/main/java/com/applications/MoveToFront.java:21
Class
Node
src/main/java/com/queues/Queue.java:82
Class
Node
private structure used to represent each item in this data structure. @author Ashish Chopra
src/main/java/com/queues/Deque.java:156
Class
Node
src/main/java/com/queues/Steque.java:37
Class
Node
Node class represents a node used to store each element of the queue. It is the underlying implementation of the queue not accessible to client via AP
src/main/java/com/queues/QueueOfStrings.java:84
Class
Node
src/main/java/com/applications/MoveToFront.java:76
Class
Node
src/main/java/com/tables/UnorderedST.java:161
Class
Node
src/main/java/com/trees/BST.java:56
Class
Node
src/main/java/com/lists/LinkedList.java:181
Class
Node
Node class represents a single node used to store single element on the stack in a link based implementation. @author Ashish Chopra
src/main/java/com/stacks/Stack.java:125
Class
Node
src/main/java/com/stacks/StackOfStrings.java:42
Class
Node
Node representation of each item of stack @author Ashish Chopra
src/main/java/com/stacks/StackWithMiddle.java:128
Class
Paranthesis
Paranthesis computes the maximum depth of paranthesis in given aithemtic expression as String. @author Ashish Chopra
src/main/java/com/applications/Paranthesis.java:22
Class
Percolation
src/main/java/com/applications/Percolation.java:12
Class
Queue
Queue is a generic data structure to store elements in first-in-first-out manner. @author Ashish Chopra @version 1.0 @param <Item>
src/main/java/com/queues/Queue.java:26
Class
QueueIterator
src/main/java/com/queues/Queue.java:87
Class
QueueOfStrings
QueueOfStrings is a queue data structure designed to store elements of String type. @author Ashish Chopra
src/main/java/com/queues/QueueOfStrings.java:29
Class
Quick
src/main/java/com/sorting/Quick.java:27
Class
QuickSortTest
src/test/java/com/sorting/QuickSortTest.java:5
Class
QuickUF
QuickUF data structure is an improvement over UnionFind in which union operation is improved to be carried out in constant time. @author Ashish Chopr
src/main/java/com/unions/QuickUF.java:24
Class
QuickUFTest
src/test/java/com/unions/QuickUFTest.java:5
Class
RandomQueueIterator
src/main/java/com/queues/RandomizedQueue.java:116
Class
RandomizedQueue
RandomizedQueueOfStrings is a queue to store string items in queue(FIFO) fashion. It supports the enqueue operation to add an item to the queue, but
src/main/java/com/queues/RandomizedQueue.java:25
Class
RandomizedQueueTest
src/test/java/com/queues/RandomizedQueueTest.java:5
Class
ResizingCapacityStackOfStrings
ResizingCapacityStackOfStrings is a stack implementation using resizale arrays. This removes the defect of earlier implementation which leaks the deta
src/main/java/com/stacks/ResizingCapacityStackOfStrings.java:29
Class
ResizingCapacityStackOfStringsTest
src/test/java/com/stacks/ResizingCapacityStackOfStringsTest.java:5
Class
ResizingQueueOfStrings
ResizingQueueOfStrings is a queue data structure developed to store String items in first-in-first-out principle. It supports enqueue operation to ins
src/main/java/com/queues/ResizingQueueOfStrings.java:27
Class
RingBuffer
RingBuffer is a buffer designed to store data of <code>String</code> type, typcally generated by a producer. It supports methods of <code>queue</code>
src/main/java/com/applications/RingBuffer.java:26
Class
RingBufferTest
src/test/java/com/applications/RingBufferTest.java:7
Class
ST
src/main/java/com/tables/ST.java:20
Class
STTest
src/test/java/com/tables/STTest.java:5
Class
Selection
src/main/java/com/sorting/Selection.java:38
Class
SelectionSortTest
src/test/java/com/sorting/SelectionSortTest.java:5
Class
Shell
src/main/java/com/sorting/Shell.java:19
Class
ShellSortTest
src/test/java/com/sorting/ShellSortTest.java:7
Class
Stack
Stack is a general implementation of abstract data structure to store any homogenous type of elements in Last-In-First-Out fashion. @author Ashish Ch
src/main/java/com/stacks/Stack.java:37
Class
StackIterator
StackIterator implements Iterator interface to provide iterable capabilities to the stack data structure. @author Ashish Chopra
src/main/java/com/stacks/Stack.java:138
Class
StackOfStrings
StackOfStrings is a implementation of elmentary data structure called <em>Stacks</em>, which is used to store items of String type. @author Ashish Ch
src/main/java/com/stacks/StackOfStrings.java:38
Class
StackOfStringsTest
src/test/java/com/stacks/StackOfStringsTest.java:5
Class
StackTest
src/test/java/com/stacks/StackTest.java:5
Class
StackWithMiddle
StackWithMiddle is an elementary stack data structure with additional middle operations like findMiddle and deleteMiddle. @author Ashish Chopra
src/main/java/com/stacks/StackWithMiddle.java:22
Class
Steque
Steque is a stack-ended data structure which supports stack operations as well as queue's enqueue operation. @author Ashish Chopra @version 1.0
src/main/java/com/queues/Steque.java:33
Class
StequeIterator
src/main/java/com/queues/Steque.java:121
Class
StequeTest
src/test/java/com/queues/StequeTest.java:5
Class
Subset
This class tests the RandomizedQueue implementation by accepting N number of input strings and printing back random k strings back to the output. @aut
src/main/java/com/applications/Subset.java:27
Class
SymbolGraph
SymbolGraph ADT abstracts the representation of real world situations of Graph consists of non-integer vertices. It uses the Graph ADT as the underlyi
src/main/java/com/graphs/SymbolGraph.java:48
Class
TableIterator
src/main/java/com/tables/UnorderedST.java:178
Interface
Test
<Code>Test</code> type is created to mark test case classes as test which is recognizable by <code>AcceptanceTester</code> test suite. With the intro
src/test/java/com/Test.java:27
Class
Threading
src/main/java/com/applications/Threading.java:3
Class
Token
src/main/java/com/applications/Threading.java:16
next →
1–100 of 106, ranked by callers