Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Ayu-99/Data-Structures
/ functions
Functions
807 in github.com/Ayu-99/Data-Structures
⨍
Functions
807
◇
Types & classes
444
Method
myAtoi
(String s)
Leetcode Challenge/January/Java/String to Integer (atoi).java:2
Method
nthMagicalNumber
Leetcode Challenge/December/Nth Magical Number.cpp:3
Method
nthUglyNumber
Dynamic Programming/Ugly Number II.cpp:3
Method
numDecodings
(self, s: str)
Leetcode July Challenge/Python/Decode Ways II.py:2
Method
numDecodings
Leetcode July Challenge/C++/Decode Ways II.cpp:8
Method
numMatchingSubseq
Leetcode Challenge/June/Number of Matching Subsequences.cpp:6
Function
numOfPairs
Story based problems/Amazon/Group of 3.cpp:1
Method
numRescueBoats
Leetcode Challenge/March/C++/Boats to Save People.cpp:3
Method
numRescueBoats
(int[] people, int limit)
Leetcode Challenge/March/Java/Boats to Save People.java:2
Method
numRescueBoats
Greedy/Boats to Save People.cpp:3
Method
numSubarrayBoundedMax
Leetcode Challenge/June/Number of Subarrays with Bounded Maximum.cpp:3
Method
numTilings
Leetcode Challenge/December/Domino and Tromino Tiling.cpp:3
Method
numberOfArithmeticSlices
Leetcode Challenge/March/C++/Arithmetic Slices.cpp:3
Method
numberOfArithmeticSlices
(int[] nums)
Leetcode Challenge/March/Java/Arithmetic Slices.java:2
Method
numberOfBeams
(String[] bank)
Matrix/Number of Laser Beams in a Bank.java:2
Method
numberOfSubarrays
(int[] nums, int k)
HashMaps/Count Number of Nice Subarrays.java:2
Method
oddEvenList
Leetcode Challenge/December/Odd Even Linked List.cpp:13
Method
openLock
Leetcode Challenge/June/Open the Lock.cpp:3
Method
operator()
Leetcode Challenge/February/cpp/Merge k Sorted Lists.cpp:13
Function
pairStar
Recursion/Pair Star.cpp:9
Method
palindromePairs
Leetcode Challenge/June/Palindrome Pairs.cpp:12
Method
partition
Leetcode Challenge/January/Palindrome Partitioning.cpp:27
Function
partitionDisjoint
(self, A)
Leetcode July Challenge/Python/Partition Array into Disjoint Intervals.py:1
Method
partitionDisjoint
(int[] nums)
Partition Array into Disjoint Intervals.java:2
Method
partitionDisjoint
Leetcode July Challenge/C++/Partition Array into Disjoint Intervals.cpp:3
Method
partitionLabels
(self, S: str)
Leetcode Challenge/March/Python/Partition Labels.py:2
Method
partitionLabels
Leetcode Challenge/March/C++/Partition Labels.cpp:3
Method
partitionLabels
(String s)
Leetcode Challenge/March/Java/Partition Labels.java:2
Method
pop
()
Leetcode Challenge/March/Java/Maximum Frequency Stack.java:18
Function
postOrder
PostOrder of BTree.cpp:2
Function
preOrder
PreOrder of BTree..cpp:2
Function
printBFS
Graphs/BFS Traversal.cpp:30
Function
printKeypad
Recursion/Print Keypad Combinations Code.cpp:5
Function
printLevelWise
Trees/Print Level Wise.cpp:46
Function
print_singly_linked_list
Inserting A Node at a given position in Linked List.c:49
Method
pruneTree
(self, root: TreeNode)
Leetcode July Challenge/Python/Binary Tree Pruning.py:36
Method
pruneTree
Leetcode July Challenge/C++/Binary Tree Pruning.cpp:42
Method
push
(int val)
Leetcode Challenge/March/Java/Maximum Frequency Stack.java:13
Method
pushDominoes
Leetcode July Challenge/C++/Push Dominoes.cpp:3
Method
query
Leetcode Challenge/December/Stream of Characters.cpp:38
Method
rangeSumBST
Leetcode Challenge/December/Range Sum of BST.cpp:14
Method
reachableOrNot
Leetcode Challenge/June/Swim in Rising Water.cpp:20
Method
recoverTree
Do not return anything, modify root in-place instead.
Leetcode Challenge/April/Python/Recover Binary Search Tree.py:16
Method
recoverTree
Leetcode Challenge/April/C++/Recover Binary Search Tree.cpp:34
Method
recoverTree
(TreeNode root)
Leetcode Challenge/April/Java/Recover Binary Search Tree.java:4
Method
recursion
Leetcode Challenge/July2K22/cpp/Binary Tree Right Side View.cpp:14
Method
recursion
Leetcode Challenge/December/Partition Equal Subset Sum.cpp:3
Method
relativeSortArray
(int[] arr1, int[] arr2)
Sorting/Relative Sort Array.java:2
Method
removeConsecutiveCharacter
Recursion/Recursively remove all adjacent duplicates.cpp:4
Method
removeCoveredIntervals
Leetcode Challenge/February/cpp/Remove Covered Intervals.cpp:3
Method
removeCoveredIntervals
(int[][] A)
Leetcode Challenge/February/java/Remove Covered Intervals.java:2
Method
removeDuplicateLetters
Leetcode Challenge/March/C++/Remove Duplicate Letters.cpp:3
Method
removeDuplicateLetters
(String s)
Leetcode Challenge/March/Java/Remove Duplicate Letters.java:2
Function
removeDuplicates
Delete duplicate-value nodes from a sorted linked list.cpp:1
Method
removeDuplicates
(String s)
Remove Adjacent Duplicates in String.java:1
Method
removeDuplicates
Leetcode Challenge/June/Remove All Adjacent Duplicates In String.cpp:3
Method
removeDuplicates
(self, s: str)
Leetcode Challenge/June/Python/Remove All Adjacent Duplicates In String.py:2
Method
removeDuplicates
Leetcode Challenge/February/cpp/Remove Duplicates from Sorted Array II.cpp:3
Method
removeDuplicates
(int[] nums)
Leetcode Challenge/February/java/Remove Duplicates from Sorted Array II.java:2
Method
removeDuplicates
Leetcode Challenge/May/C++/Remove All Adjacent Duplicates in String II.cpp:3
Method
removeKdigits
(String num, int k)
Remove K Digits.java:1
Method
removeKdigits
Leetcode Challenge/February/cpp/Remove K Digits.cpp:3
Method
removeKdigits
(self, num: str, k: int)
Leetcode Challenge/February/Python/Remove K Digits.py:2
Method
removeKdigits
(String num, int k)
Leetcode Challenge/February/java/Remove K Digits.java:2
Method
removeMin
Heap/Min Heap/Implementation.cpp:39
Method
removeNodes
(self, head: Optional[ListNode])
Linked List/Remove Nodes From Linked List.py:20
Method
removeNthFromEnd
Leetcode Challenge/March2k24/Remove Nth Node From End of List.cpp:11
Method
removePalindromeSub
Leetcode Challenge/June2k22/cpp/Remove Palindromic Subsequences.cpp:3
Function
removeX
Recursion/Remove all occurrences of a character in a string.cpp:1
Method
removeZeroSumSublists
Linked List/Remove Zero Sum Consecutive Nodes from Linked List.cpp:44
Method
reorderList
Leetcode Challenge/December/Reorder List.cpp:29
Function
replace
Recursion/Recursive program to replace all occurrences of pi with 3.14 in a given string.cpp:19
Method
reset
Resets the array to its original configuration and return it.
Leetcode July Challenge/Python/Shuffle an Array.py:7
Method
reset
Leetcode July Challenge/C++/Shuffle an Array.cpp:12
Method
result
(a,b,op)
Stacks and Queues/Evaluate Expression.py:7
Function
rev_linkedlist_itr
Following is the node structure class node{ public: int data; node * next; node(int data){ this->data=data; this->next=NUL
Reverse a LL(Iteratively).cpp:26
Method
reverse
Linked List/Convert Binary Number In a LL To Integer.cpp:52
Method
reverse
Linked List/Reverse A Linked List II.cpp:23
Method
reverse
Leetcode Challenge/June/Reverse Linked List II.cpp:14
Method
reverse
Leetcode Challenge/December/Convert Binary Number in a Linked List to Integer.cpp:14
Method
reverseBetween
Linked List/Reverse A Linked List II.cpp:47
Method
reverseBetween
Leetcode Challenge/June/Reverse Linked List II.cpp:28
Method
reverseHelper
Linked List/Reverse A Linked List II.cpp:42
Method
reverseKGroup
(self, head: ListNode, k: int)
Leetcode July Challenge/Python/Reverse Nodes in k-Group.py:35
Method
reverseKGroup
Leetcode July Challenge/C++/Reverse Nodes in k-Group.cpp:24
Method
reverseList
Linked List/Palindrome Linked List.cpp:22
Function
reversePrint
Print in Reverse.cpp:1
Function
reverseQueue
Stacks and Queues/Assignment/Reverse Queue.cpp:16
Function
reverseStack
Stacks and Queues/Assignment/Reverse Stack.cpp:16
Function
reverse_linked_list_rec
Following is the node structure class node{ public: int data; node * next; node(int data){ this->data=data; this->next=NUL
Reverse LL(Recursively).cpp:27
Method
rightSideView
Leetcode Challenge/July2K22/cpp/Binary Tree Right Side View.cpp:22
Method
rob
(self, nums: List[int])
Leetcode Challenge/December/House Robber.py:8
Method
rob
(self, root: TreeNode)
Leetcode Challenge/December/House Robber III.py:26
Method
rob_helper
(nums,n)
Leetcode Challenge/December/House Robber.py:10
Function
rotate
This function rotates a linked list counter-clockwise and updates the head. The function assumes that k is smaller than size of linked list. It doesn'
Linked List/Rotate a List(Anti-Clockwise).cpp:14
Method
rotate
Leetcode Challenge/January/Rotate array.cpp:3
Method
rotateRight
Linked List/Rotate a List(Clockwise).cpp:33
Method
rotateRight
(self, head: Optional[ListNode], k: int)
Leetcode Challenge/March/Python/Rotate List.py:7
Method
rotateRight
Leetcode Challenge/March/C++/Rotate List.cpp:13
Method
rotateRight
(ListNode head, int k)
Leetcode Challenge/March/Java/Rotate List.java:12
← previous
next →
601–700 of 807, ranked by callers