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
findDuplicate
CPP/Problems/findTheDuplicateNumber.cpp:38
Method
findGCD
(int[] nums)
Java/Array/FindGreatestCommonDivisorOfArray.java:11
Method
findKthLargest
CPP/Problems/kth-largest-element-in-an-array.cpp:6
Method
findLadders
121 Leetcode/word-ladder-ii.cpp:50
Method
findLengthOfLCIS
CPP/Problems/Longest-Continuous-Increasing-Subsequence-Easy.cpp:3
Method
findLonely
CPP/Leetcode/2150-find-all-lonely-numbers-in-the-array/2150-find-all-lonely-numbers-in-the-array.cpp:3
Method
findMaxConsecutiveOnes
CPP/Leetcode/485-max-consecutive-ones/485-max-consecutive-ones.cpp:3
Function
findMaxSubsequentCount
CPP/array-2d/subsegment_partition.cpp:4
Method
findMedianSortedArrays
(int[] nums1, int[] nums2)
Leetcode-solutions/Binary-search/MedianOfTwoSortedArrays.java:6
Method
findMedianSortedArrays
Arrays/4.MedianofTwoSortedArray.cpp:6
Method
findMedianSortedArrays
CPP/Problems/Median of Two Sorted Arrays.cpp:3
Method
findMedianSortedArrays
(int[] nums1, int[] nums2)
Java/Leetcode-Median-of-2-sorted-arrays.java:4
Method
findMin
LeetCode Solutions/154_Find__Minimum_in_Rotated_Sorted_Array_II.cpp:4
Method
findMin
CPP/questions/Find Minimum in Rotated Sorted Array II.cpp:5
Method
findNumbers
(int[] nums)
Java/Array/FindNoWithEvenNoOfDigits.java:29
Method
findOriginalArray
CPP/Leetcode/2007-find-original-array-from-doubled-array/2007-find-original-array-from-doubled-array.cpp:3
Method
findSqrt
Leetcode-solutions/Binary-search/ValidPerfectSquare.cpp:7
Method
findSubarrays
CPP/Leetcode/2395-find-subarrays-with-equal-sum/2395-find-subarrays-with-equal-sum.cpp:3
Method
findSubstring
CPP/arrays/leetcode-problems/Substring with Concatenation of All Words.cpp:4
Method
findTheDifference
CPP/Leetcode/389-find-the-difference/389-find-the-difference.cpp:3
Function
findanode
CPP/binarytreeuse.cpp:253
Method
firstBadVersion
(int n)
Leetcode-solutions/Binary-search/FirstbadVersion.java:7
Method
firstMissingPositive
CPP/Problems/Leetcode-First Missing Positive.cpp:3
Method
firstMissingPositive
:type nums: List[int] :rtype: int
Python/FirstMissingPositive.py:6
Method
flatten
121 Leetcode/114-flatten-binary-tree-to-linked-list.cpp:3
Method
flatten
Trees/flatten-binary-tree-to-linked-list.cpp:35
Method
floodFill
CPP/Problems/Leetcode-733-FloodFill.cpp:26
Function
floydWarshall
CPP/graph_tree/Floyd Warshall.cpp:3
Function
floyd_warshall
Floyd-Warshall algorithm for finding shortest paths in a graph.
Python/floyd_warshall.py:1
Function
foldableCheck
CPP/Trees/tree_foldable.cpp:20
Method
fun
CPP/Problems/Leetcode-198-HouseRobber.cpp:4
Function
func
CPP/recursion/recursion 1.cpp:11
Function
func
(mylist)
Python/hashtables/firstRecurringnum.py:2
Method
furthestBuilding
(int[] heights, int bricks, int ladders)
1642-furthest-building-you-can-reach/1642-furthest-building-you-can-reach.java:2
Method
generate
CPP/Leetcode/118-pascals-triangle/118-pascals-triangle.cpp:22
Method
generateCombinations
CPP/Problems/Leetcode-77-Combinations.cpp:10
Method
getBfs
getting all parent nodes for which we want to append nodes
Trees/Leetcode-623. Add One Row to Tree.cpp:16
Method
getDecimalValue
CPP/Leetcode/1290-convert-binary-number-in-a-linked-list-to-integer/1290-convert-binary-number-in-a-linked-list-to-integer.cpp:13
Function
getIthBit
CPP/bitmasking/bit-functions.cpp:8
Method
getIthBit
(int n, int i)
Java/FiveBitManipulation/BitOperations.java:3
Method
getNode
CPP/Tries/implementTrie.cpp:18
Method
getSkyline
CPP/questions/The Skyline Problem.cpp:3
Method
getSkyline
CPP/Problems/Leetcode-The-Skyline-Problem.cpp:3
Method
getSkyline
(self, buildings)
Python/The-Skyline-Problem.py:2
Method
getSkyline
(self, A: List[List[int]])
Python/skyline.py:2
Method
getSkyline
(int[][] buildings)
Java/Leetcode/LeetcodeTheSkylineProblem.java:2
Method
getXORSum
CPP/Maths/xor_sum_of_all_pairs_and_1835.cpp:3
Function
get_height
Trees/Binary_tree_Array.c:85
Function
get_int
()
Python/CP_Templates.py:143
Function
get_list
()
Python/CP_Templates.py:151
Function
get_parent
funtion to get parent
Trees/Binary_tree_Array.c:9
Method
get_poly
Return the lastly recorded polygon. No argument. Example (for a Turtle instance named turtle): >>> p = turtle.get_poly()
Python/Turtle.py:3364
Method
get_shapepoly
Return the current shape polygon as tuple of coordinate pairs. No argument. Examples (for a Turtle instance named turtle): >
Python/Turtle.py:2863
Function
get_tuple
()
Python/CP_Templates.py:147
Method
getcanvas
Return the Canvas of this TurtleScreen. No argument. Example (for a Screen instance named screen): >>> cv = screen.getcanvas
Python/Turtle.py:1225
Method
getscreen
Return the TurtleScreen object, the turtle is drawing on. No argument. Return the TurtleScreen object, the turtle is drawing on.
Python/Turtle.py:3377
Method
getturtle
Return the Turtleobject itself. No argument. Only reasonable use: as a function to return the 'anonymous turtle': Example:
Python/Turtle.py:3393
Method
goodNodes
CPP/Leetcode/1448-count-good-nodes-in-binary-tree/1448-count-good-nodes-in-binary-tree.cpp:30
Method
hammingWeight
CPP/Leetcode/191-number-of-1-bits/191-number-of-1-bits.cpp:3
Method
hasCycle
CPP/Problems/Leetcode-141-linked-list-cycle.cpp:11
Method
hasCycle
(ListNode head)
Java/LinkedList/LinkedListCycle.java:23
Method
hasPathSum
(self, root: Optional[TreeNode], targetSum: int)
CPP/Leetcode/112-path-sum/112-path-sum.py:8
Method
hasPathSum
CPP/Trees/TargetSum.cpp:17
Function
height
CPP/binarytreeuse.cpp:195
Function
heightdiameter
CPP/binarytreeuse.cpp:203
Method
home
Move turtle to the origin - coordinates (0,0). No arguments. Move turtle to the origin - coordinates (0,0) and set its headi
Python/Turtle.py:1677
Function
initial
CPP/array-2d/kadane_algo.cpp:16
Function
inoder
CPP/binarytreeuse.cpp:141
Function
inorder
Trees/Binary_tree_Array.c:58
Method
inorderTraversal
CPP/Leetcode/94-binary-tree-inorder-traversal/94-binary-tree-inorder-traversal.cpp:23
Method
inorderTraversal
(self, root: Optional[TreeNode])
CPP/Trees/Inorder_Traversal.py:9
Function
insert
CPP/LINKED LIST/Linked_list.cpp:68
Method
insert
(int value)
Java/SearchingAlgorithms/BFS/BST.java:21
Method
insert_when_empty
(self,data)
CPP/LinkedList/all_singly_linkedlist.py:77
Function
insertatposition
CPP/LINKED LIST/ALGORITHMIC PROBLEMS RELATED TO LINKEDLIST/floydscycle.cpp:42
Function
insertatposition
CPP/LINKED LIST/ALGORITHMIC PROBLEMS RELATED TO LINKEDLIST/test.cpp:43
Function
insertatposition
CPP/LINKED LIST/ALGORITHMIC PROBLEMS RELATED TO LINKEDLIST/floydscycle_practice.cpp:67
Function
insertatposition
CPP/LINKED LIST/ALGORITHMIC PROBLEMS RELATED TO LINKEDLIST/detectloop.cpp:42
Function
insertatposition
CPP/LINKED LIST/ALGORITHMIC PROBLEMS RELATED TO LINKEDLIST/find_begeningof_circle.cpp:43
Function
insertatposition
CPP/LINKED LIST/SINGLY LINKED LIST/dummy_node.cpp:30
Function
insertatposition
CPP/LINKED LIST/SINGLY LINKED LIST/linkedlisttpractice.cpp:25
Function
insertionSort
(arr)
Python/Sorting-Techniques/InsertionSort.py:1
Method
intToRoman
CPP/Problems/Integer to Roman.cpp:3
Method
intToRoman
:type num: int :rtype: str
Python/IntegerToRoman.py:6
Method
intersection
(int[] nums1, int[] nums2)
Leetcode-solutions/Binary-search/IntersectionOfTwoArrays.java:9
Function
invertTree
Trees/Leetcode-226. Invert Binary Tree.cpp:1
Method
isAnagram
CPP/Leetcode/242-valid-anagram/242-valid-anagram.cpp:3
Method
isBalanced
CPP/Trees/BalancedBinarytrees.cpp:24
Method
isBeauty
CPP/sliding-window/Find the K-Beauty of a Number.cpp:3
Method
isBipartite
CPP/graph_tree/Bipartite Graph.cpp:32
Method
isCyclic
(int N, ArrayList<ArrayList<Integer>> adjlist, int n)
graph/cycleDetectionInDirectedGraph.java:19
Method
isCyclicHelper
CPP/graph_tree/Detect a cycle in a graph.cpp:10
Method
isDigit
CPP/Problems/String to Integer (atoi).cpp:57
Method
isEmpty
CPP/vector-concepts/vector.h:31
Function
isFull
Stack/stack_implementation_using_array.c:58
Method
isPalindrome
CPP/Leetcode/125-valid-palindrome/125-valid-palindrome.cpp:3
Method
isPalindrome
CPP/Problems/Palindrome Number.cpp:3
Method
isPalindrome
(ListNode head)
Java/LinkedList/PalindromeLinkedList.java:13
Method
isPerfectSquare
Leetcode-solutions/Binary-search/ValidPerfectSquare.cpp:28
Method
isPowerOfFour
CPP/PowerOfFour.cpp:11
← previous
next →
1,601–1,700 of 2,714, ranked by callers