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
↓ 4 callers
Method
ccw
(Point2D a, Point2D b, Point2D c)
1-Fundamentals/1-2-DataAbstraction/Point2D.java:52
↓ 4 callers
Method
ceil
Return the smallest key in the table >= k.
3-Searching/ST.java:126
↓ 4 callers
Method
check
Check integrity of BST data structure
3-Searching/3-2-BinarySearchTrees/BST.java:280
↓ 4 callers
Method
check
Check integrity of red-black BST data structure
3-Searching/3-3-BalancedSearchTrees/RedBlackBST.java:467
↓ 4 callers
Method
combine
Combines any number of shapes into one shape and returns it.
StdLib/StdDraw3D.java:3553
↓ 4 callers
Method
compare
(Point2D p, Point2D q)
1-Fundamentals/1-2-DataAbstraction/Point2D.java:89
↓ 4 callers
Method
compareTo
(Date that)
1-Fundamentals/1-2-DataAbstraction/Date.java:75
↓ 4 callers
Method
contains
(Key key)
3-Searching/3-2-BinarySearchTrees/BST.java:63
↓ 4 callers
Method
contains
(int k)
2-Sorting/2-4-PriorityQueues/IndexMinPQ.java:29
↓ 4 callers
Method
count
()
6-Context/6-1-EventDrivenSim/Particle.java:57
↓ 4 callers
Method
delMin
()
2-Sorting/2-4-PriorityQueues/IndexMinPQ.java:61
↓ 4 callers
Method
equals
(Object x)
1-Fundamentals/1-2-DataAbstraction/MyRational.java:87
↓ 4 callers
Method
fft
(Complex[] x)
Beyond/FFT.java:24
↓ 4 callers
Method
fillBuffer
()
StdLib/BinaryStdIn.java:44
↓ 4 callers
Method
find
(int p)
1-Fundamentals/1-5-UnionFind/WeightedQuickUnionUF.java:32
↓ 4 callers
Method
find
(int p)
1-Fundamentals/1-5-UnionFind/QuickUnionUF.java:29
↓ 4 callers
Method
flipColors
(Node h)
3-Searching/3-3-BalancedSearchTrees/RedBlackBST.java:268
↓ 4 callers
Method
gcd
(long m, long n)
1-Fundamentals/1-2-DataAbstraction/Rational.java:85
↓ 4 callers
Method
get
(Key key)
3-Searching/3-4-HashTables/LinearProbingHashST.java:87
↓ 4 callers
Method
get
(Key key)
3-Searching/3-3-BalancedSearchTrees/RedBlackBST.java:83
↓ 4 callers
Method
get
(String key)
5-Strings/5-2-Tries/TST.java:51
↓ 4 callers
Method
getImage
(String filename)
StdLib/StdDraw.java:606
↓ 4 callers
Method
getImage
(String filename)
StdLib/Draw.java:624
↓ 4 callers
Method
getOrientation
()
StdLib/StdDraw3D.java:3813
↓ 4 callers
Method
hasNegativeCycle
()
4-Graphs/4-4-ShortestPaths/BellmanFordSP.java:77
↓ 4 callers
Method
height
Return the height of the picture in pixels.
StdLib/Picture.java:176
↓ 4 callers
Method
hull
()
Beyond/GrahamScan.java:63
↓ 4 callers
Method
increment
()
1-Fundamentals/1-2-DataAbstraction/Counter.java:32
↓ 4 callers
Method
isEmpty
Is this set empty?
3-Searching/SET.java:57
↓ 4 callers
Method
isEmpty
()
3-Searching/3-2-BinarySearchTrees/BST.java:43
↓ 4 callers
Method
isEmpty
Is the queue empty?
1-Fundamentals/1-3-BagsQueuesStacks/Ex_1_3_29.java:33
↓ 4 callers
Method
isEmpty
()
2-Sorting/2-4-PriorityQueues/IndexMinPQ.java:26
↓ 4 callers
Method
isEmpty
Is the priority queue empty?
2-Sorting/2-4-PriorityQueues/MinPQ.java:87
↓ 4 callers
Method
isSorted
Check if array is sorted - useful for debugging
2-Sorting/2-2-Mergesort/Merge.java:87
↓ 4 callers
Method
isSorted
(Comparable[] a)
2-Sorting/2-1-ElementarySorts/Selection.java:85
↓ 4 callers
Method
isSorted
Check if array is sorted - useful for debugging
2-Sorting/2-1-ElementarySorts/Insertion.java:98
↓ 4 callers
Method
isValid
(int m, int d, int y)
1-Fundamentals/1-2-DataAbstraction/Date.java:42
↓ 4 callers
Method
keys
Return an <tt>Iterable</tt> for the keys in the table. To iterate over all of the keys in the symbol table <tt>st</tt>, use the foreach notation: <tt>
3-Searching/ST.java:93
↓ 4 callers
Method
less
(Comparable v, Comparable w)
2-Sorting/2-1-ElementarySorts/Selection.java:62
↓ 4 callers
Method
magnitude
()
1-Fundamentals/1-2-DataAbstraction/Vector.java:77
↓ 4 callers
Method
marked
(int v)
4-Graphs/4-2-DirectedGraphs/DirectedDFS.java:47
↓ 4 callers
Method
max
Return the largest key in the table.
3-Searching/ST.java:118
↓ 4 callers
Method
plus
Returns the sum of this and that vector. @param that Vector to compute sum with @return This plus that
StdLib/StdDraw3D.java:4288
↓ 4 callers
Method
post
(int v)
4-Graphs/4-2-DirectedGraphs/DepthFirstOrder.java:98
↓ 4 callers
Method
pre
(int v)
4-Graphs/4-2-DirectedGraphs/DepthFirstOrder.java:94
↓ 4 callers
Method
removeLast
Exercise 1.3.19
1-Fundamentals/1-3-BagsQueuesStacks/List.java:117
↓ 4 callers
Method
reversePost
()
4-Graphs/4-2-DirectedGraphs/DepthFirstOrder.java:113
↓ 4 callers
Method
setFont
Set the font to the default font (sans serif, 16 point).
StdLib/StdDraw.java:338
↓ 4 callers
Method
setFont
Sets the default font.
StdLib/StdDraw3D.java:1062
↓ 4 callers
Method
show
Display on screen, pause for t milliseconds, and turn on <em>animation mode</em>: subsequent calls to drawing methods such as <tt>line()</tt>, <tt>cir
StdLib/StdDraw.java:818
↓ 4 callers
Method
size
Return the number of keys in this set.
3-Searching/SET.java:85
↓ 4 callers
Method
size
()
3-Searching/3-1-SymbolTables/BinarySearchST.java:62
↓ 4 callers
Method
test
(double[][] A, double[] b, double[] c)
6-Context/6-5-Reductions/Simplex.java:229
↓ 4 callers
Method
value
()
6-Context/6-5-Reductions/Simplex.java:112
↓ 4 callers
Method
width
Return the width of the picture in pixels.
StdLib/Picture.java:183
↓ 4 callers
Method
writeBit
Write the specified bit to standard output.
StdLib/BinaryStdOut.java:41
↓ 4 callers
Method
writeBit
Write the specified bit to the binary output stream.
StdLib/BinaryOut.java:80
↓ 3 callers
Method
addEdge
Add the directed edge v-w to the digraph.
4-Graphs/4-2-DirectedGraphs/Digraph.java:108
↓ 3 callers
Method
adj
Return the edges incident to vertex v as an Iterable. To iterate over the edges incident to vertex v, use foreach notation: <tt>for (Edge e : graph.ad
4-Graphs/4-3-MinSpanningTrees/EdgeWeightedGraph.java:134
↓ 3 callers
Method
balance
(Node h)
3-Searching/3-3-BalancedSearchTrees/RedBlackBST.java:307
↓ 3 callers
Method
ceil
Return the smallest key in this set >= k.
3-Searching/SET.java:113
↓ 3 callers
Method
close
Close the output stream.
StdLib/Out.java:81
↓ 3 callers
Method
collect
(Node x, String prefix, Queue<String> queue)
5-Strings/5-2-Tries/TST.java:131
↓ 3 callers
Method
compareTo
(Rational that)
1-Fundamentals/1-2-DataAbstraction/Rational.java:57
↓ 3 callers
Method
compareTo
(Node that)
5-Strings/5-5-DataCompression/Huffman.java:46
↓ 3 callers
Method
compareTo
(Event that)
6-Context/6-1-EventDrivenSim/CollisionSystem.java:124
↓ 3 callers
Method
conjugate
()
Beyond/Complex.java:83
↓ 3 callers
Method
contains
(Key key)
3-Searching/3-3-BalancedSearchTrees/RedBlackBST.java:97
↓ 3 callers
Method
count
(int[] a)
1-Fundamentals/1-4-AnalysisOfAlgorithms/ThreeSum.java:44
↓ 3 callers
Method
createBackground
Creates a blank Background with the proper capabilities. @return The created Background.
StdLib/StdDraw3D.java:659
↓ 3 callers
Method
cycle
()
4-Graphs/4-4-ShortestPaths/EdgeWeightedDirectedCycle.java:62
↓ 3 callers
Method
delMax
()
2-Sorting/2-4-PriorityQueues/IndexMaxPQ.java:61
↓ 3 callers
Method
delete
(Key key)
3-Searching/3-1-SymbolTables/BinarySearchST.java:121
↓ 3 callers
Method
distTo
(int v)
4-Graphs/4-4-ShortestPaths/DijkstraSP.java:69
↓ 3 callers
Method
divides
(Complex b)
Beyond/Complex.java:96
↓ 3 callers
Method
dot
Returns the dot product of this and that. @param that Vector to dot with @return This dot that
StdLib/StdDraw3D.java:4240
↓ 3 callers
Method
draw
()
1-Fundamentals/1-2-DataAbstraction/Point2D.java:178
↓ 3 callers
Method
dual
()
6-Context/6-5-Reductions/Simplex.java:125
↓ 3 callers
Method
elapsedTime
Return elapsed time (in seconds) since this object was created.
1-Fundamentals/1-4-AnalysisOfAlgorithms/Stopwatch.java:34
↓ 3 callers
Method
exch
(int i, int j)
2-Sorting/2-4-PriorityQueues/IndexMinPQ.java:118
↓ 3 callers
Method
exch
(int i, int j)
2-Sorting/2-4-PriorityQueues/IndexMaxPQ.java:116
↓ 3 callers
Method
exch
(int i, int j)
2-Sorting/2-4-PriorityQueues/MaxPQ.java:183
↓ 3 callers
Method
exch
(int i, int j)
2-Sorting/2-4-PriorityQueues/MinPQ.java:177
↓ 3 callers
Method
exch
(Object[] a, int i, int j)
2-Sorting/2-1-ElementarySorts/Insertion.java:82
↓ 3 callers
Method
exch
(String[] a, int i, int j)
5-Strings/5-1-StringSorts/Quick3string.java:76
↓ 3 callers
Method
first
()
1-Fundamentals/1-3-BagsQueuesStacks/List.java:45
↓ 3 callers
Method
floor
Return the largest key in this set <= k.
3-Searching/SET.java:122
↓ 3 callers
Method
floor
Return the largest key in the table <= k.
3-Searching/ST.java:135
↓ 3 callers
Method
get
(Key key)
3-Searching/3-4-HashTables/SeparateChainingHashST.java:75
↓ 3 callers
Method
get
(String key)
5-Strings/5-2-Tries/TrieST.java:36
↓ 3 callers
Method
getDirection
()
StdLib/StdDraw3D.java:3880
↓ 3 callers
Method
greater
General helper functions
2-Sorting/2-4-PriorityQueues/IndexMinPQ.java:114
↓ 3 callers
Method
hasCycle
()
4-Graphs/4-2-DirectedGraphs/DirectedCycle.java:66
↓ 3 callers
Method
hasCycle
()
4-Graphs/4-4-ShortestPaths/EdgeWeightedDirectedCycle.java:61
↓ 3 callers
Method
hasNext
()
2-Sorting/2-4-PriorityQueues/MaxPQ.java:230
↓ 3 callers
Method
hasPathTo
(int v)
4-Graphs/4-4-ShortestPaths/DijkstraSP.java:74
↓ 3 callers
Method
hash
(Key key)
3-Searching/3-4-HashTables/SeparateChainingHashST.java:55
↓ 3 callers
Method
hash
(Key key)
3-Searching/3-4-HashTables/LinearProbingHashST.java:53
↓ 3 callers
Method
id
(int v)
4-Graphs/4-1-UndirectedGraphs/CC.java:49
↓ 3 callers
Method
index
(String s)
4-Graphs/4-1-UndirectedGraphs/SymbolGraph.java:80
← previous
next →
201–300 of 1,619, ranked by callers