Tutorials
Courses
Go Premium
Data Structure
Java
Python
HTML
Interview Preparation
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
P
pankaj2025
Current POTD Streak
STREAK
58
/1476
days
Longest streak/Global longest streak
Institution
Galgotias University (GU) Noida
63 Rank
Institute Rank
Language Used
C++, C, Java
Coding Score
1686
Problem Solved
483
Contest Rating
__
Campus Mantri
ihr5
66 points
Contributor
66 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
4 submissions in current year
Current
2024
2023
2022
2021
2020
January
February
March
April
May
June
July
August
SCHOOL (0)
BASIC (17)
EASY (118)
MEDIUM (294)
HARD (54)
Rearrange characters
Sort a linked list of 0s, 1s and 2s
Add Number Linked Lists
Add 1 to a Linked List Number
Detect Loop in linked list
Quick Sort on Linked List
Count BST nodes that lie in a given range
Merge Sort
Bottom View of Binary Tree
Intersection in Y Shaped Lists
Diameter of a Binary Tree
Add all greater values to every node in a BST
Sum Tree
Construct Binary Tree from Parent Array
Connect Nodes of Levels
Flattening a Linked List
Diagonal Tree Traversal
Tree Boundary Traversal
Directed Graph Cycle
Undirected Graph Cycle
LCA in Binary Tree
Two Stacks in an Array
The Celebrity Problem
Largest subarray with 0 sum
Topological sort
Vertical Tree Traversal
Merge K sorted linked lists
Find the number of islands
Gas Station
Wildcard Pattern Matching
Linked List to Binary Tree
Check if subtree
Extreme nodes in alternate order
Kth smallest element in a Matrix
Is Binary Tree Heap
Clone a Binary Tree
Remove loop in Linked List
Dijkstra Algorithm
Minimum Spanning Tree
Largest BST
Interleaved Strings
Count Palindromic Subsequences
Minimum Swaps to Sort
Palindrome Linked List
Strongly Connected
Rat in a Maze Problem - I
Bipartite Graph
Number of root to leaf paths
BST with Dead End
Merge two BST 's
Merge k Sorted Arrays
Bridge edge in a graph
Sort a stack
Duplicate Subtree
Top View of Binary Tree
k-th Smallest in BST
Level order traversal
Peak element
Ancestors in Binary Tree
Binary Tree to CDLL
Populate Inorder Successor for all nodes
Construct expression tree
K Sum Paths
Construct Tree from Inorder & Preorder
Isomorphic Trees
Predecessor and Successor
Leaves to DLL
Largest Independent Set Problem
Children Sum in a Binary Tree
Duplicate Subtrees
Construct Tree from Preorder Traversal
Sum of nodes on the longest path
Kth Ancestor in a Tree
ZigZag Tree Traversal
Swap Kth nodes from ends
Maximum sum of Non-adjacent nodes
Mother Vertex
Possible Words From Phone Digits
Rearrange Array Alternately
Kadane's Algorithm
Majority Element
Binary Array Sorting
Count Inversions
Triplet Sum in Array
Merge Without Extra Space
Spirally traversing a matrix
Distance of nearest cell having 1
Subarray with 0 sum
Longest Consecutive Subsequence
Strings Rotations of Each Other
Postfix Evaluation
Next Greater Element
K Sized Subarray Maximum
Activity Selection
Fractional Knapsack
Job Sequencing Problem
Minimum Platforms
Largest number in K swaps
Combination Sum
M-Coloring Problem
Minimum Jumps
Stickler Thief
Ways to Reach the n'th Stair
Optimal Strategy For A Game
Longest Increasing Subsequence
Longest Common Subsequence
0 - 1 Knapsack Problem
Sort according to an Array
Allocate Minimum Pages
Preorder to BST
Zero Sum Subarrays
Kth Smallest
Shortest Common Supersequence
Rotten Oranges
Steps by Knight
Maximize The Cut Segments
Print Anagrams Together
Rotate by 90 degree
Word Break
Prerequisite Tasks
4 Sum - All Quadruples
Excel Sheet | Part - 1
Sort 0s, 1s and 2s
Consecutive 1's not allowed
Painting the Fence
Search in Rotated Sorted Array
Smallest number with at least n trailing zeroes in factorial
Maximum Product Subarray
Row with max 1s
Form a palindrome
Count the Reversals
Max Sum without Adjacents
Factorials of large numbers
Find length of longest subsequence
Reverse each word in a given string
Remove leading zeros from an IP address
k largest elements
Longest Common Substring
Longest substring with distinct characters
Longest Substring with K Uniques
Longest Palindrome in a String
Integer to Words
K-th element of two Arrays
Triplets with Smaller Sum
Rod Cutting
Minimum swaps and K together
Smallest Absolute Difference
LCS of three strings
Longest Palindromic Subsequence
First negative in every window of size k
Maximum difference of zeros and ones in binary string
Minimum sum
Minimize the Heights II
First and Last Occurrences
Smaller on Left
Valid Substring
Minimum number of deletions
Minimum Swaps for Bracket Balancing
Permutations of a String
Friends Pairing Problem
Minimum number of deletions and insertions
Max Sum Increasing Subsequence
Minimum cost to fill given weight in a bag
Coin Change (Count Ways)
String Subsequence
Mobile numeric keypad
Coin Change (Minimum Coins)
Perfect Sum Problem
Smallest number
Kth Smallest Factor
Longest subsequence-1
Count ways to N'th Stair(Order does not matter)
Knapsack with Duplicate Items
nCr
Maximum path sum in matrix
Partition Equal Subset Sum
XOR Game
Handshakes
N Digit numbers with digits in increasing order
Knight Walk
Choose and Swap
Return two prime numbers
Find Prime numbers in a range
Game with String
Count even length
Next Permutation
Smaller on Left
Longest Repeating Subsequence
Longest alternating subsequence
Preorder Traversal and BST
Stream First Non-repeating
Segregate even and odd nodes in a Linked List
Largest square formed in a matrix
7 Segment Display
Replace O's with X's
Check Mirror in N-ary tree
Special Matrix
Biconnected Graph
Count the paths
Flood fill Algorithm
Height Using Parent Array
Hamiltonian Path
Coins of Geekland
Transfiguration
Spidey Sense
Escape the Forbidden Forest
Jump Game
Iterative Inorder
Preorder traversal (Iterative)
Iterative Postorder
Subset Sum Problem
Longest Palindromic Substring
All Palindromic Partitions
3 Sum Closest
Player with max score
Capacity To Ship Packages Within D Days
Coin Piles
Rearrange characters
Clone a stack without using extra space
Number of Provinces
Maximum sum leaf to root path
Maximum GCD of siblings of a binary tree
Single valued subtree
BST to max heap
BST to greater sum tree
Find rectangle with corners as 1
Cousins of a given node
Sort for Singly Linked List
Subsets
Rank The Permutations
Target Sum
Bitwise AND of the Array
Overlapping Intervals
Maximum number of events that can be attended
Maximum product subset of an array
Robots
Hit most Balloons
Max Equal sum of 3 Stacks
Buy Maximum Stocks
Concatenate Equal to Target
Exactly one swap
Maximum Winning score
Compute Before Matrix
Minimum Cost to cut a board into squares
Stack Permutations
Largest subtree sum in a tree
Expression contains redundant bracket or not
Replace every element with the least greater element on its right
Construct Binary Tree from String with bracket representation
Check if all levels of two trees are anagrams or not
Number of Distinct Islands
Shortest Distance in a Binary Maze
Minimum Multiplications to reach End
Eventual Safe States
Path With Minimum Effort
Cheapest Flights Within K Stops
Frog Jump
Geek's Training
Smaller Sum
Minimize number of Students to be removed
Maximum Value
Shortest Prime Path
Flattening a Linked List
Absolute difference divisible by K
Make array elements unique
Next Greater Element in Circular Array
Good Subarrays
Most and Least Tasty
Find the longest string
Maximum Profit By Choosing A Subset Of Intervals
Paint N Houses
BST Downward Traversal
Length of the longest subarray with positive product
Count number of free cell
Maximum Bipartite Matching
Minimum Days
Prime List
Walls Coloring
Geeks Island
Apple Sequences
Connect Nodes at Same Level
Unique Paths in a Grid
Valid Compressed String
Fill the Matrix
Number of Good Components
Optimal Array
Best Node
Update Queries
Good Stones
Count Cyclic Paths
Maximum Triplet product
Yet another query problem
Geek hates too many 1s
Job Sequencing Problem
Linked List Group Reverse
Binary Tree to DLL
Clone List with Next and Random
Min distance between two given nodes of a Binary Tree
Max rectangle
Distinct occurrences
LRU Cache
Alien Dictionary
Nodes at given distance in binary tree
Max Path Sum 2 Special Nodes
Trapping Rain Water
Smallest window containing all characters
Histogram Max Rectangular Area
Find median in a stream
Solve the Sudoku
Burning Tree
Merge Without Extra Space
The Painter's Partition Problem-II
Distinct palindromic substrings
Largest rectangle of 1s with swapping of columns allowed
Longest Prefix Suffix
Edit Distance
Minimum sum partition
Palindromic Partitioning
Stock Buy and Sell – Max K Transactions Allowed
Matrix Chain Multiplication
Median in a row-wise sorted Matrix
Word Break - 2
N-Queen Problem
nCr mod M | Part 1
Optimal binary search tree
Maximum sum Rectangle
Huffman Encoding
Corona Vaccine
Search Pattern (Z-algorithm)
Search Pattern (Rabin-Karp Algorithm)
Longest substring to form a Palindrome
Sorted Linked List to BST
Palindrome Pairs
Count occurrences of a given word in a 2-d array
Number of distinct words with K maximum contiguous vowels
Shortest Unique prefix for every word
Maximum Number of Toys
Min Chars to Add for Palindrome
Minimum swap required to convert binary tree to binary search tree
Chocolates Pickup
Count Lucky Permutations
Count the Substring
Fixing Two swapped nodes of a BST
Shortest Path Using Atmost One Curved Edge
Avoid Explosion
Walls Coloring II
Minimum BST Sum Subtree
Maximum good length
Geek and Bridges
Reverse a linked list
Delete nodes having greater value on right
Remove duplicates from an unsorted linked list
Split a Linked List into two halves
Inorder Traversal
Reverse a Doubly Linked List
Check for BST
Right View of Binary Tree
Mirror Tree
Height of Binary Tree
Balanced Tree Check
Kth from End of Linked List
Check If Circular Linked List
Left View of Binary Tree
Transform to Sum Tree
Intersection Sorted Linked Lists
Find Transition Point
Queue using two Stacks
Remove Duplicates from a Sorted Linked List
Stack using two queues
Reverse Level Order Traversal
DFS of Graph
BFS of graph
Identical Trees
Lowest Common Ancestor in a BST
Binary Search
Odd even level difference
Binary Tree to BST
Leaves at Same Level or Not
Multiply two linked lists
Delete in a Singly Linked List
Kth largest element in BST
Array Duplicates
Special Stack
Three way partitioning
Inorder Successor in BST
Convert Ternary Expression to Binary Tree
Reverse Using Stack
Symmetric Tree
Median of BST
Queue Reversal
Reverse first K of a Queue
Brothers From Different Roots
Rotate doubly Linked List
Print adjacency list
Isomorphic Strings
Reverse Words
Parenthesis Checker
Minimum Cost of ropes
N meetings in one room
Reach a given score
Count ways to N'th Stair
Count number of hops
Union of Arrays with Duplicates
Positive Negative Pair
Product array puzzle
Roman Number to Integer
Missing And Repeating
Sort by Set Bit Count
Maximize sum after K negations
Pairs with certain difference
Common in 3 Sorted Arrays
Move all negative elements to end
Chocolate Distribution Problem
Find Pair Given Difference
Form a Triangle
Smallest subarray with sum greater than x
Convert a sentence into its equivalent mobile numeric keypad sequence
Rearrange a string
Second Largest
Second most repeated string in a sequence
Longest Common Prefix of Strings
Min Number of Flips
Two sum -Pairs with 0 Sum
Maximum sum of increasing order elements from n arrays
Merge two binary Max heaps
Palindrome String
Search array with adjacent diff at most k
Shop in Candy Store
Reverse Bits
Count numbers containing 4
Page Faults in LRU
Check if it is possible to survive on Island
Maximum sum difference
BBT counter
Arithmetic Number
Check if it is possible to convert one string into another with given constraints
Array to BST
Count all possible paths from top left to bottom right
Rearrange Geek and his Classmates
Modified Numbers and Queries
Print Diagonally
Gadgets of Doraland
Largest value in each level
Smallest Subset with Greater Sum
Minimum Sum of Absolute Differences of Pairs
Smallest window containing 0, 1 and 2
Can Make Triangle
Matrix Operations
Consecutive Occurrence
Make Palindrome
Split Employees
Minimize the sum
Last modified ball
Transform to Sum Tree
Find the first node of loop in linked list
Is it Fibonacci
All Numbers
High Frequency
Good tree
Binary Good
Balloon Everywhere
Reverse both parts
Cutting Rectangles
Is it Fibonacci
Binary matrix having maximum number of 1s
Magic and toy shop
Postorder Traversal
Preorder Traversal
Sum Except First and Last
Search a node in BST
Minimum element in BST
Anagram of String
Value equal to index value
Rotate Array by One
Array Subset
Min and Max in Array
Print first letter of every word in the string
1s Complement
Find position of set bit
Binary number to decimal number
Count Squares
Middle of Three
Sorted matrix
close
P
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !