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
↓ 10 callers
Method
printf
Print a formatted string using the specified format string and arguments, and then flush the output stream.
StdLib/Out.java:225
↓ 10 callers
Method
readAll
Read and return the remainder of the input as a string.
StdLib/In.java:183
↓ 10 callers
Method
setXscale
Set the x-scale to be the default (between 0.0 and 1.0).
StdLib/StdDraw.java:225
↓ 10 callers
Method
sin
()
Beyond/Complex.java:107
↓ 9 callers
Method
add
Add the item to the bag.
1-Fundamentals/1-3-BagsQueuesStacks/Bag.java:58
↓ 9 callers
Method
draw
Draws this vector as a point from the origin to System.out.
StdLib/StdDraw3D.java:4437
↓ 9 callers
Method
fillBuffer
()
StdLib/BinaryIn.java:123
↓ 9 callers
Method
hasPathTo
(int v)
4-Graphs/4-1-UndirectedGraphs/BreadthFirstPaths.java:98
↓ 9 callers
Method
isEmpty
()
1-Fundamentals/1-3-BagsQueuesStacks/DoublyLinkedList.java:48
↓ 9 callers
Method
keys
Range count and range search.
3-Searching/3-2-BinarySearchTrees/BST.java:244
↓ 9 callers
Method
length
()
6-Context/6-3-SuffixArrays/SuffixArray.java:40
↓ 9 callers
Method
put
(int i, double value)
3-Searching/3-5-Applications/SparseVector.java:22
↓ 9 callers
Method
readAll
Return rest of input from standard input
StdLib/StdIn.java:142
↓ 9 callers
Method
setCameraMode
Sets the current camera mode. <br> -------------------------------------- <br> StdDraw3D.ORBIT_MODE: <br> Rotates and zooms around a central point. <b
StdLib/StdDraw3D.java:1215
↓ 9 callers
Method
shape
Draws a Java 3D Shape3D object and fills it in. @param shape The Shape3D object to be drawn.
StdLib/StdDraw3D.java:3003
↓ 9 callers
Method
size
(int v)
4-Graphs/4-1-UndirectedGraphs/CC.java:54
↓ 8 callers
Method
adj
Return the edges leaving vertex v as an Iterable. To iterate over the edges leaving vertex v, use foreach notation: <tt>for (DirectedEdge e : graph.ad
4-Graphs/4-4-ShortestPaths/EdgeWeightedDigraph.java:117
↓ 8 callers
Method
cos
()
Beyond/Complex.java:112
↓ 8 callers
Method
createBufferedImage
Creates a blank BufferedImage. @return The created BufferedImage.
StdLib/StdDraw3D.java:816
↓ 8 callers
Method
createShape3D
(Geometry geom)
StdLib/StdDraw3D.java:799
↓ 8 callers
Method
dequeue
Remove and return the item on the queue least recently added. Throw an exception if the queue is empty.
1-Fundamentals/1-3-BagsQueuesStacks/Queue.java:86
↓ 8 callers
Method
edges
()
4-Graphs/4-3-MinSpanningTrees/PrimMST.java:85
↓ 8 callers
Method
from
()
6-Context/6-4-Maxflow/FlowEdge.java:41
↓ 8 callers
Method
node
Operations on nodes
1-Fundamentals/1-3-BagsQueuesStacks/List.java:250
↓ 8 callers
Method
read
Read audio samples from a file (in .wav or .au format) and return them as a double array with values between -1.0 and +1.0.
StdLib/StdAudio.java:123
↓ 8 callers
Method
times
(Complex b)
Beyond/Complex.java:69
↓ 8 callers
Method
weight
()
4-Graphs/4-3-MinSpanningTrees/BoruvkaMST.java:73
↓ 8 callers
Method
weight
()
4-Graphs/4-3-MinSpanningTrees/PrimMST.java:98
↓ 7 callers
Method
V
()
6-Context/6-4-Maxflow/FlowNetwork.java:49
↓ 7 callers
Method
adj
(int v)
6-Context/6-4-Maxflow/FlowNetwork.java:62
↓ 7 callers
Method
delete
Exercise 1.3.20
1-Fundamentals/1-3-BagsQueuesStacks/List.java:140
↓ 7 callers
Method
edges
()
4-Graphs/4-3-MinSpanningTrees/BoruvkaMST.java:68
↓ 7 callers
Method
edges
()
4-Graphs/4-3-MinSpanningTrees/KruskalMST.java:67
↓ 7 callers
Method
flush
Flush standard output, padding 0s if number of bits written so far is not a multiple of 8.
StdLib/BinaryStdOut.java:85
↓ 7 callers
Method
hasNextLine
Does the input stream have a next line?
StdLib/In.java:152
↓ 7 callers
Method
insert
Add a new key to the priority queue.
2-Sorting/2-4-PriorityQueues/MaxPQ.java:123
↓ 7 callers
Method
isEmpty
()
3-Searching/3-3-BalancedSearchTrees/RedBlackBST.java:74
↓ 7 callers
Method
isEmpty
Returns true if the binary input stream is empty. @return true if and only if the binary input stream is empty
StdLib/BinaryIn.java:139
↓ 7 callers
Method
readChar
Read the next 8 bits from the binary input stream and return as an 8-bit char. @return the next 8 bits of data from the binary input stream as a <tt>c
StdLib/BinaryIn.java:161
↓ 7 callers
Method
readInt
Read the next 32 bits from standard input and return as a 32-bit int. @return the next 32 bits of data from standard input as a <tt>int</tt> @throws R
StdLib/BinaryStdIn.java:173
↓ 7 callers
Method
readInts
Read ints from file
StdLib/In.java:251
↓ 7 callers
Method
readLine
Return rest of line from standard input
StdLib/StdIn.java:123
↓ 7 callers
Method
readString
Return the next string from the input stream.
StdLib/In.java:195
↓ 7 callers
Method
setPenColor
Sets the pen color to the given color and transparency. @param col The given opaque color. @param alpha The transparency value (0-255).
StdLib/StdDraw3D.java:1013
↓ 7 callers
Method
setPosition
(double x, double y, double z)
StdLib/StdDraw3D.java:3723
↓ 7 callers
Method
setYscale
Set the y-scale to be the default (between 0.0 and 1.0).
StdLib/StdDraw.java:230
↓ 7 callers
Method
showList
Unit test helpers
1-Fundamentals/1-3-BagsQueuesStacks/DoublyLinkedList.java:383
↓ 7 callers
Method
weight
Return the weight of this edge.
4-Graphs/4-3-MinSpanningTrees/Edge.java:33
↓ 6 callers
Method
append
(Item item)
1-Fundamentals/1-3-BagsQueuesStacks/DoublyLinkedList.java:107
↓ 6 callers
Method
close
Flush and close standard output. Once standard output is closed, you can no longer write bits to it.
StdLib/BinaryStdOut.java:95
↓ 6 callers
Method
contains
(int k)
2-Sorting/2-4-PriorityQueues/IndexMaxPQ.java:29
↓ 6 callers
Method
distanceTo
Returns the Euclidian distance between this and that. @param that Vector to compute distance between @return Distance between this and that
StdLib/StdDraw3D.java:4276
↓ 6 callers
Method
edges
()
4-Graphs/4-3-MinSpanningTrees/LazyPrimMST.java:84
↓ 6 callers
Method
excess
(FlowNetwork G, int v)
6-Context/6-4-Maxflow/FordFulkerson.java:88
↓ 6 callers
Method
find
Return the id of component corresponding to object p.
1-Fundamentals/1-5-UnionFind/UF.java:60
↓ 6 callers
Method
flow
()
6-Context/6-4-Maxflow/FlowEdge.java:44
↓ 6 callers
Method
get
(Key key)
6-Context/6-2-BTrees/BTree.java:54
↓ 6 callers
Method
getImage
Gets an image from the given filename.
StdLib/StdDraw3D.java:3360
↓ 6 callers
Method
getPosition
()
StdLib/StdDraw3D.java:3735
↓ 6 callers
Method
insert
Add a new key to the priority queue.
2-Sorting/2-4-PriorityQueues/MinPQ.java:118
↓ 6 callers
Method
insert
(Node h, Key key, Value value, int ht)
6-Context/6-2-BTrees/BTree.java:92
↓ 6 callers
Method
isEmpty
()
3-Searching/3-1-SymbolTables/BinarySearchST.java:67
↓ 6 callers
Method
mag
Returns the magnitude of this vector. @return Magnitude of vector
StdLib/StdDraw3D.java:4252
↓ 6 callers
Method
max
Return maximum value in array, -infinity if no such value.
StdLib/StdStats.java:44
↓ 6 callers
Method
mean
Return average value in array, NaN if no such value.
StdLib/StdStats.java:114
↓ 6 callers
Method
min
Return the smallest key in the table.
3-Searching/ST.java:111
↓ 6 callers
Method
rank
(Key key)
3-Searching/3-2-BinarySearchTrees/BST.java:228
↓ 6 callers
Method
rank
(Key key)
3-Searching/3-3-BalancedSearchTrees/RedBlackBST.java:415
↓ 6 callers
Method
rotateRight
(Node h)
3-Searching/3-3-BalancedSearchTrees/RedBlackBST.java:242
↓ 6 callers
Method
set
Set the color of pixel (i, j) to c.
StdLib/Picture.java:198
↓ 6 callers
Method
setScale
Sets the default scale for all three dimensions.
StdLib/StdDraw3D.java:908
↓ 6 callers
Method
to
()
6-Context/6-4-Maxflow/FlowEdge.java:42
↓ 6 callers
Method
userX
(double x)
StdLib/Draw.java:284
↓ 6 callers
Method
userY
(double y)
StdLib/Draw.java:285
↓ 6 callers
Method
weight
()
4-Graphs/4-3-MinSpanningTrees/KruskalMST.java:72
↓ 6 callers
Method
weight
()
4-Graphs/4-3-MinSpanningTrees/LazyPrimMST.java:89
↓ 5 callers
Method
addEdge
(FlowEdge e)
6-Context/6-4-Maxflow/FlowNetwork.java:53
↓ 5 callers
Method
constructPoint3f
Constructs a Point3f array from the given coordinate arrays.
StdLib/StdDraw3D.java:2814
↓ 5 callers
Method
contains
(String s)
4-Graphs/4-1-UndirectedGraphs/SymbolGraph.java:76
↓ 5 callers
Method
createTransformGroup
Creates a blank TransformGroup with the proper capabilities.
StdLib/StdDraw3D.java:644
↓ 5 callers
Method
distTo
(int v)
4-Graphs/4-4-ShortestPaths/AcyclicLP.java:51
↓ 5 callers
Method
greater
Helper functions for compares and swaps.
2-Sorting/2-4-PriorityQueues/MinPQ.java:168
↓ 5 callers
Method
hasNextLine
Does standard input have a next line?
StdLib/StdIn.java:116
↓ 5 callers
Method
inCut
(int v)
6-Context/6-4-Maxflow/FordFulkerson.java:50
↓ 5 callers
Method
insert
(int k, Key key)
2-Sorting/2-4-PriorityQueues/IndexMinPQ.java:39
↓ 5 callers
Method
isEmpty
Is the priority queue empty?
2-Sorting/2-4-PriorityQueues/MaxPQ.java:91
↓ 5 callers
Method
less
Helper functions for compares and swaps.
2-Sorting/2-4-PriorityQueues/MaxPQ.java:174
↓ 5 callers
Method
less
(Comparable v, Comparable w)
2-Sorting/2-1-ElementarySorts/Insertion.java:72
↓ 5 callers
Method
move
(double xShift, double yShift, double zShift)
StdLib/StdDraw3D.java:3700
↓ 5 callers
Method
plus
(Rational that)
1-Fundamentals/1-2-DataAbstraction/Rational.java:110
↓ 5 callers
Method
point
Draw a point at (x, y). @param x the x-coordinate of the point @param y the y-coordinate of the point
StdLib/StdDraw.java:377
↓ 5 callers
Method
relToAbs
(Vector3D r)
StdLib/StdDraw3D.java:3608
↓ 5 callers
Method
select
(int i)
6-Context/6-3-SuffixArrays/SuffixArray.java:46
↓ 5 callers
Method
setOrientation
(double xAngle, double yAngle, double zAngle)
StdLib/StdDraw3D.java:3792
↓ 5 callers
Method
setPenColor
Set the pen color to the default color (black).
StdLib/Draw.java:334
↓ 5 callers
Method
show
(Complex[] x, String title)
Beyond/FFT.java:126
↓ 5 callers
Method
shuffle
Rearrange the elements of an array in random order.
StdLib/StdRandom.java:227
↓ 5 callers
Method
size
Return the number of items on the priority queue.
2-Sorting/2-4-PriorityQueues/MinPQ.java:94
↓ 4 callers
Method
absToRel
(Vector3D r)
StdLib/StdDraw3D.java:3621
↓ 4 callers
Method
area2
(Point2D a, Point2D b, Point2D c)
1-Fundamentals/1-2-DataAbstraction/Point2D.java:60
← previous
next →
101–200 of 1,619, ranked by callers