Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ashish-chopra/Structures
/ functions
Functions
393 in github.com/ashish-chopra/Structures
⨍
Functions
393
◇
Types & classes
106
Method
HumpingDumping
constructs the HumpingDumping object with given input array. @param data
src/main/java/com/applications/HumpingDumping.java:30
Method
Identicals
(int[] arr1, int[] arr2)
src/main/java/com/applications/Identicals.java:23
Method
Insertion
()
src/main/java/com/sorting/Insertion.java:40
Method
JobA
(Token b)
src/main/java/com/applications/Threading.java:36
Method
JobB
(Token b)
src/main/java/com/applications/Threading.java:61
Method
Josephus
constructs a new Josephus object to execute with the initial number of people. @param N number of people as <code>int</code>.
src/main/java/com/applications/Josephus.java:35
Method
LinkedList
creates a new empty <code>LinkedList</code> object.
src/main/java/com/lists/LinkedList.java:46
Method
LinkedListNode
(Item item)
src/main/java/com/lists/CircularLinkedList.java:210
Method
Merge
()
src/main/java/com/sorting/Merge.java:38
Method
MoveToFront
()
src/main/java/com/applications/MoveToFront.java:26
Method
Node
(Key key, Value val, Node next)
src/main/java/com/tables/UnorderedST.java:166
Method
Node
(Key key, Value value, Node left, Node right)
src/main/java/com/trees/BST.java:63
Method
Node
(Item item)
src/main/java/com/lists/LinkedList.java:185
Method
Node
(Item data, Node next, Node prev)
src/main/java/com/stacks/StackWithMiddle.java:133
Method
Percolation
creates a percolation object of N x N grid and initialize internal state of different parts. @param N Number of rows in a square grid as integer.
src/main/java/com/applications/Percolation.java:26
Method
Queue
creates a new empty Queue object.
src/main/java/com/queues/Queue.java:34
Method
QueueOfStrings
constructs the object.
src/main/java/com/queues/QueueOfStrings.java:36
Method
Quick
()
src/main/java/com/sorting/Quick.java:32
Method
QuickUF
constructs a QuickUF object for given number of items. @param N number of items in the set as positive integer.
src/main/java/com/unions/QuickUF.java:32
Method
RandomQueueIterator
()
src/main/java/com/queues/RandomizedQueue.java:121
Method
RandomizedQueue
constructs the RandomizedQueue object.
src/main/java/com/queues/RandomizedQueue.java:34
Method
RemoveOperation
()
src/test/java/com/bags/BagsTest.java:29
Method
ResizingCapacityStackOfStrings
constructs a new Stack Object.
src/main/java/com/stacks/ResizingCapacityStackOfStrings.java:37
Method
ResizingQueueOfStrings
constructs the queue object.
src/main/java/com/queues/ResizingQueueOfStrings.java:37
Method
RingBuffer
constructs a RingBuffer object with fixed capacity. @param N capacity of buffer as <code>int</code>
src/main/java/com/applications/RingBuffer.java:36
Method
ST
creates a new symbol table object
src/main/java/com/tables/ST.java:29
Method
Selection
()
src/main/java/com/sorting/Selection.java:45
Method
Shell
()
src/main/java/com/sorting/Shell.java:24
Method
Stack
Constructs a Stack object.
src/main/java/com/stacks/Stack.java:45
Method
StackWithMiddle
()
src/main/java/com/stacks/StackWithMiddle.java:28
Method
Steque
constructs a steque object.
src/main/java/com/queues/Steque.java:45
Method
SymbolGraph
(String name, String delimiter)
src/main/java/com/graphs/SymbolGraph.java:54
Method
UnionFind
constructs a UF object for N items. @param N number of items in positive integer.
src/main/java/com/unions/UnionFind.java:56
Method
UnorderedST
creates an empty unordered symbol table data structure object.
src/main/java/com/tables/UnorderedST.java:45
Method
WeightedQuickUF
Constructs the object @param N size of the Union-find as int.
src/main/java/com/unions/WeightedQuickUF.java:33
Method
add
add item to the last of the list
src/main/java/com/lists/CircularLinkedList.java:66
Method
averageDegree
calculates the average degree of a graph by averaging the degree of each vertex in the graph. @return average as <code>double</code>.
src/main/java/com/graphs/BasicOperations.java:63
Method
ceiling
(Key key)
src/main/java/com/tables/ST.java:171
Method
compareTo
(City arg0)
src/test/java/com/sorting/MergeSortTest.java:89
Method
compareTo
(City arg0)
src/test/java/com/sorting/SelectionSortTest.java:77
Method
contains
checks to see if the given key is present in symbol table. @param key @return
src/main/java/com/tables/ST.java:135
Method
contains
checks if the given key is present in BST. @param key @return <code>true</code> if key is available, <code>false</code> otherwise.
src/main/java/com/trees/BST.java:139
Method
count
returns the number of vertices connected in the graph. if the count is equal to total number of vertices of the graph, then the complete graph is conn
src/main/java/com/graphs/DepthFirstSearch.java:85
Method
delete
deletes the character from the cursor position. @throws NoSuchElementException if buffer is empty. @return character at cursor position.
src/main/java/com/applications/Buffer.java:54
Method
delete
(Key key)
src/main/java/com/tables/ST.java:140
Method
deleteMiddle
deletes the middle element of the stack and re-adjust the middle after it. @return
src/main/java/com/stacks/StackWithMiddle.java:115
Method
dequeue
removes the string from the queue. @return
src/main/java/com/queues/ResizingQueueOfStrings.java:55
Method
dequeue
removes an element from the queue from the front. @return a String element from the queue.
src/main/java/com/queues/FixedCapacityQueueOfStrings.java:54
Method
dequeue
removes the element from the queue. @return an element of type String.
src/main/java/com/queues/QueueOfStrings.java:61
Method
enqueue
inserts a string item into the queue. @param item
src/main/java/com/queues/ResizingQueueOfStrings.java:46
Method
enqueue
inserts an item into the queue at the end. @param item a String element added to the queue.
src/main/java/com/queues/FixedCapacityQueueOfStrings.java:46
Method
enqueue
adds a String element in the queue at the end. @param s an element of String type
src/main/java/com/queues/QueueOfStrings.java:45
Method
exch
(Object[] a, int i, int j)
src/main/java/com/sorting/Merge.java:161
Method
find
checks to see if given two objects by their id are connected. @param p first object id as int. @param q second object id as int. @return <code>true</c
src/main/java/com/unions/WeightedQuickUF.java:50
Method
findMiddle
peeks the middle element of the stack without deleting it from the stack. @return element as Item.
src/main/java/com/stacks/StackWithMiddle.java:106
Method
floor
(Key key)
src/main/java/com/tables/ST.java:164
Method
get
returns the item at the specified index
src/main/java/com/lists/CircularLinkedList.java:122
Method
getPopulation
()
src/test/java/com/sorting/HeapSortTest.java:89
Method
getPopulation
()
src/test/java/com/sorting/MergeSortTest.java:74
Method
getPopulation
()
src/test/java/com/sorting/SelectionSortTest.java:69
Method
getSize
returns the size of CircularLinkedList
src/main/java/com/lists/CircularLinkedList.java:48
Method
hasEdge
checks to see if there is an edge v-w in the graph. @param v one vertex @param w other vertex @return
src/main/java/com/graphs/Graph.java:140
Method
hasNext
()
src/main/java/com/queues/Queue.java:90
Method
hasNext
()
src/main/java/com/queues/Steque.java:123
Method
hasNext
()
src/main/java/com/lists/CircularLinkedList.java:191
Method
hasNext
()
src/main/java/com/stacks/Stack.java:142
Method
insert
inserts the given character at the cursor position in the buffer. @param c Character to be inserted.
src/main/java/com/applications/Buffer.java:45
Method
isFull
checks to see if the site at location (i, j) is a full site. @param i row index of the grid @param j column index of the grid @return <code>true</code
src/main/java/com/applications/Percolation.java:113
Method
iterator
returns an iterator over the elements of the queue.
src/main/java/com/queues/Queue.java:77
Method
iterator
returns an iterator over the elements in the deque from front to end fashion.
src/main/java/com/queues/Deque.java:146
Method
iterator
returns an iterator over the elements stored in steque.
src/main/java/com/queues/Steque.java:116
Method
iterator
()
src/main/java/com/tables/UnorderedST.java:174
Method
iterator
returns an iterator to list
src/main/java/com/lists/CircularLinkedList.java:184
Method
iterator
returns an iterator over the stack data structure.
src/main/java/com/stacks/Stack.java:114
Method
left
moves the cursor to the left by given position. @param k the number of position to the left.
src/main/java/com/applications/Buffer.java:64
Method
main
(String[] args)
src/test/java/com/AcceptanceTester.java:33
Method
main
(String[] args)
src/test/java/com/graph/FlightsGraphTest.java:17
Method
main
(String[] args)
src/main/java/com/applications/Buffer.java:104
Method
main
(String[] args)
src/main/java/com/applications/Threading.java:5
Method
main
(String[] args)
src/main/java/com/applications/Paranthesis.java:54
Method
main
(String[] args)
src/main/java/com/applications/Subset.java:28
Method
main
(String[] args)
src/main/java/com/applications/Josephus.java:76
Method
main
(String[] args)
src/main/java/com/applications/InfixExpression.java:23
Method
marked
checks if the given vertex is marked. This will help in answering questions like, is there any path between given vertex and source vertex? @param ve
src/main/java/com/graphs/DepthFirstSearch.java:63
Method
max
()
src/main/java/com/tables/ST.java:159
Method
min
()
src/main/java/com/tables/ST.java:154
Method
name
(int v)
src/main/java/com/graphs/SymbolGraph.java:106
Method
next
()
src/main/java/com/queues/RandomizedQueue.java:133
Method
next
()
src/main/java/com/queues/Queue.java:94
Method
next
()
src/main/java/com/queues/Deque.java:174
Method
next
()
src/main/java/com/queues/Steque.java:127
Method
next
()
src/main/java/com/tables/UnorderedST.java:185
Method
next
()
src/main/java/com/lists/CircularLinkedList.java:199
Method
next
()
src/main/java/com/lists/LinkedList.java:173
Method
next
()
src/main/java/com/stacks/Stack.java:146
Method
open
opens the site at location (i, j) if not opened already. @param i row position in the grid @param j column position in the grid
src/main/java/com/applications/Percolation.java:75
Method
pathTo
returns the path between source vertex and given vertex as an Iterable set. @param v @return
src/main/java/com/graphs/BreadthFirstSearch.java:60
Method
pathTo
(int w)
src/main/java/com/graphs/DepthFirstSearch.java:89
Method
percolates
checks to see if there is a connected site from top row of the grid to the bottom row. @return <code>true</code> if it percolates, <code>false
src/main/java/com/applications/Percolation.java:98
Method
pop
pops an item from the stack if available. returns an item if present, null otherwise. @return
src/main/java/com/stacks/StackWithMiddle.java:85
← previous
next →
201–300 of 393, ranked by callers