Data Structure
Java
Python
HTML
Interview Preparation
Tutorials
Courses
Tracks
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
A
anujpato5vy
Current POTD Streak
STREAK
148
/1540
days
Longest streak/Global longest streak
Institution
U1 University
1 Rank
Institute Rank
Language Used
C++, Java, C
Coding Score
1227
Problem Solved
348
Contest Rating
__
Apply for Campus Mantri
392 points
Contributor
392 points
Contributor
1 Point
Proficient
Proficient
100 Point
Scholar
Scholar
1k Point
Master
Master
10k Point
Ace
Ace
50k Point
Find Your Place Among the Best
Explore Our Badge Program and Start Writing.
Start writing
How Badges Work
0 submissions in current year
Current
2024
2023
January
February
March
April
May
June
July
August
September
October
SCHOOL (0)
BASIC (3)
EASY (119)
MEDIUM (185)
HARD (41)
Reverse alternate nodes in Link List
Sort a linked list of 0s, 1s and 2s
Add Number Linked Lists
Merge 2 sorted linked list in reverse order
Insert in Sorted Circular Linked List
Quick Sort
Binary Tree from Inorder and Postorder
Delete without head pointer
Heap Sort
Two Stacks in an Array
Topological sort
Find kth element of spiral matrix
Additive sequence
Multiply two strings
Implement Atoi
Print matrix in diagonal pattern
Closest in BST
BST with Dead End
Find triplets with zero sum
Duplicate Subtree
Find Common Nodes in two BSTs
Level order traversal
Peak element
Union of Two Linked Lists
Euler Circuit in an Undirected Graph
Euler circuit and Path
Binary Tree to CDLL
Linked List that is Sorted Alternatingly
K Sum Paths
Leftmost and rightmost nodes of binary tree
Arrange Consonants and Vowels
Count the nodes at distance K from leaf
Vertical sum
Isomorphic Trees
Predecessor and Successor
Children Sum in a Binary Tree
Diagonal sum in binary tree
Normal BST to Balanced BST
Sum of nodes on the longest path
Kth Ancestor in a Tree
ZigZag Tree Traversal
Mother Vertex
Gray to Binary Conversion
Smallest Positive Missing
Power Of Numbers
Wave Array
Rearrange an array with O(1) extra space
Maximum Index
Two Repeated Elements
Union of 2 Sorted Arrays
Indexes of Subarray Sum
Merge Without Extra Space
Level of Nodes
Make Matrix Beautiful
Boolean Matrix
Determinant of a Matrix
Subarray with 0 sum
Strings Rotations of Each Other
Fractional Knapsack
Detect Cycle using DSU
Stickler Thief
Optimal Strategy For A Game
Sum of all substrings of a number
Longest Increasing Subsequence
Longest Common Subsequence
Lucky Numbers
Implement Trie
Shortest Common Supersequence
Nth Catalan Number
Top K Frequent in Array
Word Break
Stock Buy and Sell – Multiple Transaction Allowed
Word Search
4 Sum - All Quadruples
Paths to reach origin
Pascal Triangle
Maximum Index
Number of subarrays with maximum values in given range
Flip Bits
Top k numbers in a stream
Consecutive 1's not allowed
Pythagorean Triplet
Painting the Fence
Count pairs Sum in matrices
Sum of bit differences
Form the Largest Number
Longest subarray with sum divisible by K
Check if a string is repetition of its substring of k-length
Check if frequencies can be equal
Column name from a given column number
Substrings with K Distinct
Max Sum without Adjacents
Shuffle integers
Find the N-th character
k largest elements
Sum of XOR of all pairs
Longest Substring with K Uniques
Longest Palindrome in a String
Arranging the array
Rod Cutting
LCS of three strings
Longest Palindromic Subsequence
Largest Sum Subarray of Size at least K
Minimize the Heights II
Transform to prime
First and Last Occurrences
Minimum Deletions
Permutations of a String
Number following a pattern
CamelCase Pattern Matching
Sum of Products
Subarrays Product Less than K
Unique Number II
Bleak Numbers
Game of XOR
Largest prime factor
Maximize dot product
Max Sum Increasing Subsequence
Coin Change (Count Ways)
Sequence of Sequence
Santa Banta
Gold Mine Problem
Perfect Sum Problem
Power Set
Knapsack with Duplicate Items
nCr
Partition Equal Subset Sum
Count possible ways to construct buildings
Count digit groupings of a number
Array Pair Sum Divisibility Problem
Matchsticks game
Number of paths
Number of paths in a matrix with k coins
Game with String
Smith Number
Maximum sum of hour glass
How Many X's?
Exit Point in a Matrix
Longest Repeating Subsequence
Stream First Non-repeating
Transitive closure of a Graph
Replace O's with X's
Rohan's Love for Matrix
Express as sum of power of natural numbers
Traverse All Edges And Vertices
Find the string in grid
Techfest and the Queue
Largest subsquare surrounded by X
Shortest Source to Destination Path
Remove K Digits
Prefix match with other strings
Find duplicate rows in a binary matrix
Paths from root with a specified sum
Shortest Prime Path
Sort for Singly Linked List
Anti Diagonal Traversal of Matrix
Unique Number III
All Unique Permutations of an array
Course Schedule
Clone an Undirected Graph
Reverse a Stack
Maximum Meetings in One Room
Max Equal sum of 3 Stacks
Buy Maximum Stocks
Find shortest safe route in a matrix
Graph is Tree or Not
Minimum Multiplications to reach End
Number Of Enclaves
Eventual Safe States
City With the Smallest Number of Neighbors at a Threshold Distance
Shortest path in Directed Acyclic Graph
Task Scheduler
Minimum Absolute Difference In BST
Maximum Sum Combination
Floor in BST
Water the plants
Construct a Full Binary Tree
Modify Linked List-1
Fraction pairs with sum 1
New Year Resolution
Grinding Geek
Flatten BST to sorted list
Minimize the Difference
Pairs violating the BST property
Kth common ancestor in BST
Pairwise swap elements of a linked list
Delete nodes having greater value on right
Remove duplicates from an unsorted linked list
Reverse a Doubly Linked List
Right View of Binary Tree
K distance from root
Height of Binary Tree
Balanced Tree Check
Kth from End of Linked List
Delete Middle of Linked List
Decimal Equivalent of Binary Linked List
Intersection Sorted Linked Lists
Find Transition Point
Remove Duplicates from a Sorted Linked List
Level Order in spiral form
DFS of Graph
Insert a node in a BST
BFS of graph
Identical Trees
Lowest Common Ancestor in a BST
Binary Tree to BST
Unique rows in boolean matrix
Remove every k'th node
Leaves at Same Level or Not
Delete in a Singly Linked List
Kth largest element in BST
Minimum distance in an Array
Array Duplicates
Three way partitioning
Inorder Successor in BST
Insert in a Sorted List
Minimum element in BST
Sum of leaf nodes in BST
More than n/k Occurrences
Symmetric Tree
Count Pairs whose sum is equal to X
Median of BST
Leaf under budget
Queue Reversal
Reverse first K of a Queue
Brothers From Different Roots
Delete Mid of a Stack
Swap the array elements
Predict the Column
Xoring and Clearing
Frequency in Queue
Frequency Game
First Set Bit
Rightmost different bit
Check K-th Bit
Power of 2
Frequencies in a Limited Array
Equilibrium Point
Array Leaders
Print adjacency list
Sum of upper and lower triangles
Print Matrix in snake Pattern
Transpose of Matrix
Matrix Boundary Traversal
Winner of an election
String Rotated by 2 Places
Isomorphic Strings
Panagram Checking
Non Repeating Character
Reach a given score
Count ways to N'th Stair
Count number of hops
Roman Number to Integer
Count the elements
Adding Ones
Move All Zeroes to End
String Duplicates Removal
Chocolate Distribution Problem
Rotate Bits
Number of occurrence
Reversing the equation
Does array represent Heap
Check if array is sorted
Find missing in second array
String's Count
Play With OR
At Least K Occurrences
Find the closest pair from two arrays
Palindrome String
Is Binary Number Multiple of 3
Minimum Operations
Divisibility by 8
Number of 1 Bits
Reverse Bits
Max Sum Subarray of size K
Nth Fibonacci Number
Copy Set Bits in Range
Maximum Sum Problem
Party of Couples
Shortest path from 1 to n
Sum 1 to n Divisors
Reach the Nth point
Perfect Numbers
Largest number possible
Recamans sequence
Form a number divisible by 3 using array digits
Least Prime Factor
Sum of First N Natural Numbers
Recursive sequence
Maximum Diamonds
Row with Minimum 1s
Surround the 1's
Inorder Traversal and BST
Letters Collection
Print Pattern
Sum of dependencies in a graph
Smallest window containing 0, 1 and 2
Insert an Element at the Bottom of a Stack
Fibonacci series up to Nth term
Maximum Depth Of Binary Tree
Bus Ticket Change
Maximum Identical Bowls
Ticket Counter
Unique Number of Occurrences
Linked List Group Reverse
Min distance between two given nodes of a Binary Tree
Serialize and deserialize a binary tree
Subtraction in Linked List
Distinct occurrences
AVL Tree Insertion
AVL Tree Deletion
Merge Sort on Doubly Linked List
Nodes at given distance in binary tree
String Permutations
Solve the Sudoku
Next Smallest Palindrome
Count Pairs in an Array
Search Pattern
Number of distinct subsequences
Wildcard string matching
Longest repeating and non-overlapping substring
Sum-string
Minimum Points To Reach Destination
Palindromic Partitioning
Next Happy Number
Strictly Increasing Array
Generalised Fibonacci numbers
Boolean Parenthesization
Possible Paths in a Tree
Brackets in Matrix Chain Multiplication
Search Pattern (Rabin-Karp Algorithm)
Find all Critical Connections in the Graph
Distribute Candies
Split Array Largest Sum
Find the String
Maximum Number of Toys
Stock Buy and Sell – Max 2 Transactions Allowed
Largest rectangular sub-matrix whose sum is 0
Vertex Cover
Expression Add Operators
Candy
Better String
Min Time
Geekina Hate 1s
Making A Large Island
Reverse a String
First n Fibonacci
Largest Element in Array
close
A
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri