MCPcopy Create free account

hub / github.com/codemistic/Data-Structures-and-Algorithms / functions

Functions2,714 in github.com/codemistic/Data-Structures-and-Algorithms

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
Methodable
121 Leetcode/word-ladder-ii.cpp:11
FunctionaddOneRow
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
MethodaddOneRow
Trees/addOneRowToTree.cpp:133
MethodaddOneRow
Trees/Leetcode-623. Add One Row to Tree.cpp:37
MethodaddText
CPP/LINKED LIST/SOME LEET CODE QUESTIONS/Design_a_Text_Editor.cpp:19
MethodaddText
CPP/Leetcode/2296-design-a-text-editor/2296-design-a-text-editor.cpp:14
MethodaddTwoNumbers
CPP/Problems/add-two-numbers.cpp:13
Methodadd_after
(self,data,x)
CPP/LinkedList/all_singly_linkedlist.py:39
Methodadd_before
(self,data,x)
CPP/LinkedList/all_singly_linkedlist.py:53
Methodaddcomponent
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
Functionall_factors
(n)
Python/CP_Templates.py:31
Functionanagram_checker
(s1,s2)
Python/anagram_checker.py:1
Functionapproach1
CPP/LINKED LIST/DOUBLY LINKED LIST/middleoflinkedlist.cpp:124
MethodareMirror
Leetcode-solutions/Symmetric_Tree/Symmetric_Tree.cpp:23
MethodareOccurrencesEqual
CPP/Leetcode/1941-check-if-all-characters-have-equal-number-of-occurrences/1941-check-if-all-characters-have-equal-number-of-occurrences.cpp:3
MethodarrangeCoins
(int n)
Leetcode-solutions/Binary-search/ArrangingCoins.java:7
Functionarray_sum
CPP/recursion/recursion2.cpp:11
FunctionatMostNGivenDigitSet
(self, D: List[str], N: int)
digit_dp.py:9
MethodbToDLL
Trees/Convert Binary Tree to Doubly Linked List.cpp:25
Functionbaba
(xdummy, ydummy)
Python/Turtle.py:4023
Methodback
Move the turtle backward by distance. Aliases: back | backward | bk Argument: distance -- a number Move the turtle
Python/Turtle.py:1538
MethodbackspaceCompare
CPP/Leetcode/844-backspace-string-compare/844-backspace-string-compare.cpp:3
MethodbackspaceCompare
(String S, String T)
Java/String/BackspaceStringCompare.java:12
Methodbegin_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
Methodbegin_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
FunctionbellmenFord
shortest path in a graph with -ve weights
CPP/graphseries.cpp:521
MethodbestHand
(int[] ranks, char[] suits)
Java/Leetcode/LeetCodeBestPokerHand.java:5
Functionbfs
CPP/graphseries.cpp:52
Methodbfs
121 Leetcode/word-ladder-ii.cpp:17
Methodbfs
CPP/graph_tree/Bipartite Graph.cpp:3
Methodbgpic
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
Functionbinary
(n, digits=20)
Python/CP_Templates.py:49
MethodbinarySearch1
(int[] arr, int target)
Leetcode-solutions/Binary-search/SearchInsertPosition.java:8
Functionbinary_search
(i, li)
Python/CP_Templates.py:177
Methodbinarysearch
CPP/Leetcode/33. Search in Rotated Sorted Array/Search in Rotated Sorted Array.cpp:3
FunctionbipertiteBFS
CPP/graphseries.cpp:87
FunctionbipertiteDFS
CPP/graphseries.cpp:114
Methodbook
Special member function => Constructor No parameter constructor => Default Constructor
CPP/class of book.cpp:10
MethodbreadthFirstSearch
()
Java/SearchingAlgorithms/BFS/BST.java:74
FunctionbridgeInGraph
CPP/graphseries.cpp:497
Functionbubblesort
(customList)
Python/all sorting methods.py:2
FunctionbucketSort
(customList)
Python/all sorting methods.py:46
MethodbuildTree
Trees/Construct Binary Tree from Preorder and Inorder Traversal.cpp:35
Functionbuildtree
CPP/binarytreeuse.cpp:190
MethodburnTree
Trees/burningTree.cpp:112
MethodburnTree
Trees/Level Order Traversal of Binart Tree.cpp:3
MethodcalPoints
CPP/Leetcode/682-baseball-game/682-baseball-game.cpp:3
Functioncan_escape
(maze)
Python/dijkstra.py:101
Methodcandy
CPP/Problems/Leetcode_candy.cpp:6
Methodcheck
CPP/Trees/BalancedBinarytrees.cpp:15
MethodcheckIfCanBreak
CPP/Leetcode/1433-check-if-a-string-can-break-another-string/1433-check-if-a-string-can-break-another-string.cpp:3
MethodcheckIfExist
CPP/arrays/CheckifNandItsDoubleExist.cpp:3
MethodcheckIfExist
CPP/Leetcode/1346-check-if-n-and-its-double-exist/1346-check-if-n-and-its-double-exist.cpp:3
MethodcheckIfPangram
CPP/Leetcode/1832-check-if-the-sentence-is-pangram/1832-check-if-the-sentence-is-pangram.cpp:3
MethodcheckOnesSegment
Hashtable/Check if Binary String Has at Most One Segment of Ones.cpp:3
MethodcheckStraightLine
CPP/Problems/check-if-it-is-a-straight-line.cpp:3
MethodcheckStraightLine
CPP/Problems/queries-on-number-of-points-inside-circle.cpp:3
Methodcircle
Draw a circle with given radius. Arguments: radius -- a number extent (optional) -- a number steps (optional) -- an
Python/Turtle.py:1837
MethodclearBitsinRange
(int n, int i, int j)
Java/FiveBitManipulation/BitOperations.java:42
MethodclearLastIbits
(int n, int i)
Java/FiveBitManipulation/BitOperations.java:36
FunctionclearLastIthBit
CPP/bitmasking/bit-functions.cpp:25
Functionclear_cache
()
Python/CP_Templates.py:158
MethodclimbStairs
CPP/Dynamic Programming/climbingStairs.cpp:16
Methodclone
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
← previousnext →1,401–1,500 of 2,714, ranked by callers