Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aistrate/AlgorithmsSedgewick
/ functions
Functions
1,619 in github.com/aistrate/AlgorithmsSedgewick
⨍
Functions
1,619
◇
Types & classes
242
↓ 2 callers
Method
cycle
()
4-Graphs/4-2-DirectedGraphs/DirectedCycle.java:67
↓ 2 callers
Method
cycle
()
4-Graphs/4-1-UndirectedGraphs/Bipartite.java:62
↓ 2 callers
Method
delMax
Delete and return the largest key on the priority queue. Throw an exception if the priority queue is empty.
2-Sorting/2-4-PriorityQueues/MaxPQ.java:138
↓ 2 callers
Method
delete
(Key key)
3-Searching/3-2-BinarySearchTrees/BST.java:130
↓ 2 callers
Method
dfs
(Digraph G, int v)
4-Graphs/4-2-DirectedGraphs/DepthFirstOrder.java:66
↓ 2 callers
Method
dfs
(Digraph G, int v)
4-Graphs/4-2-DirectedGraphs/DirectedDFS.java:39
↓ 2 callers
Method
direction
Returns the unit vector in the direction of this vector. @return Unit vector with direction of this vector
StdLib/StdDraw3D.java:4370
↓ 2 callers
Method
directionalLight
Adds a directional light of color col which appears to come from (x, y, z).
StdLib/StdDraw3D.java:1896
↓ 2 callers
Method
distanceSquaredTo
(Point2D that)
1-Fundamentals/1-2-DataAbstraction/Point2D.java:72
↓ 2 callers
Method
divides
(MyRational b)
1-Fundamentals/1-2-DataAbstraction/MyRational.java:67
↓ 2 callers
Method
dot
(SparseVector that)
3-Searching/3-5-Applications/SparseVector.java:46
↓ 2 callers
Method
dot
(Vector that)
1-Fundamentals/1-2-DataAbstraction/Vector.java:68
↓ 2 callers
Method
exch
(Object[] pq, int i, int j)
2-Sorting/2-4-PriorityQueues/Heap.java:58
↓ 2 callers
Method
exch
(Object[] a, int i, int j)
2-Sorting/2-1-ElementarySorts/Selection.java:73
↓ 2 callers
Method
exch
(Object[] a, int i, int j)
2-Sorting/2-3-Quicksort/Quick3way.java:68
↓ 2 callers
Method
exch
(Object[] a, int i, int j)
2-Sorting/2-3-Quicksort/Quick.java:102
↓ 2 callers
Method
exists
Does the input stream exist?
StdLib/In.java:138
↓ 2 callers
Method
filledCircle
Draw filled circle of radius r, centered on (x, y). @param x the x-coordinate of the center of the circle @param y the y-coordinate of the center of t
StdLib/StdDraw.java:414
↓ 2 callers
Method
filledRectangle
Draw a filled rectangle of given half width and half height, centered on (x, y). @param x the x-coordinate of the center of the rectangle @param y the
StdLib/StdDraw.java:554
↓ 2 callers
Method
filledSquare
Draw a filled square of side length 2r, centered on (x, y). @param x the x-coordinate of the center of the square @param y the y-coordinate of the cen
StdLib/StdDraw.java:514
↓ 2 callers
Method
get
(Key key)
3-Searching/3-1-SymbolTables/BinarySearchST.java:72
↓ 2 callers
Method
get
(Key key)
3-Searching/3-1-SymbolTables/SequentialSearchST.java:56
↓ 2 callers
Method
get
(Key key)
3-Searching/3-2-BinarySearchTrees/BST.java:68
↓ 2 callers
Method
getCameraMode
Gets the current camera mode. @return The current camera mode.
StdLib/StdDraw3D.java:1169
↓ 2 callers
Method
hasPathTo
(int v)
4-Graphs/4-2-DirectedGraphs/DepthFirstDirectedPaths.java:52
↓ 2 callers
Method
hasPathTo
(int v)
4-Graphs/4-2-DirectedGraphs/BreadthFirstDirectedPaths.java:96
↓ 2 callers
Method
hasPathTo
(int v)
4-Graphs/4-4-ShortestPaths/AcyclicLP.java:56
↓ 2 callers
Method
hasPathTo
(int v)
4-Graphs/4-4-ShortestPaths/AcyclicSP.java:57
↓ 2 callers
Method
hasPathTo
(int v)
4-Graphs/4-4-ShortestPaths/BellmanFordSP.java:99
↓ 2 callers
Method
hasPathTo
(int v)
4-Graphs/4-1-UndirectedGraphs/DepthFirstPaths.java:53
↓ 2 callers
Method
hash
(String key, int M)
5-Strings/5-3-SubstringSearch/RabinKarp.java:62
↓ 2 callers
Method
hashCode
()
1-Fundamentals/1-2-DataAbstraction/Date.java:99
↓ 2 callers
Method
ifft
(Complex[] x)
Beyond/FFT.java:60
↓ 2 callers
Method
infoDisplay
()
StdLib/StdDraw3D.java:3397
↓ 2 callers
Method
init
()
StdLib/StdDraw.java:163
↓ 2 callers
Method
inverse
()
1-Fundamentals/1-2-DataAbstraction/MyRational.java:77
↓ 2 callers
Method
is23
()
3-Searching/3-3-BalancedSearchTrees/RedBlackBST.java:511
↓ 2 callers
Method
isBST
()
3-Searching/3-2-BinarySearchTrees/BST.java:289
↓ 2 callers
Method
isBST
()
3-Searching/3-3-BalancedSearchTrees/RedBlackBST.java:478
↓ 2 callers
Method
isBalanced
()
3-Searching/3-3-BalancedSearchTrees/RedBlackBST.java:521
↓ 2 callers
Method
isComplementarySlack
()
6-Context/6-5-Reductions/AssignmentProblem.java:126
↓ 2 callers
Method
isDualFeasible
()
6-Context/6-5-Reductions/AssignmentProblem.java:112
↓ 2 callers
Method
isEmpty
()
1-Fundamentals/1-3-BagsQueuesStacks/ResizingArrayStack.java:31
↓ 2 callers
Method
isEmpty
()
1-Fundamentals/1-3-BagsQueuesStacks/ResizingArrayQueue.java:30
↓ 2 callers
Method
isFeasible
(FlowNetwork G, int s, int t)
6-Context/6-4-Maxflow/FordFulkerson.java:98
↓ 2 callers
Method
isRankConsistent
()
3-Searching/3-2-BinarySearchTrees/BST.java:312
↓ 2 callers
Method
isRankConsistent
()
3-Searching/3-3-BalancedSearchTrees/RedBlackBST.java:501
↓ 2 callers
Method
isSizeConsistent
()
3-Searching/3-2-BinarySearchTrees/BST.java:304
↓ 2 callers
Method
isSizeConsistent
()
3-Searching/3-3-BalancedSearchTrees/RedBlackBST.java:493
↓ 2 callers
Method
isSorted
Check if array is sorted - useful for debugging
2-Sorting/2-3-Quicksort/Quick3way.java:78
↓ 2 callers
Method
keys
()
3-Searching/3-4-HashTables/SeparateChainingHashST.java:103
↓ 2 callers
Method
keys
()
3-Searching/3-3-BalancedSearchTrees/RedBlackBST.java:433
↓ 2 callers
Method
lcp
(String s, String t)
6-Context/6-3-SuffixArrays/SuffixArray.java:62
↓ 2 callers
Method
length
()
1-Fundamentals/1-2-DataAbstraction/Interval1D.java:41
↓ 2 callers
Method
less
(Edge e, Edge f)
4-Graphs/4-3-MinSpanningTrees/BoruvkaMST.java:78
↓ 2 callers
Method
less
(Comparable v, Comparable w)
2-Sorting/2-2-Mergesort/MergeBU.java:68
↓ 2 callers
Method
lines
Draws a set of connected lines. For example, the first line is from (x[0], y[0], z[0]) to (x[1], y[1], z[1]), and the second line is from (x[1], y[1],
StdLib/StdDraw3D.java:2563
↓ 2 callers
Method
max
()
3-Searching/3-1-SymbolTables/BinarySearchST.java:168
↓ 2 callers
Method
max
()
3-Searching/3-2-BinarySearchTrees/BST.java:166
↓ 2 callers
Method
max
()
3-Searching/3-3-BalancedSearchTrees/RedBlackBST.java:348
↓ 2 callers
Method
max
Exercise 1.3.27 Type 'Item' must implement interface Comparable
1-Fundamentals/1-3-BagsQueuesStacks/List.java:306
↓ 2 callers
Method
mean
()
1-Fundamentals/1-2-DataAbstraction/VisualAccumulator.java:26
↓ 2 callers
Method
mean
()
1-Fundamentals/1-2-DataAbstraction/VarianceAccumulator.java:16
↓ 2 callers
Method
min
Ordered symbol table methods
3-Searching/3-1-SymbolTables/BinarySearchST.java:163
↓ 2 callers
Method
min
Min, max, floor, and ceiling
3-Searching/3-2-BinarySearchTrees/BST.java:156
↓ 2 callers
Method
minus
(Complex b)
Beyond/Complex.java:61
↓ 2 callers
Method
minus
(MyRational b)
1-Fundamentals/1-2-DataAbstraction/MyRational.java:56
↓ 2 callers
Method
minus
Returns the difference of this and that vector. @param that Vector to compute difference with @return This minus that
StdLib/StdDraw3D.java:4311
↓ 2 callers
Method
model
(String filename)
StdLib/StdDraw3D.java:2974
↓ 2 callers
Method
mouseMotionEvents
(MouseEvent e, double newX, double newY, boolean dragged)
StdLib/StdDraw3D.java:1505
↓ 2 callers
Method
moveEvents
Processes one frame of keyboard events. @param time The amount of time for this frame.
StdLib/StdDraw3D.java:1636
↓ 2 callers
Method
moveRedLeft
(Node h)
3-Searching/3-3-BalancedSearchTrees/RedBlackBST.java:280
↓ 2 callers
Method
moveRedRight
(Node h)
3-Searching/3-3-BalancedSearchTrees/RedBlackBST.java:295
↓ 2 callers
Method
name
(int v)
4-Graphs/4-2-DirectedGraphs/SymbolDigraph.java:65
↓ 2 callers
Method
name
(int v)
4-Graphs/4-1-UndirectedGraphs/SymbolGraph.java:84
↓ 2 callers
Method
overlayCircle
Draws a circle of radius r, centered on (x, y).
StdLib/StdDraw3D.java:3080
↓ 2 callers
Method
overlayText
Draws the given text as stationary on the window at (x, y). This is useful for titles and HUD-style text.
StdLib/StdDraw3D.java:3231
↓ 2 callers
Method
partition
(Comparable[] a, int lo, int hi)
2-Sorting/2-3-Quicksort/Quick.java:43
↓ 2 callers
Method
pathTo
(int v)
4-Graphs/4-4-ShortestPaths/DijkstraSP.java:79
↓ 2 callers
Method
pathTo
(int v)
4-Graphs/4-4-ShortestPaths/AcyclicLP.java:61
↓ 2 callers
Method
pathTo
(int v)
4-Graphs/4-1-UndirectedGraphs/BreadthFirstPaths.java:108
↓ 2 callers
Method
peek
Return the item most recently added to the stack. Throw an exception if no such item exists because the stack is empty.
1-Fundamentals/1-3-BagsQueuesStacks/Stack.java:91
↓ 2 callers
Method
play
Write one sample (between -1.0 and +1.0) to standard audio. If the sample is outside the range, it will be clipped.
StdLib/StdAudio.java:91
↓ 2 callers
Method
plus
(Complex b)
Beyond/Complex.java:53
↓ 2 callers
Method
plus
(MyRational b)
1-Fundamentals/1-2-DataAbstraction/MyRational.java:50
↓ 2 callers
Method
prepend
(Item item)
1-Fundamentals/1-3-BagsQueuesStacks/DoublyLinkedList.java:98
↓ 2 callers
Method
prepend
(Item item)
1-Fundamentals/1-3-BagsQueuesStacks/List.java:67
↓ 2 callers
Method
put
(Key key, Value val)
3-Searching/3-4-HashTables/SeparateChainingHashST.java:81
↓ 2 callers
Method
rank
(int key, int[] a)
1-Fundamentals/1-1-BasicProgModel/BinarySearch.java:30
↓ 2 callers
Method
rank
(int key, int[] a)
1-Fundamentals/1-1-BasicProgModel/Ex_1_1_29.java:6
↓ 2 callers
Method
readBoolean
Read the next bit of data from the binary input stream and return as a boolean. @return the next bit of data from the binary input stream as a <tt>boo
StdLib/BinaryIn.java:148
↓ 2 callers
Method
readDouble1D
Read in and return an array of doubles from standard input.
StdLib/StdArrayIO.java:62
↓ 2 callers
Method
readLong
Read the next 64 bits from standard input and return as a 64-bit long. @return the next 64 bits of data from standard input as a <tt>long</tt> @throws
StdLib/BinaryStdIn.java:210
↓ 2 callers
Method
recognizes
(String txt)
5-Strings/5-4-RegularExpressions/NFA.java:59
↓ 2 callers
Method
removeFirst
()
1-Fundamentals/1-3-BagsQueuesStacks/DoublyLinkedList.java:154
↓ 2 callers
Method
removeFirst
()
1-Fundamentals/1-3-BagsQueuesStacks/List.java:57
↓ 2 callers
Method
removeLast
()
1-Fundamentals/1-3-BagsQueuesStacks/DoublyLinkedList.java:166
↓ 2 callers
Method
render3D
()
StdLib/StdDraw3D.java:2122
↓ 2 callers
Method
renderOverlay
()
StdLib/StdDraw3D.java:2100
↓ 2 callers
Method
residualCapacityTo
(int vertex)
6-Context/6-4-Maxflow/FlowEdge.java:53
← previous
next →
401–500 of 1,619, ranked by callers