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
isPowerOfFour
CPP/Leetcode/342-power-of-four/342-power-of-four.cpp:3
Method
isPowerOfThree
CPP/Leetcode/326-power-of-three/326-power-of-three.cpp:3
Function
isPowerOfTwo
(self, n: int)
Python/CheckPowerOf2.py:4
Method
isPowerof2
(int n)
Java/FiveBitManipulation/BitOperations.java:50
Method
isSameTree
CPP/Trees/Same Tree.cpp:14
Method
isSameTree
(self, p: Optional[TreeNode], q: Optional[TreeNode])
Python/same_tree.py:16
Method
isSorted
Arrays/18_Menu_Based_problem.cpp:209
Method
isSymmetric
Leetcode-solutions/Symmetric_Tree/Symmetric_Tree.cpp:14
Method
isValid
CPP/Leetcode/20-valid-parentheses/20-valid-parentheses.cpp:3
Method
isValid
(tring s)
Java/Leetcode/leetcode_Valid Parentheses.java:2
Method
is_integer
CPP/PowerOfFour.cpp:7
Function
is_prime
Returns True if n is prime.
Python/CP_Templates.py:55
Method
isdown
Return True if pen is down, False if it's up. No argument. Example (for a Turtle instance named turtle): >>> turtle.penup()
Python/Turtle.py:2022
Function
istreebalanced
CPP/binarytreeuse.cpp:296
Method
isvisible
Return True if the Turtle is shown, False if it's hidden. No argument. Example (for a Turtle instance named turtle): >>> tur
Python/Turtle.py:2223
Method
kWeakestRows
CPP/Leetcode/1337-the-k-weakest-rows-in-a-matrix/1337-the-k-weakest-rows-in-a-matrix.cpp:3
Method
kidsWithCandies
CPP/Problems/kids-with-te-greatest-number-of-candies.cpp:3
Function
kosaraju
Function to find number of strongly connected components in the graph.
CPP/graph_tree/Kosaraju Algorithm.cpp:35
Function
kruskalsAlgo
CPP/graphseries.cpp:466
Method
kthSmallest
Trees/Leetcode-230. Kth Smallest Element in a BST.cpp:4
Method
lca
CPP/Trees/LowestCommonAncestor.cpp:18
Method
leftNode
Trees/Convert Binary Tree to Doubly Linked List.cpp:16
Function
lenght
CPP/LINKED LIST/SOME LEET CODE QUESTIONS/leetcode_82.cpp:70
Function
lenght
CPP/LINKED LIST/SOME LEET CODE QUESTIONS/delete_unsorted.cpp:69
Function
length
CPP/LINKED LIST/SOME LEET CODE QUESTIONS/reverseklinked.cpp:18
Function
length
CPP/LINKED LIST/SOME LEET CODE QUESTIONS/leetcode92.cpp:35
Method
lengthOfLIS
CPP/Leetcode/300-longest-increasing-subsequence/300-longest-increasing-subsequence.cpp:16
Method
lengthOfLIS
CPP/Dynamic Programming/Longest Increasing Subsequences.cpp:47
Method
lengthOfLIS
CPP/Dynamic Programming/Russian Doll.cpp:47
Method
lengthOfLIS
CPP/Dynamic Programming/Longest Increasing Subsequence.cpp:5
Method
lengthOfLongestSubstring
CPP/Problems/Longest Substring Without Repeating Characters.cpp:3
Method
lengthOfLongestSubstring
CPP/Problems/Leetcode- Longest Substring Without Repeating Characters.cpp:3
Method
letter
(nums,digits,count,val)
Python/LetterCombinationsOfPhoneNumber.py:28
Method
letterCasePermutation
CPP/Problems/Leetcode-784-LetterCasePermutation.cpp:3
Method
letterCombinations
:type digits: str :rtype: List[str]
Python/LetterCombinationsOfPhoneNumber.py:8
Method
letterPermute
CPP/Problems/Leetcode-784-LetterCasePermutation.cpp:9
Method
levelOrder
CPP/Problems/BinaryTreeLevelOrderTraversal.cpp:3
Method
levelOrder
Trees/binary-tree-level-order-traversal.cpp:29
Method
levelOrder
Trees/Level Order Traversal of Binart Tree.cpp:13
Function
leveloder
CPP/binarytreeuse.cpp:302
Function
levelwiselinkedlist
CPP/binarytreeuse.cpp:352
Method
longest
CPP/Problems/longest_uploaded_prefix.cpp:15
Method
longestCommonPrefix
CPP/Leetcode/14-longest-common-prefix/14-longest-common-prefix.cpp:3
Method
longestCommonPrefix
CPP/Problems/Longest Common Prefix.cpp:3
Method
longestOnes
CPP/Leetcode/1004-max-consecutive-ones-iii/1004-max-consecutive-ones-iii.cpp:3
Method
longestPalindrome
CPP/Problems/Longest Palindromic Substring.cpp:3
Method
longestPalindrome
CPP/Dynamic Programming/Longest-Palindromic-Substring.cpp:5
Method
longestPalindromeSubseq
THIS IS THE TABULATION/BOTTOM-UP SOLUTION SINCE MEMOIZATION IS HAVING (M*N + (M+N) -> AUXILIARY) SPACE COMPLEXITY AND HENCE GIVES NEEDS TO BE SPACE-OP
CPP/Dynamic Programming/Longest-Palindromic-Subsequence.cpp:6
Method
longestStrChain
(String[] words)
1048-longest-string-chain/1048-longest-string-chain.java:2
Function
longestSubsequence
CPP/Dynamic Programming/Longest_Increasing_Subsequence.cpp:7
Function
main
PolynomialAddition.cpp:110
Function
main
left view of tree.cpp:47
Function
main
disjoint set - Copy/code.cpp:98
Function
main
Matrix/sparseMatrix.c:32
Function
main
Matrix/MatrixTranspose.cpp:4
Function
main
Arrays/18_Menu_Based_problem.cpp:334
Function
main
Arrays/13_IsSorted .cpp:28
Function
main
Arrays/17_nsertion_and_Deletion.cpp:77
Function
main
Arrays/32_Leaders_in_Array.cpp:46
Function
main
Arrays/29_Find_a_pair_with_sum_k_using_Hashing.cpp:3
Function
main
Arrays/NCRcombination.c:24
Function
main
Arrays/07_Linearsearch.c:25
Function
main
Arrays/21_Multiple_Missing_Elements_in_Sorted_Array.cpp:9
Function
main
Arrays/23_Finding_Duplicate_in_Sorted_Array.cpp:3
Function
main
Arrays/06_Deleting_element_from_array.c:39
Function
main
Arrays/27_Find_a_pair_with_sum_k.cpp:3
Function
main
Arrays/05_inserting_an_element.cpp:36
Function
main
main function
Arrays/32_Operations_on_arrays.c:258
Function
main
Arrays/01_static_and_dynamicArray.c:3
Function
main
Arrays/26_Finding_Duplicate_in_Unsorted_Array.cpp:3
Function
main
Arrays/14_Mergeing_2_Array.c:41
Function
main
Arrays/10_Binary_Search_Using_Recursion.c:33
Function
main
Arrays/12_Rotate_and_Shift.cpp:44
Function
main
Arrays/28_Find_a_pair_with_sum_k_in_unsorted.cpp:3
Function
main
Main Function
Arrays/31_Menu_for_Array.c:500
Function
main
Arrays/30_Finding_max_&_min_in_single_scan.cpp:3
Function
main
Arrays/22_Missing_elements_in_Unsorted_Array_HT.cpp:3
Function
main
Arrays/04_Array_ADT.c:19
Function
main
Arrays/03_Creating_2D_array_Accessing.c:4
Function
main
Arrays/24_Counting_Duplicate_Elements_In_Sorted.cpp:3
Function
main
Arrays/_removeElement.cpp:10
Function
main
Arrays/19_Single_Missing_Element_in_Sorted_Array.cpp:3
Function
main
Arrays/08_Improving_Linear_search.c:35
Function
main
Arrays/15_InsertSort .c:36
Function
main
Arrays/20_Single_Missing_Value_in_a_sorted_array_M2.c:28
Function
main
Arrays/02_increasing_size_of_array_using_heap.cpp:7
Function
main
Arrays/16_Set_Operation.c:105
Function
main
Arrays/09_Binary_Search_using_loop.c:32
Function
main
Arrays/11_Get_Set_max_min_sum_avg.c:65
Function
main
Arrays/33_Sort_0_1_2.cpp:55
Function
main
CSES/Sorting/MissingCoinSum.cc:7
Function
main
CSES/Sorting/Traffic_lights.cc:5
Function
main
CSES/Sorting/Playlist.cc:5
Function
main
CSES/Sorting/Restaurant.cc:5
Function
main
CSES/Sorting/SumOfTwoValues.cc:6
Function
main
CSES/Sorting/CollectionNumbers.cc:5
Function
main
CSES/Sorting/Concert.cc:5
Function
main
CSES/Sorting/CollectionNumbers2.cc:5
Function
main
CSES/Sorting/MaximumSubarraySum.cc:7
Function
main
CSES/DP/coinCombinations1.cpp:44
← previous
next →
1,701–1,800 of 2,714, ranked by callers