Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codemistic/Data-Structures-and-Algorithms
/ functions
Functions
2,714 in github.com/codemistic/Data-Structures-and-Algorithms
⨍
Functions
2,714
◇
Types & classes
687
Method
__init__
(self, val=0, next=None)
Python/add two linked list.py:4
Method
__init__
(self, master, width=500, height=350, canvwidth=600, canvheight=500)
Python/Turtle.py:234
Method
__init__
(self)
Python/Turtle.py:332
Method
__init__
(self, cv)
Python/Turtle.py:378
Method
__init__
(self, type_, data=None)
Python/Turtle.py:776
Method
__init__
(self, bufsize=10)
Python/Turtle.py:818
Method
__init__
(self, cv, mode=_CFG["mode"], colormode=_CFG["colormode"], delay=_CFG["delay"])
Python/Turtle.py:863
Method
__init__
(self, mode=DEFAULT_MODE)
Python/Turtle.py:1421
Method
__init__
(self, screen, shapeIndex)
Python/Turtle.py:2384
Method
__init__
(self, canvas=None, shape=_CFG["shape"], undobuffersize=_CFG["undobuffersize
Python/Turtle.py:2418
Method
__init__
(self)
Python/Turtle.py:3570
Method
__init__
(self, shape=_CFG["shape"], undobuffersize=_CFG["undobuffersize"],
Python/Turtle.py:3706
Method
__init__
(self, data)
Python/Flattening of a linked list/solution.py:5
Method
__init__
(self)
Python/Flattening of a linked list/solution.py:12
Method
__iter__
(self)
Python/stack using linked list.py:10
Method
__len__
(self)
Python/queue via stack.py:7
Method
__lt__
(self, nxt)
Python/HuffmanCodingAlgo.py:16
Method
__mul__
(self, other)
Python/Turtle.py:152
Method
__neg__
(self)
Python/Turtle.py:162
Method
__new__
(cls, x, y)
Python/Turtle.py:148
Method
__repr__
(self)
Python/Turtle.py:175
Method
__repr__
(self)
Python/Turtle.py:849
Method
__rmul__
(self, other)
Python/Turtle.py:156
Method
__str__
(self)
Python/stack using linked list.py:20
Method
__str__
(self)
Python/circular queue.py:10
Method
__sub__
(self, other)
Python/Turtle.py:160
Method
_color
(self, args)
Python/Turtle.py:2591
Method
_delay
Delay subsequent canvas actions for delay ms.
Python/Turtle.py:461
Method
_goto
Move the pen to the point end, thereby drawing a line if pen is down. All other methods for turtle movement depend on this one.
Python/Turtle.py:3043
Function
_print
CPP/Segment Tree/Sum query.cpp:76
Function
_print
CPP/Segment Tree/Maximum element query.cpp:76
Function
_screen_docrevise
To reduce docstrings from TurtleScreen class for functions
Python/Turtle.py:3825
Function
_tmain
CPP/pattern/donut.cpp:58
Method
_tracer
Turns turtle animation on/off and set delay for update drawings. Optional arguments: n -- nonnegative integer delay -- nonne
Python/Turtle.py:2570
Function
_turtle_docrevise
To reduce docstrings from RawTurtle class for functions
Python/Turtle.py:3813
Method
_write
Write txt at pos in canvas with specified font and color. Return text item and x-coord of right bottom corner of text's boundi
Python/Turtle.py:484
Method
able
121 Leetcode/word-ladder-ii.cpp:11
Function
addOneRow
Intuition Use queues to peform bfs and traverse the tree. When you reach depth - 1 , perform the operations mentioned in the question
Trees/addOneRowToTree.cpp:29
Method
addOneRow
Trees/addOneRowToTree.cpp:133
Method
addOneRow
Trees/Leetcode-623. Add One Row to Tree.cpp:37
Method
addText
CPP/LINKED LIST/SOME LEET CODE QUESTIONS/Design_a_Text_Editor.cpp:19
Method
addText
CPP/Leetcode/2296-design-a-text-editor/2296-design-a-text-editor.cpp:14
Method
addTwoNumbers
CPP/Problems/add-two-numbers.cpp:13
Method
add_after
(self,data,x)
CPP/LinkedList/all_singly_linkedlist.py:39
Method
add_before
(self,data,x)
CPP/LinkedList/all_singly_linkedlist.py:53
Method
addcomponent
Add component to a shape of type compound. Arguments: poly is a polygon, i. e. a tuple of number pairs. fill is the fillcolor of the
Python/Turtle.py:792
Function
all_factors
(n)
Python/CP_Templates.py:31
Function
anagram_checker
(s1,s2)
Python/anagram_checker.py:1
Function
approach1
CPP/LINKED LIST/DOUBLY LINKED LIST/middleoflinkedlist.cpp:124
Method
areMirror
Leetcode-solutions/Symmetric_Tree/Symmetric_Tree.cpp:23
Method
areOccurrencesEqual
CPP/Leetcode/1941-check-if-all-characters-have-equal-number-of-occurrences/1941-check-if-all-characters-have-equal-number-of-occurrences.cpp:3
Method
arrangeCoins
(int n)
Leetcode-solutions/Binary-search/ArrangingCoins.java:7
Function
array_sum
CPP/recursion/recursion2.cpp:11
Function
atMostNGivenDigitSet
(self, D: List[str], N: int)
digit_dp.py:9
Method
bToDLL
Trees/Convert Binary Tree to Doubly Linked List.cpp:25
Function
baba
(xdummy, ydummy)
Python/Turtle.py:4023
Method
back
Move the turtle backward by distance. Aliases: back | backward | bk Argument: distance -- a number Move the turtle
Python/Turtle.py:1538
Method
backspaceCompare
CPP/Leetcode/844-backspace-string-compare/844-backspace-string-compare.cpp:3
Method
backspaceCompare
(String S, String T)
Java/String/BackspaceStringCompare.java:12
Method
begin_fill
Called just before drawing a shape to be filled. No argument. Example (for a Turtle instance named turtle): >>> turtle.color
Python/Turtle.py:3209
Method
begin_poly
Start recording the vertices of a polygon. No argument. Start recording the vertices of a polygon. Current turtle position i
Python/Turtle.py:3337
Function
bellmenFord
shortest path in a graph with -ve weights
CPP/graphseries.cpp:521
Method
bestHand
(int[] ranks, char[] suits)
Java/Leetcode/LeetCodeBestPokerHand.java:5
Function
bfs
CPP/graphseries.cpp:52
Method
bfs
121 Leetcode/word-ladder-ii.cpp:17
Method
bfs
CPP/graph_tree/Bipartite Graph.cpp:3
Method
bgpic
Set background image or return name of current backgroundimage. Optional argument: picname -- a string, name of a gif-file or "nopic"
Python/Turtle.py:1360
Function
binary
(n, digits=20)
Python/CP_Templates.py:49
Method
binarySearch1
(int[] arr, int target)
Leetcode-solutions/Binary-search/SearchInsertPosition.java:8
Function
binary_search
(i, li)
Python/CP_Templates.py:177
Method
binarysearch
CPP/Leetcode/33. Search in Rotated Sorted Array/Search in Rotated Sorted Array.cpp:3
Function
bipertiteBFS
CPP/graphseries.cpp:87
Function
bipertiteDFS
CPP/graphseries.cpp:114
Method
book
Special member function => Constructor No parameter constructor => Default Constructor
CPP/class of book.cpp:10
Method
breadthFirstSearch
()
Java/SearchingAlgorithms/BFS/BST.java:74
Function
bridgeInGraph
CPP/graphseries.cpp:497
Function
bubblesort
(customList)
Python/all sorting methods.py:2
Function
bucketSort
(customList)
Python/all sorting methods.py:46
Method
buildTree
Trees/Construct Binary Tree from Preorder and Inorder Traversal.cpp:35
Function
buildtree
CPP/binarytreeuse.cpp:190
Method
burnTree
Trees/burningTree.cpp:112
Method
burnTree
Trees/Level Order Traversal of Binart Tree.cpp:3
Method
calPoints
CPP/Leetcode/682-baseball-game/682-baseball-game.cpp:3
Function
can_escape
(maze)
Python/dijkstra.py:101
Method
candy
CPP/Problems/Leetcode_candy.cpp:6
Method
check
CPP/Trees/BalancedBinarytrees.cpp:15
Method
checkIfCanBreak
CPP/Leetcode/1433-check-if-a-string-can-break-another-string/1433-check-if-a-string-can-break-another-string.cpp:3
Method
checkIfExist
CPP/arrays/CheckifNandItsDoubleExist.cpp:3
Method
checkIfExist
CPP/Leetcode/1346-check-if-n-and-its-double-exist/1346-check-if-n-and-its-double-exist.cpp:3
Method
checkIfPangram
CPP/Leetcode/1832-check-if-the-sentence-is-pangram/1832-check-if-the-sentence-is-pangram.cpp:3
Method
checkOnesSegment
Hashtable/Check if Binary String Has at Most One Segment of Ones.cpp:3
Method
checkStraightLine
CPP/Problems/check-if-it-is-a-straight-line.cpp:3
Method
checkStraightLine
CPP/Problems/queries-on-number-of-points-inside-circle.cpp:3
Method
circle
Draw a circle with given radius. Arguments: radius -- a number extent (optional) -- a number steps (optional) -- an
Python/Turtle.py:1837
Method
clearBitsinRange
(int n, int i, int j)
Java/FiveBitManipulation/BitOperations.java:42
Method
clearLastIbits
(int n, int i)
Java/FiveBitManipulation/BitOperations.java:36
Function
clearLastIthBit
CPP/bitmasking/bit-functions.cpp:25
Function
clear_cache
()
Python/CP_Templates.py:158
Method
climbStairs
CPP/Dynamic Programming/climbingStairs.cpp:16
Method
clone
Create and return a clone of the turtle. No argument. Create and return a clone of the turtle with same position, heading an
Python/Turtle.py:2612
← previous
next →
1,401–1,500 of 2,714, ranked by callers