MCPcopy Create free account

hub / github.com/Ayu-99/Data-Structures / types & classes

Types & classes444 in github.com/Ayu-99/Data-Structures

↓ 2 callersClassNode
Leetcode Challenge/February/java/Shortest Path Visiting All Nodes.java:5
↓ 2 callersClassTrieNode
Trie/Find the Length of the Longest Common Prefix.py:2
ClassBinarySearch
Binary Search/Java/BinarySearch.java:1
ClassEdge
Graphs/Kruskals.cpp:34
ClassFreqStack
Leetcode Challenge/March/C++/Maximum Frequency Stack.cpp:1
ClassFreqStack
Leetcode Challenge/March/Java/Maximum Frequency Stack.java:1
ClassGenerateBinaryNumbers
Generate Binary Numbers.java:3
ClassIsomorphicStrings
Check If Two Strings Are Isomorphic.java:3
ClassKthLargest
Leetcode Challenge/April/C++/Kth Largest Element in a Stream.cpp:1
ClassKthLargest
Leetcode Challenge/April/Java/Kth Largest Element in a Stream.java:1
ClassMajorityElementHashMap
Algorithms/Majority element.java:4
ClassMajorityElementOptimized
Algorithms/Majority element.java:27
ClassMedianFinder
Leetcode July Challenge/Python/Find Median from Data Stream.py:3
ClassMedianFinder
Leetcode July Challenge/C++/Find Median from Data Stream.cpp:2
ClassMyCalendar
Leetcode Challenge/June/My Calendar I.cpp:1
ClassMyLinkedList
Linked List/Design Linked List.cpp:38
ClassMyQueue
Leetcode Challenge/december2k22/Implement Queue using Stacks.cpp:1
ClassMyStack
making pop operation costly
Leetcode Challenge/May/C++/Implement Stack using Queues.cpp:2
ClassNode
Linked List/Rotate a List(Anti-Clockwise).cpp:1
ClassNode
Linked List/Design Linked List.cpp:40
ClassNumArray
Leetcode Challenge/June/Range Sum Query - Mutable.cpp:1
ClassNumMatrix
Algorithms/Kadane's Algorithm (2D).py:25
ClassNumberContainers
Leetcode Feb challenge2k25/Design a Number Container System.java:1
ClassPriorityQueue
Heap/Min Heap/Implementation.cpp:3
ClassQueue
Stacks and Queues/Queue.cpp:4
ClassQueue
Stacks and Queues/Queue using LL.cpp:85
ClassSinglyLinkedList
Inserting A Node at a given position in Linked List.c:16
ClassSinglyLinkedListNode
Inserting A Node at a given position in Linked List.c:15
ClassSolution
Partition Array into Disjoint Intervals.java:1
ClassSolution
Find Duplicate Number.java:5
ClassSolution
Check If Word Is Valid After Substitutions.java:3
ClassSolution
Monotonic Array.java:1
ClassSolution
Find First and Last Position of Element in Sorted Array.py:1
ClassSolution
Majority Element.java:5
ClassSolution
Squares of a Sorted Array.java:1
ClassSolution
Find Extra Character.java:2
ClassSolution
HashMaps/Count Number of Nice Subarrays.java:1
ClassSolution
HashMaps/Convert an Array Into a 2D Array With Conditions.java:1
ClassSolution
Heap/Max Heap/IPO.cpp:3
ClassSolution
Heap/Min Heap/Top K Frequent Elements.java:3
ClassSolution
Algorithms/Kadane's Algorithm(1D).py:14
ClassSolution
Sorting/Relative Sort Array.java:1
ClassSolution
Sorting/Sort colors.java:1
ClassSolution
Sorting/Height checker.java:3
ClassSolution
Leetcode July Challenge/Python/Max Sum of Rectangle No Larger Than K.py:2
ClassSolution
Leetcode July Challenge/Python/Isomorphic Strings.py:2
ClassSolution
Leetcode July Challenge/Python/Custom Sort String.py:2
ClassSolution
Leetcode July Challenge/Python/Reshape the Matrix.py:4
ClassSolution
Leetcode July Challenge/Python/4 Sum.py:1
ClassSolution
Leetcode July Challenge/Python/Gray Code.py:1
ClassSolution
Leetcode July Challenge/Python/Three Equal Parts.py:1
ClassSolution
Leetcode July Challenge/Python/Reduce Array Size to The Half.py:2
ClassSolution
Leetcode July Challenge/Python/Reverse Nodes in k-Group.py:6
ClassSolution
Leetcode July Challenge/Python/Shuffle an Array.py:2
ClassSolution
Leetcode July Challenge/Python/Find Peak Element.py:1
ClassSolution
Leetcode July Challenge/Python/Binary Tree Pruning.py:7
ClassSolution
Leetcode July Challenge/Python/Maximum Length of Repeated Subarray Maximum Length of Repeated Subarray.py:1
ClassSolution
Leetcode July Challenge/Python/Kth Smallest Element in a Sorted Matrix.py:1
ClassSolution
Leetcode July Challenge/Python/Lowest Common Ancestor of a Binary Search Tree.py:8
ClassSolution
Leetcode July Challenge/Python/Find K Closest Elements.py:1
ClassSolution
Leetcode July Challenge/Python/Longest Increasing Subsequence.py:1
ClassSolution
Leetcode July Challenge/Python/Valid Triangle Number.py:1
ClassSolution
Leetcode July Challenge/Python/Decode Ways II.py:1
ClassSolution
Leetcode July Challenge/C++/Reduce Array Size to The Half.cpp:2
ClassSolution
Leetcode July Challenge/C++/Push Dominoes.cpp:1
ClassSolution
* Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode() : val(0), next(nullptr) {} * L
Leetcode July Challenge/C++/Reverse Nodes in k-Group.cpp:11
ClassSolution
Binary Search Approach
Leetcode July Challenge/C++/Find K Closest Elements.cpp:21
ClassSolution
Leetcode July Challenge/C++/Partition Array into Disjoint Intervals.cpp:1
ClassSolution
Approach - 1
Leetcode July Challenge/C++/Reshape the Matrix.cpp:3
ClassSolution
Leetcode July Challenge/C++/Custom Sort String.cpp:1
ClassSolution
Leetcode July Challenge/C++/Valid Triangle Number.cpp:1
ClassSolution
Leetcode July Challenge/C++/Three Equal Parts.cpp:1
ClassSolution
Leetcode July Challenge/C++/Shuffle an Array.cpp:1
ClassSolution
Leetcode July Challenge/C++/Find Peak Element.cpp:1
ClassSolution
Leetcode July Challenge/C++/Longest Increasing Subsequence.cpp:1
ClassSolution
Leetcode July Challenge/C++/4 Sum.cpp:1
ClassSolution
* Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(
Leetcode July Challenge/C++/Lowest Common Ancestor of a Binary Search Tree.cpp:10
ClassSolution
Leetcode July Challenge/C++/Count Vowels Permutation.cpp:2
ClassSolution
Leetcode July Challenge/C++/Isomorphic Strings.cpp:1
ClassSolution
Leetcode July Challenge/C++/Max Sum of Rectangle No Larger Than K.cpp:1
ClassSolution
Leetcode July Challenge/C++/Kth Smallest Element in a Sorted Matrix.cpp:1
ClassSolution
Leetcode July Challenge/C++/Maximum Length of Repeated Subarray.cpp:1
ClassSolution
* Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode() : val(0), l
Leetcode July Challenge/C++/Binary Tree Pruning.cpp:12
ClassSolution
Leetcode July Challenge/C++/Gray Code.cpp:1
ClassSolution
Leetcode July Challenge/C++/Decode Ways II.cpp:3
ClassSolution
Matrix/Most Frequent Prime.py:3
ClassSolution
Matrix/Number of Laser Beams in a Bank.java:1
ClassSolution
Definition for a binary tree node. public class TreeNode { int val; TreeNode left; TreeNode right; TreeNode() {} TreeNode(int val)
Binary Search Tree/Balance a Binary Search Tree.java:16
ClassSolution
Definition for a binary tree node. public class TreeNode { int val; TreeNode left; TreeNode right; TreeNode() {} TreeNode(int val)
Binary Search Tree/Binary Search Tree to Greater Sum Tree.java:16
ClassSolution
Leetcode Feb challenge2k25/Clear digits.java:1
ClassSolution
Leetcode Feb challenge2k25/Count Number of Bad Pairs.java:1
ClassSolution
Linked List/Merge K sorted Linked List.cpp:26
ClassSolution
* Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * };
Linked List/Rotate a List(Clockwise).cpp:31
ClassSolution
Linked List/Convert Binary Number In a LL To Integer.cpp:49
ClassSolution
* Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * };
Linked List/Reverse A Linked List II.cpp:20
ClassSolution
* Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode() : val(0), next(nullptr) {} * L
Linked List/Palindrome Linked List.cpp:11
ClassSolution
* Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * };
Linked List/Convert Sorted List to BST.cpp:38
ClassSolution
Linked List/Remove Zero Sum Consecutive Nodes from Linked List.cpp:42
ClassSolution
Linked List/Remove Nodes From Linked List.py:6
ClassSolution
Linked List/Delete Node in a Linked List.py:7
next →1–100 of 444, ranked by callers