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
↓ 452 callers
Method
println
Terminate the current line by printing the line separator string.
StdLib/StdOut.java:54
↓ 128 callers
Method
println
Terminate the line.
StdLib/Out.java:88
↓ 101 callers
Method
printf
Print a formatted string to standard output using the specified format string and arguments, and flush standard output.
StdLib/StdOut.java:204
↓ 88 callers
Method
add
Add the key to this set.
3-Searching/SET.java:64
↓ 68 callers
Method
print
Flush standard output.
StdLib/StdOut.java:124
↓ 61 callers
Method
charAt
(String s, int d)
5-Strings/5-1-StringSorts/MSD.java:37
↓ 61 callers
Method
push
Add the item to the stack.
1-Fundamentals/1-3-BagsQueuesStacks/Stack.java:66
↓ 58 callers
Method
equals
(Object x)
1-Fundamentals/1-2-DataAbstraction/Date.java:91
↓ 54 callers
Method
compareTo
Compare edges by weight.
4-Graphs/4-3-MinSpanningTrees/Edge.java:57
↓ 51 callers
Method
length
()
1-Fundamentals/1-2-DataAbstraction/Vector.java:63
↓ 48 callers
Method
isRed
(Node x)
3-Searching/3-3-BalancedSearchTrees/RedBlackBST.java:54
↓ 45 callers
Method
uniform
Return real number uniformly in [0, 1).
StdLib/StdRandom.java:89
↓ 44 callers
Method
readInt
Return next int from standard input
StdLib/StdIn.java:61
↓ 41 callers
Method
isEmpty
Is there only whitespace left on standard input?
StdLib/StdIn.java:47
↓ 40 callers
Method
V
Return the number of vertices in the digraph.
4-Graphs/4-2-DirectedGraphs/Digraph.java:94
↓ 38 callers
Method
V
Return the number of vertices in the graph.
4-Graphs/4-1-UndirectedGraphs/Graph.java:112
↓ 38 callers
Method
enqueue
Add the item to the queue.
1-Fundamentals/1-3-BagsQueuesStacks/Queue.java:74
↓ 33 callers
Method
V
Return the number of vertices in this digraph.
4-Graphs/4-4-ShortestPaths/EdgeWeightedDigraph.java:90
↓ 33 callers
Method
pop
Delete and 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:78
↓ 30 callers
Method
append
(Item item)
1-Fundamentals/1-3-BagsQueuesStacks/List.java:76
↓ 30 callers
Method
draw
()
StdLib/StdDraw.java:838
↓ 30 callers
Method
random
Return real number uniformly in [0, 1).
StdLib/StdRandom.java:108
↓ 30 callers
Method
readString
Return next string from standard input
StdLib/StdIn.java:54
↓ 29 callers
Method
other
Return the endpoint of this edge that is different from the given vertex (unless a self-loop).
4-Graphs/4-3-MinSpanningTrees/Edge.java:48
↓ 29 callers
Method
put
Put key-value pair into the symbol table. Remove key from table if value is null.
3-Searching/ST.java:54
↓ 29 callers
Method
scaleX
Scales the given x-coordinate from user coordinates into 2D pixel coordinates.
StdLib/StdDraw3D.java:940
↓ 29 callers
Method
scaleY
Scales the given y-coordinate from user coordinates into 2D pixel coordinates.
StdLib/StdDraw3D.java:951
↓ 29 callers
Method
write
Write the specified bit to standard output. @param x the <tt>boolean</tt> to write.
StdLib/BinaryStdOut.java:106
↓ 28 callers
Method
draw
()
StdLib/Draw.java:836
↓ 27 callers
Method
abs
()
Beyond/Complex.java:49
↓ 27 callers
Method
flush
Flush the binary output stream, padding 0s if number of bits written so far is not a multiple of 8.
StdLib/BinaryOut.java:124
↓ 26 callers
Method
isKeyPressed
Is the given key currently pressed down? The keys correnspond to physical keys, not characters. For letters, use the uppercase character to refer to t
StdLib/StdDraw3D.java:1589
↓ 25 callers
Method
V
Return the number of vertices in this graph.
4-Graphs/4-3-MinSpanningTrees/EdgeWeightedGraph.java:105
↓ 25 callers
Method
either
Return either endpoint of this edge.
4-Graphs/4-3-MinSpanningTrees/Edge.java:40
↓ 25 callers
Method
scaleX
(double x)
StdLib/StdDraw.java:265
↓ 25 callers
Method
scaleY
(double y)
StdLib/StdDraw.java:266
↓ 25 callers
Method
setColor
(Color c)
StdLib/StdDraw3D.java:4034
↓ 24 callers
Method
scaleX
(double x)
StdLib/Draw.java:280
↓ 24 callers
Method
scaleY
(double y)
StdLib/Draw.java:281
↓ 23 callers
Method
get
Return the value paired with given key; null if key is not in table.
3-Searching/ST.java:62
↓ 23 callers
Method
getGraphics2D
(BufferedImage image)
StdLib/StdDraw3D.java:3383
↓ 22 callers
Method
createBranchGroup
Creates a blank BranchGroup with the proper capabilities.
StdLib/StdDraw3D.java:629
↓ 22 callers
Method
showList
Unit test helpers
1-Fundamentals/1-3-BagsQueuesStacks/List.java:600
↓ 20 callers
Method
createVector3f
Converts three double scalars to a Vector3f.
StdLib/StdDraw3D.java:826
↓ 20 callers
Method
equals
Does this SET equal that set.
3-Searching/SET.java:162
↓ 20 callers
Method
readInt
Return the next int from the input stream.
StdLib/In.java:202
↓ 20 callers
Method
sort
(String[] a, int W)
5-Strings/5-1-StringSorts/LSD.java:23
↓ 20 callers
Method
split
(Node h)
6-Context/6-2-BTrees/BTree.java:124
↓ 19 callers
Method
rotate
(double xAngle, double yAngle, double zAngle)
StdLib/StdDraw3D.java:3742
↓ 18 callers
Method
equals
Is this Picture equal to obj?
StdLib/Picture.java:207
↓ 18 callers
Method
isEmpty
Is the input stream empty?
StdLib/In.java:145
↓ 18 callers
Method
remove
Exercise 1.3.26
1-Fundamentals/1-3-BagsQueuesStacks/List.java:187
↓ 17 callers
Method
getTransform
()
StdLib/StdDraw3D.java:3598
↓ 16 callers
Method
put
(Key key, Value value)
6-Context/6-2-BTrees/BTree.java:78
↓ 16 callers
Method
size
()
3-Searching/3-2-BinarySearchTrees/BST.java:48
↓ 16 callers
Method
size
(Node x)
3-Searching/3-3-BalancedSearchTrees/RedBlackBST.java:60
↓ 16 callers
Method
writeByte
Write the 8-bit byte to standard output.
StdLib/BinaryStdOut.java:54
↓ 16 callers
Method
writeByte
Write the 8-bit byte to the binary output stream.
StdLib/BinaryOut.java:93
↓ 15 callers
Method
connected
Are objects p and q in the same set?
1-Fundamentals/1-5-UnionFind/UF.java:77
↓ 15 callers
Method
from
Return the vertex where this edge begins.
4-Graphs/4-4-ShortestPaths/DirectedEdge.java:33
↓ 15 callers
Method
isEmpty
Returns true if standard input is empty. @return true if and only if standard input is empty
StdLib/BinaryStdIn.java:66
↓ 15 callers
Method
readDouble
Return next double from standard input
StdLib/StdIn.java:68
↓ 15 callers
Method
weight
Return the weight of this edge.
4-Graphs/4-4-ShortestPaths/DirectedEdge.java:47
↓ 14 callers
Method
addEdge
Add the edge e to this digraph.
4-Graphs/4-4-ShortestPaths/EdgeWeightedDigraph.java:105
↓ 14 callers
Method
rank
(Key key)
3-Searching/3-1-SymbolTables/BinarySearchST.java:80
↓ 14 callers
Method
readChar
Read the next 8 bits from standard input and return as an 8-bit char. Note that <tt>char</tt> is a 16-bit type; to read the next 16 bits as a char, us
StdLib/BinaryStdIn.java:90
↓ 14 callers
Method
setTransform
(Transform3D t)
StdLib/StdDraw3D.java:3604
↓ 14 callers
Method
write
Write the specified bit to the binary output stream. @param x the <tt>boolean</tt> to write.
StdLib/BinaryOut.java:144
↓ 13 callers
Method
adj
Return the list of neighbors of vertex v as in Iterable.
4-Graphs/4-1-UndirectedGraphs/Graph.java:133
↓ 13 callers
Method
isEmpty
Is the stack empty?
1-Fundamentals/1-3-BagsQueuesStacks/Stack.java:52
↓ 13 callers
Method
to
Return the vertex where this edge ends.
4-Graphs/4-4-ShortestPaths/DirectedEdge.java:40
↓ 12 callers
Method
createAppearance
Creates an Appearance. @param imageURL Wraps a texture around from this image file. @param fill If true, fills in faces. If false, outlines. @return
StdLib/StdDraw3D.java:709
↓ 12 callers
Method
moveRelative
(Vector3D move)
StdLib/StdDraw3D.java:3958
↓ 12 callers
Method
overlayPixel
Draws one pixel at (x, y).
StdLib/StdDraw3D.java:3057
↓ 12 callers
Method
pixel
Draw one pixel at (x, y). @param x the x-coordinate of the pixel @param y the y-coordinate of the pixel
StdLib/StdDraw.java:368
↓ 12 callers
Method
pixel
Draw one pixel at (x, y). @param x the x-coordinate of the pixel @param y the y-coordinate of the pixel
StdLib/Draw.java:388
↓ 12 callers
Method
readBoolean
Read the next bit of data from standard input and return as a boolean. @return the next bit of data from standard input as a <tt>boolean</tt> @throws
StdLib/BinaryStdIn.java:75
↓ 12 callers
Method
setPenColor
Set the pen color to the default color (black).
StdLib/StdDraw.java:318
↓ 11 callers
Method
delMin
Delete and return the smallest key on the priority queue. Throw an exception if no such key exists because the priority queue is empty.
2-Sorting/2-4-PriorityQueues/MinPQ.java:132
↓ 11 callers
Method
factorX
(double w)
StdLib/StdDraw.java:267
↓ 11 callers
Method
factorX
(double w)
StdLib/Draw.java:282
↓ 11 callers
Method
factorX
Scales the given width from user coordinates into 2D pixel coordinates.
StdLib/StdDraw3D.java:962
↓ 11 callers
Method
factorY
(double h)
StdLib/StdDraw.java:268
↓ 11 callers
Method
factorY
(double h)
StdLib/Draw.java:283
↓ 11 callers
Method
factorY
Scales the given height from user coordinates into 2D pixel coordinates.
StdLib/StdDraw3D.java:973
↓ 11 callers
Method
isEmpty
Is the queue empty?
1-Fundamentals/1-3-BagsQueuesStacks/Queue.java:51
↓ 11 callers
Method
next
()
1-Fundamentals/1-2-DataAbstraction/Date.java:57
↓ 11 callers
Method
readLine
Read and return the next line.
StdLib/In.java:159
↓ 11 callers
Method
readStrings
Read rest of input as array of strings
StdLib/StdIn.java:174
↓ 11 callers
Method
setPenRadius
Set the pen size to the default (.002).
StdLib/StdDraw.java:296
↓ 11 callers
Method
times
Returns the product of this vector and the scalar a. @param a Scalar to multiply by @return (this.x a, this.y a, this.z a)
StdLib/StdDraw3D.java:4335
↓ 11 callers
Method
union
Replace sets containing p and q with their union.
1-Fundamentals/1-5-UnionFind/UF.java:85
↓ 10 callers
Method
addEdge
Add the edge v-w to graph.
4-Graphs/4-1-UndirectedGraphs/Graph.java:123
↓ 10 callers
Method
adj
Return the list of neighbors of vertex v as in Iterable.
4-Graphs/4-2-DirectedGraphs/Digraph.java:116
↓ 10 callers
Method
contains
Does this set contain the given key?
3-Searching/SET.java:71
↓ 10 callers
Method
contains
Is the key in the table?
3-Searching/ST.java:77
↓ 10 callers
Method
get
(int i)
3-Searching/3-5-Applications/SparseVector.java:29
↓ 10 callers
Method
get
Return the color of pixel (i, j).
StdLib/Picture.java:190
↓ 10 callers
Method
isEmpty
()
1-Fundamentals/1-3-BagsQueuesStacks/List.java:35
↓ 10 callers
Method
primitive
Draws a Java 3D Primitive object at (x, y, z) with axial rotations (xA, yA, zA).
StdLib/StdDraw3D.java:2468
next →
1–100 of 1,619, ranked by callers