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
↓ 1 callers
Method
rank
(int key, int[] a)
1-Fundamentals/1-1-BasicProgModel/Ex_1_1_22a.java:8
↓ 1 callers
Method
rank
(int key)
1-Fundamentals/1-2-DataAbstraction/StaticSETofInts.java:28
↓ 1 callers
Method
rankCheck
()
3-Searching/3-1-SymbolTables/BinarySearchST.java:230
↓ 1 callers
Method
re
()
Beyond/Complex.java:92
↓ 1 callers
Method
readBoolean2D
Read in and return an M-by-N array of booleans from standard input.
StdLib/StdArrayIO.java:199
↓ 1 callers
Method
readByte
(String filename)
StdLib/StdAudio.java:170
↓ 1 callers
Method
readChar
Read and return the next character.
StdLib/In.java:169
↓ 1 callers
Method
readDouble
Read the next 64 bits from standard input and return as a 64-bit double. @return the next 64 bits of data from standard input as a <tt>double</tt> @th
StdLib/BinaryStdIn.java:226
↓ 1 callers
Method
readDouble2D
Read in and return an M-by-N array of doubles from standard input.
StdLib/StdArrayIO.java:87
↓ 1 callers
Method
readDoubles
Read doubles from file
StdLib/In.java:263
↓ 1 callers
Method
readFloat
Read the next 32 bits from standard input and return as a 32-bit float. @return the next 32 bits of data from standard input as a <tt>float</tt> @thro
StdLib/BinaryStdIn.java:235
↓ 1 callers
Method
readInt
Read the next 32 bits from the binary input stream and return as a 32-bit int. @return the next 32 bits of data from the binary input stream as a <tt>
StdLib/BinaryIn.java:245
↓ 1 callers
Method
readLong
Read the next 64 bits from the binary input stream and return as a 64-bit long. @return the next 64 bits of data from the binary input stream as a <tt
StdLib/BinaryIn.java:281
↓ 1 callers
Method
readTrie
()
5-Strings/5-5-DataCompression/Huffman.java:161
↓ 1 callers
Method
reciprocal
()
Beyond/Complex.java:86
↓ 1 callers
Method
reciprocal
()
1-Fundamentals/1-2-DataAbstraction/Rational.java:140
↓ 1 callers
Method
rectangle
Draw a 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 y-coor
StdLib/StdDraw.java:534
↓ 1 callers
Method
redraw
(double limit)
6-Context/6-1-EventDrivenSim/CollisionSystem.java:43
↓ 1 callers
Method
relax
(DirectedEdge e)
4-Graphs/4-4-ShortestPaths/DijkstraSP.java:58
↓ 1 callers
Method
relax
(DirectedEdge e)
4-Graphs/4-4-ShortestPaths/AcyclicLP.java:42
↓ 1 callers
Method
relax
(DirectedEdge e)
4-Graphs/4-4-ShortestPaths/AcyclicSP.java:43
↓ 1 callers
Method
relax
(EdgeWeightedDigraph G, int v)
4-Graphs/4-4-ShortestPaths/BellmanFordSP.java:59
↓ 1 callers
Method
remove
(DoubleNode node)
1-Fundamentals/1-3-BagsQueuesStacks/DoublyLinkedList.java:178
↓ 1 callers
Method
removeAfter
Exercise 1.3.24
1-Fundamentals/1-3-BagsQueuesStacks/List.java:276
↓ 1 callers
Method
removeRec
Recursive solution to Exercise 1.3.26
1-Fundamentals/1-3-BagsQueuesStacks/List.java:206
↓ 1 callers
Method
remove_Node
(Node node, Item item)
1-Fundamentals/1-3-BagsQueuesStacks/List.java:212
↓ 1 callers
Method
repeat
(int n, char c)
1-Fundamentals/1-1-BasicProgModel/Ex_1_1_22b.java:26
↓ 1 callers
Method
repeat
(int n, char c)
1-Fundamentals/1-1-BasicProgModel/Ex_1_1_22a.java:25
↓ 1 callers
Method
reverse
Return the reverse of the digraph.
4-Graphs/4-2-DirectedGraphs/Digraph.java:123
↓ 1 callers
Method
reverse
Exercise 1.3.30
1-Fundamentals/1-3-BagsQueuesStacks/List.java:359
↓ 1 callers
Method
reverseRec
Recursive solution to Exercise 1.3.30
1-Fundamentals/1-3-BagsQueuesStacks/List.java:383
↓ 1 callers
Method
reversed
Used in unit tests, to verify that the list is double-linked correctly.
1-Fundamentals/1-3-BagsQueuesStacks/DoublyLinkedList.java:230
↓ 1 callers
Method
rotateAxis
(Vector3D axis, double angle)
StdLib/StdDraw3D.java:3687
↓ 1 callers
Method
save
Save onscreen image to file - suffix must be png, jpg, or gif. @param filename the name of the file with one of the required suffixes
StdLib/StdDraw.java:853
↓ 1 callers
Method
save
Save to file - suffix must be png, jpg, or gif. @param filename the name of the file with one of the required suffixes
StdLib/Draw.java:851
↓ 1 callers
Method
save
Saves to file - suffix must be png, jpg, or gif. gif?? @param filename The name of the file with one of the required suffixes.
StdLib/StdDraw3D.java:3461
↓ 1 callers
Method
save
Save the picture to a file in a standard image format. The filetype must be .png or .jpg.
StdLib/Picture.java:225
↓ 1 callers
Method
save3DAction
()
StdLib/StdDraw3D.java:1666
↓ 1 callers
Method
saveAction
()
StdLib/StdDraw3D.java:1692
↓ 1 callers
Method
saveScene3D
(String filename)
StdLib/StdDraw3D.java:3511
↓ 1 callers
Method
scalePower
(double power)
StdLib/StdDraw3D.java:4105
↓ 1 callers
Method
scan
(EdgeWeightedGraph G, int v)
4-Graphs/4-3-MinSpanningTrees/PrimMST.java:70
↓ 1 callers
Method
search
(String txt)
5-Strings/5-3-SubstringSearch/RabinKarp.java:83
↓ 1 callers
Method
search
(Node x, Key key, int ht)
6-Context/6-2-BTrees/BTree.java:55
↓ 1 callers
Method
select
Rearranges the elements in a so that a[k] is the kth smallest element, and a[0] through a[k-1] are less than or equal to a[k], and a[k+1] through a[
2-Sorting/2-3-Quicksort/Quick.java:75
↓ 1 callers
Method
setBackground
Sets the background color to the given color. @param color The color to set the background as.
StdLib/StdDraw3D.java:1726
↓ 1 callers
Method
setCanvasSize
Set the window size to w-by-h pixels. @param w the width as a number of pixels @param h the height as a number of pixels @throws a RunTimeException i
StdLib/Draw.java:221
↓ 1 callers
Method
setDefaultLight
Adds the default lighting to the scene, called automatically at startup.
StdLib/StdDraw3D.java:1886
↓ 1 callers
Method
setParallelProjection
Sets the projection mode to orthographic projection. In this mode, parallel lines remain parallel after projection, and there is no perspective. It is
StdLib/StdDraw3D.java:1324
↓ 1 callers
Method
setScale
Set the x-scale and y-scale (a 10% border is added to the values) @param min the minimum value of the x- and y-scales @param max the maximum value of
StdLib/StdDraw.java:259
↓ 1 callers
Method
setSeed
Set the seed of the psedurandom number generator.
StdLib/StdRandom.java:74
↓ 1 callers
Method
setXscale
Set the x-scale to be the default (between 0.0 and 1.0).
StdLib/Draw.java:250
↓ 1 callers
Method
setYscale
Set the y-scale to be the default (between 0.0 and 1.0).
StdLib/Draw.java:255
↓ 1 callers
Method
show
(Comparable[] a)
2-Sorting/2-2-Mergesort/MergeBU.java:90
↓ 1 callers
Method
show
(Comparable[] a)
2-Sorting/2-2-Mergesort/Merge.java:142
↓ 1 callers
Method
show
(Comparable[] a)
2-Sorting/2-4-PriorityQueues/Heap.java:81
↓ 1 callers
Method
show
(Comparable[] a)
2-Sorting/2-1-ElementarySorts/Selection.java:111
↓ 1 callers
Method
show
(Comparable[] a)
2-Sorting/2-1-ElementarySorts/Insertion.java:121
↓ 1 callers
Method
show
(Comparable[] a)
2-Sorting/2-1-ElementarySorts/Shell.java:90
↓ 1 callers
Method
show
(Comparable[] a)
2-Sorting/2-3-Quicksort/Quick3way.java:91
↓ 1 callers
Method
show
(Comparable[] a)
2-Sorting/2-3-Quicksort/Quick.java:124
↓ 1 callers
Method
shuffle
(int[] a)
1-Fundamentals/1-1-BasicProgModel/Ex_1_1_36.java:6
↓ 1 callers
Method
simulate
Event based simulation for limit seconds
6-Context/6-1-EventDrivenSim/CollisionSystem.java:58
↓ 1 callers
Method
size
()
3-Searching/3-4-HashTables/SeparateChainingHashST.java:60
↓ 1 callers
Method
size
()
3-Searching/3-4-HashTables/LinearProbingHashST.java:38
↓ 1 callers
Method
size
()
3-Searching/3-1-SymbolTables/SequentialSearchST.java:45
↓ 1 callers
Method
size
Return the number of items in the bag.
1-Fundamentals/1-3-BagsQueuesStacks/Bag.java:51
↓ 1 callers
Method
size
Return the number of items in the stack.
1-Fundamentals/1-3-BagsQueuesStacks/Stack.java:59
↓ 1 callers
Method
size
Return the number of items in the queue.
1-Fundamentals/1-3-BagsQueuesStacks/Queue.java:58
↓ 1 callers
Method
size
Return the number of items in the queue.
1-Fundamentals/1-3-BagsQueuesStacks/Ex_1_3_29.java:40
↓ 1 callers
Method
size
()
1-Fundamentals/1-3-BagsQueuesStacks/ResizingArrayStack.java:32
↓ 1 callers
Method
size
()
1-Fundamentals/1-3-BagsQueuesStacks/ResizingArrayQueue.java:31
↓ 1 callers
Method
size
()
6-Context/6-2-BTrees/BTree.java:47
↓ 1 callers
Method
sol
(int i)
6-Context/6-5-Reductions/AssignmentProblem.java:107
↓ 1 callers
Method
solve
()
6-Context/6-5-Reductions/Simplex.java:46
↓ 1 callers
Method
sort
(Comparable[] a)
2-Sorting/2-2-Mergesort/MergeBU.java:49
↓ 1 callers
Method
sort
(Comparable[] pq)
2-Sorting/2-4-PriorityQueues/Heap.java:26
↓ 1 callers
Method
sort
(Comparable[] a)
2-Sorting/2-1-ElementarySorts/Selection.java:29
↓ 1 callers
Method
sort
(Comparable[] a)
2-Sorting/2-1-ElementarySorts/Insertion.java:29
↓ 1 callers
Method
sort
(Comparable[] a)
2-Sorting/2-1-ElementarySorts/Shell.java:34
↓ 1 callers
Method
sort
(Comparable[] a)
2-Sorting/2-3-Quicksort/Quick3way.java:27
↓ 1 callers
Method
sort
(Comparable[] a)
2-Sorting/2-3-Quicksort/Quick.java:27
↓ 1 callers
Method
sort
(String[] a)
5-Strings/5-1-StringSorts/Quick3string.java:29
↓ 1 callers
Method
sort
(String[] a)
5-Strings/5-1-StringSorts/MSD.java:30
↓ 1 callers
Method
square
Draw a 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 center of
StdLib/StdDraw.java:496
↓ 1 callers
Method
square
Draw a 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 center of
StdLib/Draw.java:515
↓ 1 callers
Method
stddev
()
1-Fundamentals/1-2-DataAbstraction/VarianceAccumulator.java:26
↓ 1 callers
Method
stddev
Return sample standard deviation of array, NaN if no such value.
StdLib/StdStats.java:219
↓ 1 callers
Method
stronglyConnected
(int v, int w)
4-Graphs/4-2-DirectedGraphs/KosarajuSCC.java:60
↓ 1 callers
Method
swim
Helper functions to restore the heap invariant.
2-Sorting/2-4-PriorityQueues/MaxPQ.java:154
↓ 1 callers
Method
swim
Helper functions to restore the heap invariant.
2-Sorting/2-4-PriorityQueues/MinPQ.java:148
↓ 1 callers
Method
test1
()
6-Context/6-5-Reductions/Simplex.java:240
↓ 1 callers
Method
test2
()
6-Context/6-5-Reductions/Simplex.java:255
↓ 1 callers
Method
test3
()
6-Context/6-5-Reductions/Simplex.java:267
↓ 1 callers
Method
test4
()
6-Context/6-5-Reductions/Simplex.java:278
↓ 1 callers
Method
testBaseMethods
Unit tests
1-Fundamentals/1-3-BagsQueuesStacks/List.java:411
↓ 1 callers
Method
testContains
()
1-Fundamentals/1-3-BagsQueuesStacks/List.java:468
↓ 1 callers
Method
testDelete
()
1-Fundamentals/1-3-BagsQueuesStacks/List.java:441
↓ 1 callers
Method
testInsertAfter
()
1-Fundamentals/1-3-BagsQueuesStacks/DoublyLinkedList.java:360
↓ 1 callers
Method
testInsertAfter
()
1-Fundamentals/1-3-BagsQueuesStacks/List.java:561
← previous
next →
801–900 of 1,619, ranked by callers