Tutorials
Courses
Go Premium
Data Structure
Java
Python
HTML
Interview Preparation
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
yaduttampareek95
Current POTD Streak
STREAK
314
/1479
days
Longest streak/Global longest streak
Institution
Poornima Institute of Engineering and Technology Jaipur
2 Rank
Institute Rank
Language Used
C++, Java, Python, C
Coding Score
2985
Problem Solved
868
Contest Rating
__
Campus Mantri
shreyashs7dto
6 points
Contributor
6 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
43 submissions in current year
Current
2024
2023
2022
2021
January
February
March
April
May
June
July
August
SCHOOL (0)
BASIC (20)
EASY (285)
MEDIUM (463)
HARD (100)
Meera's Challenge
Reverse alternate nodes in Link List
Rotate a Linked List
Sort a linked list of 0s, 1s and 2s
Add Number Linked Lists
Merge 2 sorted linked list in reverse order
Detect Loop in linked list
Quick Sort on Linked List
Insert in Sorted Circular Linked List
Quick Sort
Binary Tree from Inorder and Postorder
Bottom View of Binary Tree
Delete without head pointer
Intersection in Y Shaped Lists
Diameter of a Binary Tree
Heap Sort
Merge two sorted linked lists
Sum Tree
Construct Binary Tree from Parent Array
Tree Boundary Traversal
Directed Graph Cycle
Undirected Graph Cycle
Absolute List Sorting
Two Stacks in an Array
Max sum path in two arrays
The Celebrity Problem
Topological sort
Find the number of islands
Find kth element of spiral matrix
Max sum in the configuration
Wildcard Pattern Matching
Linked List to Binary Tree
Validate an IP Address
Remove loop in Linked List
Additive sequence
Sorted subsequence of size 3
Multiply two strings
Implement Atoi
Maximum Difference
Palindrome Linked List
Print matrix in diagonal pattern
Rat in a Maze Problem - I
Closest in BST
BST with Dead End
Merge two BST 's
Count distinct elements in every window
Root to leaf paths sum
Find triplets with zero sum
Duplicate Subtree
k-th Smallest in BST
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
Ancestors in Binary Tree
Binary Tree to CDLL
Pair Sum in BST
Root to Leaf Paths
Populate Inorder Successor for all nodes
XOR Linked List
Linked List that is Sorted Alternatingly
K Sum Paths
Leftmost and rightmost nodes of binary tree
Construct Tree from Inorder & Preorder
Arrange Consonants and Vowels
Count the nodes at distance K from leaf
Vertical sum
Insert in Sorted way in a Sorted DLL
Isomorphic Trees
Maximum path sum from any node
Predecessor and Successor
Children Sum in a Binary Tree
Diagonal sum in binary tree
Deletion and Reverse in Circular Linked List
Normal BST to Balanced BST
Duplicate Subtrees
Sum of nodes on the longest path
Kth Ancestor in a Tree
ZigZag Tree Traversal
Vertical Width of a Binary Tree
Mother Vertex
Gray to Binary Conversion
Smallest Positive Missing
Power Of Numbers
Maximum occured integer
Wave Array
Rotate and delete
Rearrange Array Alternately
Rearrange an array with O(1) extra space
Maximum Index
Rotate Array
Kadane's Algorithm
Majority Element
Count Inversions
Two Repeated Elements
Union of 2 Sorted Arrays
Indexes of Subarray Sum
Count the number of possible triangles
Number of pairs
Merge Without Extra Space
Level of Nodes
Make Matrix Beautiful
Boolean Matrix
Spirally traversing a matrix
Search in a sorted Matrix
Rotate by 90 degree
Determinant of a Matrix
Distance of nearest cell having 1
Subarray with 0 sum
Subarray range with given sum
Sort Elements by Decreasing Frequency
Longest Consecutive Subsequence
Strings Rotations of Each Other
Case-specific Sorting of Strings
Next Greater Element
K Sized Subarray Maximum
Nearly sorted
Fractional Knapsack
Job Sequencing Problem
Black and White
Minimum Jumps
Detect Cycle using DSU
Stickler Thief
Optimal Strategy For A Game
Sum of all substrings of a number
Longest Increasing Subsequence
Longest Common Subsequence
0 - 1 Knapsack Problem
Lucky Numbers
Allocate Minimum Pages
X Total Shapes
Zero Sum Subarrays
Kth Smallest
Implement Trie
Shortest Common Supersequence
Nth Catalan Number
Container With Most Water
Print Anagrams Together
Rotate by 90 degree
Top K Frequent in Array
Closest Three Sum
Word Break
Stock Buy and Sell – Multiple Transaction Allowed
Word Search
4 Sum - All Quadruples
Sort 0s, 1s and 2s
Complement
Maximum Sub Array
Pascal Triangle
Maximum Index
Number of subarrays with maximum values in given range
Flip Bits
Top k numbers in a stream
Sum of Middle elements of two sorted arrays
Consecutive 1's not allowed
Split the Array
Count of Subarrays
Pythagorean Triplet
Painting the Fence
Search in Rotated Sorted Array
Count pairs Sum in matrices
Sum of bit differences
Count Full Binary Trees
Form the Largest Number
Alternate Vowel and Consonant String
Add Binary Strings
Maximum Product Subarray
Longest subarray with sum divisible by K
Check if a string is repetition of its substring of k-length
Row with max 1s
Swapping pairs make sum equal
Check if frequencies can be equal
Column name from a given column number
Substrings with K Distinct
Form a palindrome
Nuts and Bolts Problem
Longest Subarray with Sum K
Cutting Binary String
Max Sum without Adjacents
Shuffle integers
Find the N-th character
k largest elements
Sum of XOR of all pairs
Longest Common Substring
Longest substring with distinct characters
Longest Substring with K Uniques
Longest Palindrome in a String
K-th element of two Arrays
Arranging the array
Rod Cutting
K closest elements
Maximize the sum of selected numbers from a sorted array to make it empty
LCS of three strings
Longest Palindromic Subsequence
Largest Sum Subarray of Size at least K
Minimum sum
Not a subset sum
Build the smallest
Minimize the Heights II
Transform to prime
First and Last Occurrences
Minimum Deletions
Print N-bit binary numbers having more 1s than 0s
Find patterns
Permutations of a String
Number following a pattern
CamelCase Pattern Matching
Sum of Products
Subarrays Product Less than K
Unique Number II
Bleak Numbers
Modular Exponentiation
Game of XOR
Largest prime factor
3 Divisors
Maximum Tip Calculator
Modified Game of Nim
Minimum number of deletions and insertions
Maximize dot product
Max Sum Increasing Subsequence
Minimum cost to fill given weight in a bag
Coin Change (Count Ways)
Sequence of Sequence
Santa Banta
String Subsequence
Gold Mine Problem
Perfect Sum Problem
Smallest number
Trail of ones
Shreyansh and his bits
K-Palindrome
Longest subsequence-1
Power Set
Count ways to N'th Stair(Order does not matter)
Minimum Cost To Make Two Strings Identical
Knapsack with Duplicate Items
nCr
Geek and its Game of Coins
Minimum steps to destination
Partition Equal Subset Sum
Longest Bitonic subsequence
Count possible ways to construct buildings
Count digit groupings of a number
Array Pair Sum Divisibility Problem
Magic Triplets
Fill up buckets
Matchsticks game
Unique partitions
Akku and Binary Numbers
Number of paths
Nth Natural Number
Stepping Numbers
Number of paths in a matrix with k coins
LCM Triplet
Jumping Numbers
Game with String
Count even length
Grouping Of Numbers
Smith Number
Next Permutation
Missing number in matrix
Filling Bucket
How Many X's?
Longest Repeating Subsequence
Longest alternating subsequence
Rotate Each Row of Matrix K Times
Decode the string
Total Decoding Messages
Stream First Non-repeating
Maximum Sub-String after at most K changes
Print leaf nodes from preorder traversal of BST
Number of Rectangles in a Circle
Largest square formed in a matrix
Longest Perfect Piece
Integral Points Inside Triangle
The Smurfs
Satisfy the equation
Transitive closure of a Graph
Replace O's with X's
Express as sum of power of natural numbers
Traverse All Edges And Vertices
Find the string in grid
Floyd Warshall
Techfest and the Queue
Largest subsquare surrounded by X
Shortest Source to Destination Path
Divisibility tree
Base Equivalence
Reverse Spiral Form of Matrix
Save Your Life
Hamiltonian Path
Subarrays with sum K
Remove K Digits
Substrings of length k with k-1 distinct elements
Construct list using given q XOR queries
Prefix match with other strings
Find duplicate rows in a binary matrix
Single valued subtree
Paths from root with a specified sum
Shortest Prime Path
Sort for Singly Linked List
Remove all occurences of duplicates in a linked list
Minimize the Heights I
Anti Diagonal Traversal of Matrix
Unique Number III
All Unique Permutations of an array
Course Schedule
Clone an Undirected Graph
Overlapping Intervals
Remove and Reverse
Find k-th smallest element in given n ranges
Even Swap
Reverse a Stack
Maximum product subset of an array
Maximum Meetings in One Room
Enemy
Max Equal sum of 3 Stacks
Buy Maximum Stocks
Array Removals
Find shortest safe route in a matrix
Largest subtree sum in a tree
Wine Buying and Selling
Graph is Tree or Not
Replace every element with the least greater element on its right
Sort a k sorted doubly linked list
Construct Binary Tree from String with bracket representation
Check if all levels of two trees are anagrams or not
Shortest Distance in a Binary Maze
Minimum Multiplications to reach End
Number Of Enclaves
Eventual Safe States
City With the Smallest Number of Neighbors at a Threshold Distance
Alex Travelling
Number Of Islands
Path With Minimum Effort
Shortest Path in Undirected Graph
Shortest path in Directed Acyclic Graph
Majority Element - More Than n/3
Sum of Beauty of All Substrings
Minimal Cost
Aggressive Cows
Combination Sum II
Shortest Path in Weighted undirected graph
Minimum number of jumps
Sort an array according to the other
Count triplets with sum smaller than X
Dam of Candies
Counting elements in two arrays
Substrings of length k with k-1 distinct elements
Count the Reversals
Task Scheduler
Merge k Sorted Arrays
Hands of Straights
Maximum AND Value
Minimum Absolute Difference In BST
Lemonade Change
Maximum Sum Combination
Non-overlapping Intervals
Multiply two strings
Insert Interval
Partitions with Given Difference
Floor in BST
GCD Array
Minimize number of Students to be removed
Maximum Value
Shortest Prime Path
Absolute difference divisible by K
Make array elements unique
Carpet into Box
Minimum X (xor) A
Find minimum number of Laptops required
Geeks And The String
Find the longest string
Maximum Profit By Choosing A Subset Of Intervals
Minimum repeat to make substring
Paint N Houses
Max Sum without Adjacents
Intersection Point in Y Shaped Linked Lists
BST Downward Traversal
Length of the longest subarray with positive product
Count number of free cell
Maximum Bipartite Matching
Minimum Days
Walls Coloring
Water the plants
Geeks Island
Apple Sequences
Connect Nodes at Same Level
Unique Paths in a Grid
Valid Compressed String
Number of Good Components
Optimal Array
Best Node
Update Queries
Good Stones
Maximum Intersecting Lines
String rp or pr
Knight in Geekland
Shy Geek
Count Special Numbers
Minimum Steps Required
Count Cyclic Paths
Maximum Triplet product
Second smallest number
Special Palindrome Substrings
Maximum Possible Value
Distinct Difference
Anagrams in Linked List
Geek hates too many 1s
Maximum Length
Remove the balls
Unequal Arrays
Job Sequencing Problem
Bheem Wants Ladoos
Prefix Suffix String
Smaller Sum
Shortest XY distance in Grid
BST Maximum Difference
Nearest smaller tower
Another Coin Change Problem
Geek's Village and Wells
Find Number
Powerful Integer
Max Coins
Good Subtrees
Subtree In N-ary Tree
Easy Task
Add Minimum Characters
Maximum subset sum
Palindrome with minimum sum
Longest Subarray Of Evens And Odds
Internet Connection
Project Manager
Count Total Setbits
Tree Transformation
Construct a Full Binary Tree
GFG's new Game
K-periodic Circular String
Airlines and Railways
Distinct Elements
Modify Linked List-1
Gathering Boulders
Find Kth permutation
Fraction pairs with sum 1
Plucking Flowers
New Year Resolution
Grinding Geek
Collecting Coins
Flatten BST to sorted list
Last Fairy Standing
Minimize the Difference
Pairs violating the BST property
Kth common ancestor in BST
Kth Missing Positive Number in a Sorted Array
Count Subarrays with given XOR
Set Matrix Zeros
Count pairs with given sum
Find All Triplets with Zero Sum
Split array in three equal sum subarrays
Find H-Index
Count all triplets with given sum in sorted array
Sherlock's game
Linked List Group Reverse
Reorder List
Binary Tree to DLL
Clone List with Next and Random
Min distance between two given nodes of a Binary Tree
Max rectangle
Subtraction in Linked List
Distinct occurrences
LRU Cache
AVL Tree Insertion
Alien Dictionary
AVL Tree Deletion
Nodes at given distance in binary tree
Fixing Two nodes of a BST
Max Path Sum 2 Special Nodes
String Permutations
Trapping Rain Water
Max Circular Subarray Sum
Smallest window containing all characters
Histogram Max Rectangular Area
Find median in a stream
Solve the Sudoku
Minimum Cost Path
Median of 2 Sorted Arrays of Different Sizes
Burning Tree
Next Smallest Palindrome
Count Pairs in an Array
The Painter's Partition Problem-II
Search Pattern
Count Smaller elements
Longest Prefix Suffix
Number of distinct subsequences
Wildcard string matching
Circle of strings
Longest repeating and non-overlapping substring
Sum-string
Sub-arrays with equal number of occurences
Edit Distance
Minimum Points To Reach Destination
Minimum sum partition
Number Formation
Palindromic Partitioning
Next Happy Number
Stock Buy and Sell – Max K Transactions Allowed
Matrix Chain Multiplication
Strictly Increasing Array
Median in a row-wise sorted Matrix
Generalised Fibonacci numbers
Boolean Parenthesization
Longest valid Parentheses
Possible Paths in a Tree
N-Queen Problem
Brackets in Matrix Chain Multiplication
Phone directory
Closest Palindrome
Find the pattern
Smallest Positive Integer that can not be represented as Sum
Search Pattern (Rabin-Karp Algorithm)
Find all Critical Connections in the Graph
Distribute candies in a binary tree
Split Array Largest Sum
Find number of closed islands
Scrambled String
Shortest Path by Removing K walls
Find the String
Maximum Number of Toys
Articulation Point - I
Stock Buy and Sell – Max 2 Transactions Allowed
Min Chars to Add for Palindrome
Largest rectangular sub-matrix whose sum is 0
Vertex Cover
Maximum Connected group
Expression Add Operators
MaxSkill
Minimize Max Distance to Gas Station
Candy
Account Merge
Better String
Count Lucky Permutations
Count the Substring
Select Nodes
Largest Sum Cycle
Fixing Two swapped nodes of a BST
Shortest Path Using Atmost One Curved Edge
Avoid Explosion
Redundant Parenthesis
Partition the Array
Count Binary Strings With No Consecutive 1s
Divide in Incremental Groups
Max min Height
Maximum Number of coins
Median of the Subarrays
Minimum BST Sum Subtree
Special Digits
Cake Distribution Problem
Min Time
Game Of Subsets
Geekina Hate 1s
Making A Large Island
Pairing the brackets
Average of String
Reverse a linked list
Frequency in a Linked List
Pairwise swap elements of a linked list
Linked list of strings forms a palindrome
Delete nodes having greater value on right
Remove duplicates from an unsorted linked list
Delete in a Doubly Linked List
Inorder Traversal
Reverse a Doubly Linked List
Check for BST
Right View of Binary Tree
K distance from root
Mirror Tree
Height of Binary Tree
Balanced Tree Check
Kth from End of Linked List
Middle of a Linked List
Left View of Binary Tree
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
Reverse Level Order Traversal
DFS of Graph
Insert a node in a BST
BFS of graph
Identical Trees
Root to leaf path sum
Square Root
Nodes without a Sibling
Lowest Common Ancestor in a BST
Largest subarray of 0's and 1's
Remove Duplicates from an array
Binary Tree to BST
Unique rows in boolean matrix
Toeplitz matrix
Remove every k'th node
Leaves at Same Level or Not
Multiply two linked lists
You and your books
Max distance between same elements
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
Index of an Extra Element
Insert in a Sorted List
Split Linked List Alternatingly
Sum of leaf nodes in BST
More than n/k Occurrences
Symmetric Tree
Delete Alternate Nodes
Find the Sum of Last N nodes of the Linked List
Count Pairs whose sum is equal to X
Find length of Loop
Median of BST
Leaf under budget
Linked List Matrix
Queue Reversal
Reverse first K of a Queue
Remove Half Nodes
Closest Neighbour in BST
Brothers From Different Roots
Delete Mid of a Stack
Swap the array elements
Predict the Column
Xoring and Clearing
Reverse an Array
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
Roof Top
Print adjacency list
Sum of upper and lower triangles
Print Matrix in snake Pattern
Transpose of Matrix
Matrix Boundary Traversal
Anagram
Winner of an election
String Rotated by 2 Places
Isomorphic Strings
Reverse Words
Panagram Checking
Non Repeating Character
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
Check Equal Arrays
Missing in Array
Product array puzzle
Roman Number to Integer
Max Value Permutation
Missing And Repeating
Count the elements
Find the closest number
Adding Ones
Sorted and Rotated Minimum
Search in a Row-Column sorted matrix
Move All Zeroes to End
String Duplicates Removal
Chocolate Distribution Problem
Find Pair Given Difference
Pairs with difference k
Swap and Maximize
Single Number
Alternate Positive Negative
Remaining String
Kth distance
Remove Duplicates
Nearest multiple of 10
Reorganize The Array
Facing the sun
Second Largest
Convert array into Zig-Zag fashion
Two Sum - Pair with Given Sum
Rotate Bits
Number of occurrence
K-Pangrams
Reversing the equation
Does array represent Heap
Modify the Array
Convert an array to reduced form
Sum Pair closest to target
Find missing in second array
String's Count
Longest Common Prefix of Strings
Segregate 0s and 1s
Play With OR
At Least K Occurrences
Find the closest pair from two arrays
Palindrome String
Total count
Pair with given sum in a sorted array
Print Bracket Number
Balanced string
Odd Even Problem
Binary representation of next number
Is Binary Number Multiple of 3
Extract the Number from the String
Minimum Operations
Divisibility by 8
Number of 1 Bits
Find the Highest number
Reverse Bits
Max Sum Subarray of size K
Nth Fibonacci Number
Swap two nibbles in a byte
Copy Set Bits in Range
Maximum Sum Problem
Party of Couples
Shortest path from 1 to n
Sum 1 to n Divisors
Count numbers containing 4
Reach the Nth point
Minimum number of Coins
Break a number
Perfect Numbers
Largest number possible
Recamans sequence
The Palindrome Pattern
Compare two fractions
Form a number divisible by 3 using array digits
Least Prime Factor
Sum of First N Natural Numbers
Recursive sequence
Juggler Sequence
Summed Matrix
Maximum Diamonds
Arithmetic Number
Row with Minimum 1s
Surround the 1's
Coverage of all Zeros in a Binary Matrix
Help Ishaan
Trace Path
Inorder Traversal and BST
Sequence Fun
Letters Collection
Print Pattern
Primes sum
Maximum Sum LCM
Check if it is possible to convert one string into another with given constraints
Earthquake and the Paint Shop
Array to BST
Sum of dependencies in a graph
Print Diagonally
Find maximum volume of a cuboid
Count the Substrings
Smallest window containing 0, 1 and 2
Move Last Element to Front of a Linked List
Insert an Element at the Bottom of a Stack
Fibonacci series up to Nth term
Stock Buy and Sell – Max one Transaction Allowed
Maximum Depth Of Binary Tree
Divisor Game
Equilibrium Point
Subarray range with given sum
Pair with given sum in a sorted array
k sorted array
Subarray with given sum
Count distinct elements in every window
Parenthesis Checker
First negative integer in every window of size k
Reach a given score
Swap all odd and even bits
Minimize the sum
Last modified ball
Transform to Sum Tree
Parent of Max GCD Siblings in a Binary Tree
Find the first node of loop in linked list
Maximum Weight Node
Min operations
Balloon Everywhere
Reverse both parts
Cutting Rectangles
Frogs and Jumps
Make Array Elements Equal
Equal Left and Right Subarray Sum
Make the array beautiful
Remainder on dividing by 11
Is it Fibonacci
Max Level Sum in Binary Tree
Binary matrix having maximum number of 1s
Number of Subarrays of 0's
Maximum Identical Bowls
Bus Conductor
Wifi Range
Minimum Number
Seating Arrangement
String Mirror
Maximize Sum
Make Palindrome
Geekina loves order
Binary Modulo
Total Cuts
Bit Magic
Array Operations
Dominant Pairs
Total Traversal Time
Valuable String
Special Array
Count Total Digits in a Number
Wave Array
Antique Collections
Binary Array
Cousins in Tree
Strong Students in School
Refueling
Density of a Tree
Minimum Thorns
Ticket Counter
Weight Problem
Unique Number of Occurrences
Maximum Number
Beautiful Number
Strong Students in School
Complete the Staircase
String Matching
Array Game
Even Sum
High Frequency
Two Smallests in Every Subarray
Split an array into two equal Sum subarrays
Largest Pair Sum
Two Swaps
Meeting Rooms
Count Pairs whose sum is less than target
Union of Two Sorted Arrays with Distinct Elements
Intersection of Two arrays with Duplicate Elements
Search in a row-wise sorted matrix
Find Length of Linked List
Print number pattern
Minimum element in BST
Is Linked List Length Even?
Identical Linked Lists
Triplet Family
Reverse a String
First n Fibonacci
C++ Hello World
Alternative Sorting
Min and Max in Array
Max Min
Convert array into Zig-Zag fashion
First and last occurrences of x
K largest elements
Power of 2
Naughty Geek
Valid Strings
Time Travel
Who has the majority?
close
Y
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 !