MCPcopy Create free account

hub / github.com/Ayu-99/Data-Structures / functions

Functions807 in github.com/Ayu-99/Data-Structures

Methodhelper
Leetcode Challenge/december2k22/Climbing Stairs.cpp:3
Methodhelper
Leetcode Challenge/June/Generate Parentheses.cpp:4
Methodhelper
Leetcode Challenge/June2k22/cpp/Delete Operation for Two Strings.cpp:8
Methodhelper
Leetcode Challenge/January/Palindrome Partitioning.cpp:13
Methodhelper
Leetcode Challenge/January/Stone Game IV.cpp:6
Methodhelper
(arr, i)
Leetcode Challenge/December/Jump Game III.py:4
Methodhelper
Leetcode Challenge/December/Binary Tree Tilt.cpp:15
Methodhelper
Binary Search/C++/Find K-th Smallest Pair Distance.cpp:3
MethodinOrder
(self, A, B, lis)
Trees/Kth Smallest Element In Tree.py:9
MethodinOrderTraverse
Leetcode Challenge/January/All Elements in Two Binary Search Trees.cpp:14
MethodincreasingBST
(self, root)
Leetcode Challenge/April/Python/Increasing Order Search Tree.py:2
MethodincreasingBST
Leetcode Challenge/April/C++/Increasing Order Search Tree.cpp:28
MethodincreasingBST
(TreeNode root)
Leetcode Challenge/April/Java/Increasing Order Search Tree.java:3
FunctionindexOfNRecursive
Find a node in LL.cpp:57
Methodinorder
(node)
Leetcode Challenge/April/Python/Increasing Order Search Tree.py:3
MethodinorderTraversal
void inorder(TreeNode* root, vector<int>&s){ if(root->left!=NULL){ inorder(root->left, s); } s.push_back(
Trees/Inorder Traversal Iterative.cpp:54
FunctioninsertNodeAtPosition
* For your reference: * * SinglyLinkedListNode { * int data; * SinglyLinkedListNode* next; * }; * */
Inserting A Node at a given position in Linked List.c:81
MethodinsertWord
Leetcode Challenge/June2k22/cpp/Search Suggestions System.cpp:30
Functioninsert_node_into_singly_linked_list
Inserting A Node at a given position in Linked List.c:37
MethodinsertionSortList
Leetcode Challenge/December/Insertion Sort List.cpp:13
MethodisEmpty
Stacks and Queues/Queue using LL.cpp:123
MethodisFull
Stacks and Queues/Queue.cpp:63
MethodisInterleave
Leetcode Challenge/June/Interleaving String.cpp:31
MethodisInterleave_helper
Leetcode Challenge/June/Interleaving String.cpp:4
MethodisIsomorphic
(self, s: str, t: str)
Leetcode July Challenge/Python/Isomorphic Strings.py:3
MethodisIsomorphic
Leetcode July Challenge/C++/Isomorphic Strings.cpp:3
MethodisMonotonic
(int[] nums)
Monotonic Array.java:2
FunctionisNodePresent
CountNoOfNodesInBTree.cpp:2
MethodisPalindrome
Linked List/Palindrome Linked List.cpp:40
MethodisPalindrome
Leetcode Challenge/June/Palindrome Pairs.cpp:5
MethodisPalindrome
Leetcode Challenge/January/Palindrome Partitioning.cpp:3
MethodisPossible
Trees/Capacity To Ship Packages Within D Days.cpp:3
MethodisPossible
Leetcode Challenge/March/C++/Split Array Largest Sum.cpp:3
MethodisPowerOfTwo
(int n)
Power of 2.java:2
MethodisPowerOfTwo
Leetcode Challenge/December/Power of two.cpp:3
MethodisPrime
(x)
Matrix/Most Frequent Prime.py:6
MethodisRobotBounded
Leetcode Challenge/January/Robot Bounded In Circle.cpp:3
MethodisSubsequence
(String s, String t)
Is Subsequence.java:18
MethodisSubsequence
(self, s: str, t: str)
Leetcode Challenge/March/Python/Is Subsequence.py:2
MethodisSubsequence
Leetcode Challenge/March/C++/Is Subsequence.cpp:22
MethodisSubsequence
(String s, String t)
Leetcode Challenge/March/Java/Is Subsequence.java:2
MethodisValid
(String s)
Check If Word Is Valid After Substitutions.java:4
MethodisValid
(w1, w2)
Strings/Count Prefix and Suffix Pairs I.py:4
MethodisValid
(self, s: str)
Leetcode Challenge/March/Python/Valid Parantheses.py:2
MethodisValid
Leetcode Challenge/March/C++/Valid Parantheses.cpp:3
MethodisValid
(String s)
Leetcode Challenge/March/Java/Valid Parentheses.java:2
MethodisValid
Leetcode Challenge/June/Max Area of Island.cpp:4
MethodisValidNeighbor
funcion to check validility of neighbor
Leetcode Challenge/April/C++/Game of Life.cpp:4
Methodispalindrome
Leetcode Challenge/April/C++/Valid Palindrome II.cpp:3
MethodjobScheduling
(int[] startTime, int[] endTime, int[] profit)
Dynamic Programming/aximum Profit in Job Scheduling.java:33
MethodjudgeSquareSum
(int c)
two pointer/Sum of Square Numbers.java:2
MethodkClosest
Leetcode Challenge/December/K Closest Points to Origin.cpp:3
MethodkInversePairs
Leetcode Challenge/June/K Inverse Pairs Array.cpp:4
MethodkWeakestRows
Leetcode Challenge/March/C++/The K Weakest Rows in a Matrix.cpp:16
MethodkthSmallest
(self, matrix: List[List[int]], k: int)
Leetcode July Challenge/Python/Kth Smallest Element in a Sorted Matrix.py:2
MethodkthSmallest
}
Leetcode July Challenge/C++/Kth Smallest Element in a Sorted Matrix.cpp:18
MethodkthSmallest
Leetcode Challenge/April/C++/Kth Smallest Element in a BST.cpp:17
Methodkthsmallest
(self, A, B)
Trees/Kth Smallest Element In Tree.py:20
MethodladderLength
Leetcode Challenge/February/cpp/Word Ladder.cpp:3
FunctionlastStoneWeight
(self, A)
Leetcode Challenge/April/Python/Last Stone weight.py:1
MethodlastStoneWeight
Leetcode Challenge/April/C++/Last Stone weight.cpp:3
MethodlastStoneWeight
(vector<int>& A)
Leetcode Challenge/April/Java/Last Stone weight.java:1
MethodleafSimilar
Leetcode Challenge/december2k22/Leaf-Similar Trees.cpp:14
MethodlengthOfLIS
(self, nums: List[int])
Leetcode July Challenge/Python/Longest Increasing Subsequence.py:2
MethodlengthOfLIS
Leetcode July Challenge/C++/Longest Increasing Subsequence.cpp:3
MethodlengthOfLinkedList
Leetcode July Challenge/C++/Reverse Nodes in k-Group.cpp:14
MethodlengthOfLongestSubstring
Leetcode Challenge/June2k22/cpp/Longest Substring Without Repeating Characters.cpp:3
MethodlevelOrder
Leetcode Challenge/July2K22/cpp/Binary Tree Level Order Traversal.cpp:14
MethodlongestCommonPrefix
(self, arr1: List[int], arr2: List[int])
Trie/Find the Length of the Longest Common Prefix.py:37
MethodlongestCommonSubsequence
Leetcode Challenge/december2k22/Longest Common Subsequence.cpp:3
MethodlongestConsecutive
Leetcode Challenge/June/Longest Consecutive Sequence.cpp:4
MethodlongestIncreasingPath
Graphs/Longest Increasing Path in a Matrix.cpp:5
MethodlongestOnes
Leetcode Challenge/June/Max Consecutive Ones III.cpp:3
MethodlongestOnes
(self, A: List[int], K: int)
Leetcode Challenge/June/Python/Max Consecutive Ones III.py:2
MethodlongestStrChain
Leetcode Challenge/June2k22/cpp/Longest String Chain.cpp:3
MethodlongestSubarray
(int[] nums, int limit)
Sliding window/Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit.java:2
MethodlowestCommonAncestor
(self, root: 'TreeNode', p: 'TreeNode', q: 'TreeNode')
Leetcode July Challenge/Python/Lowest Common Ancestor of a Binary Search Tree.py:11
MethodlowestCommonAncestor
Leetcode July Challenge/C++/Lowest Common Ancestor of a Binary Search Tree.cpp:12
MethodlowestCommonAncestor
Leetcode Challenge/June/Lowest Common Ancestor of a Binary Tree.cpp:12
MethodlowestCommonAncestor
(self, root: 'TreeNode', p: 'TreeNode', q: 'TreeNode')
Leetcode Challenge/June/Python/Lowest Common Ancestor of a Binary Tree.py:11
Functionmain
HashMaps/Minimum Number Of Swaps.cpp:40
Functionmain
HashMaps/Sort strings lexicographically according to given sequence of characters.cpp:50
Functionmain
HashMaps/Perfect Sum Pair.cpp:82
Functionmain
Linked List/Pointers.cpp:5
Functionmain
Graphs/Dijkstra's Algorithm.cpp:84
Functionmain
Graphs/Get Path-DFS.cpp:83
Functionmain
Graphs/Get Path-BFS.cpp:84
Functionmain
Graphs/Has Path.cpp:74
Functionmain
Graphs/Prim's Algorithm.cpp:82
Functionmain
Graphs/All Connected Components.cpp:100
Functionmain
Graphs/Kruskals.cpp:104
Functionmain
Graphs/Is Connected?.cpp:86
Functionmain
Graphs/Beginners/Adjacency List.cpp:22
Functionmain
Graphs/Beginners/Adjacency Matrix.cpp:36
Functionmain
Recursion/Print all Possible Decodings of a given Digit Sequence.cpp:30
Functionmain
Recursion/Print all Permutations.cpp:17
Functionmain
Stacks and Queues/QueueSTL.cpp:5
Functionmain
Stacks and Queues/Queue.cpp:74
Functionmain
Stacks and Queues/Check Redundant Brackets.cpp:48
Functionmain
Stacks and Queues/StackSTL.cpp:5
← previousnext →401–500 of 807, ranked by callers