Tutorials
Courses
Go Premium
Data Structure
Java
Python
HTML
Interview Preparation
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
piyushgupta106970
Current POTD Streak
STREAK
03
/1477
days
Longest streak/Global longest streak
Institution
Indian Institute of Information Technology Bhagalpur
126 Rank
Institute Rank
Language Used
C++
Coding Score
1027
Problem Solved
298
Contest Rating
__
Apply for Campus Mantri
15 points
Contributor
15 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
8 submissions in current year
Current
2024
2023
2022
2021
January
February
March
April
May
June
July
August
SCHOOL (0)
BASIC (18)
EASY (69)
MEDIUM (172)
HARD (39)
Binary Tree to DLL
Clone List with Next and Random
Min distance between two given nodes of a Binary Tree
Serialize and deserialize a binary tree
Partition array to k subsets
Alien Dictionary
Nodes at given distance in binary tree
Fixing Two nodes of a BST
Number of Turns in Binary Tree
Trapping Rain Water
Smallest window containing all characters
Histogram Max Rectangular Area
Word Ladder I
Median of 2 Sorted Arrays of Different Sizes
Burning Tree
The Painter's Partition Problem-II
Count Smaller elements
Wildcard string matching
Circle of strings
Edit Distance
Palindromic Partitioning
Stock Buy and Sell – Max K Transactions Allowed
Matrix Chain Multiplication
Bit Difference
Median in a row-wise sorted Matrix
Word Break - 2
N-Queen Problem
Word Wrap
Maximum sum Rectangle
Water Connection Problem
Word Ladder II
Stock Buy and Sell – Max 2 Transactions Allowed
Min Chars to Add for Palindrome
Optimum location of point to minimize total distance
Largest rectangular sub-matrix whose sum is 0
Minimum swap required to convert binary tree to binary search tree
Whac - A - Mole
Largest Sum Cycle
Maximum good length
Rotate a Linked List
Add Number Linked Lists
Detect Loop in linked list
Count BST nodes that lie in a given range
Bottom View of Binary Tree
Intersection in Y Shaped Lists
Diameter of a Binary Tree
Sum Tree
Flattening a Linked List
Diagonal Tree Traversal
Tree Boundary Traversal
Delete a node from BST
LCA in Binary Tree
The Celebrity Problem
Largest subarray with 0 sum
Topological sort
Vertical Tree Traversal
Merge K sorted linked lists
Get Min from Stack
Gas Station
Generate IP Addresses
Kth smallest element in a Matrix
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
BST with Dead End
Merge two BST 's
Merge k Sorted Arrays
Duplicate Subtree
Top View of Binary Tree
k-th Smallest in BST
Level order traversal
Merge Sort for Linked List
Pair Sum in BST
Root to Leaf Paths
K Sum Paths
Construct Tree from Inorder & Preorder
Isomorphic Trees
Maximum path sum from any node
Predecessor and Successor
Largest Independent Set Problem
Children Sum in a Binary Tree
Duplicate Subtrees
Sum of nodes on the longest path
Maximum sum of Non-adjacent nodes
Ceil in BST
Smallest Positive Missing
Stock buy and sell
Kadane's Algorithm
Majority Element
Count Inversions
Triplet Sum in Array
Merge Without Extra Space
Possible paths between 2 vertices
Spirally traversing a matrix
Distance of nearest cell having 1
Longest Consecutive Subsequence
Fractional Knapsack
Job Sequencing Problem
Minimum Platforms
Largest number in K swaps
Combination Sum
M-Coloring Problem
Minimum Jumps
Stickler Thief
Egg Dropping Puzzle
Optimal Strategy For A Game
Longest Common Subsequence
Allocate Minimum Pages
Preorder to BST
Zero Sum Subarrays
Kth Smallest
Steps by Knight
Print Anagrams Together
Word Break
Stock Buy and Sell – Multiple Transaction Allowed
4 Sum - All Quadruples
Sort 0s, 1s and 2s
Maximum Index
Single Among Doubles
Smallest number with at least n trailing zeroes in factorial
Maximum Product Subarray
Row with max 1s
Form a palindrome
Rotate a Matrix
Transform String
Count the Reversals
Cutting Binary String
Factorials of large numbers
Smallest distinct window
Longest Palindrome in a String
K-th element of two Arrays
Triplets with Smaller Sum
Minimum swaps and K together
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
Valid Substring
Minimum Swaps for Bracket Balancing
Permutations of a String
Subarrays Product Less than K
Unique Number II
Largest prime factor
Angle between hour and minute hand
Minimum number of deletions and insertions
Max Sum Increasing Subsequence
Minimum cost to fill given weight in a bag
Santa Banta
Mobile numeric keypad
Coin Change (Minimum Coins)
Smallest number
Count ways to N'th Stair(Order does not matter)
Knapsack with Duplicate Items
Geek and its Game of Coins
Maximum path sum in matrix
Digit multiplier
Subset Sums
Path of greater than equal to k length
Choose and Swap
Game with String
Next Permutation
Longest Repeating Subsequence
Longest alternating subsequence
Stream First Non-repeating
Segregate even and odd nodes in a Linked List
Replace O's with X's
Check Mirror in N-ary tree
Floyd Warshall
Negative weight cycle
Hamiltonian Path
Triplets in Sorted Linked List
Iterative Postorder
Longest Palindromic Substring
All Palindromic Partitions
Bellman-Ford
Rearrange characters
Flatten binary tree to linked list
Course Schedule
Reverse a Stack
Maximum product subset of an array
Maximum Meetings in One Room
Max Equal sum of 3 Stacks
Buy Maximum Stocks
Array Removals
Max Sum without Adjacents 2
Stack Permutations
Largest subtree sum in a tree
Minimum time taken by each job to be completed given by a Directed Acyclic Graph
Minimum edges
Construct Binary Tree from String with bracket representation
Check if all levels of two trees are anagrams or not
Remove and Reverse
Number of Distinct Islands
Minimum Multiplications to reach End
Eventual Safe States
Minimum Maximum Partition
Frog Jump
Maximum Sum Combination
Count Number of Nodes in a Binary Tree
Floor in BST
Walls Coloring
Count beautiful strings
Reverse a linked list
Delete nodes having greater value on right
Remove duplicates from an unsorted linked list
Reverse a Doubly Linked List
Check for BST
Right View of Binary Tree
Mirror Tree
Maximum Width of Tree
Height of Binary Tree
Balanced Tree Check
Kth from End of Linked List
Middle of a Linked List
Check If Circular Linked List
Left View of Binary Tree
Transform to Sum Tree
Intersection Sorted Linked Lists
Reverse Level Order Traversal
Insert a node in a BST
Identical Trees
Run Length Encoding
Binary Tree to BST
Multiply two linked lists
Kth largest element in BST
Three way partitioning
Symmetric Tree
Find length of Loop
Median of BST
Queue Reversal
Deletion in a Binary Tree
First Set Bit
Power of 2
Swap odd and even bits
Anagram
Minimum Cost of ropes
N meetings in one room
Reach a given score
Union of Arrays with Duplicates
Roman Number to Integer
Missing And Repeating
Maximize sum after K negations
Pairs with certain difference
Chocolate Distribution Problem
Swap and Maximize
Smallest subarray with sum greater than x
Convert a sentence into its equivalent mobile numeric keypad sequence
Min Number of Flips
Two sum -Pairs with 0 Sum
Search array with adjacent diff at most k
Shop in Candy Store
Number of 1 Bits
Reverse Bits
Swap two nibbles in a byte
Swap bits
Check if it is possible to survive on Island
BBT counter
Arithmetic Number
Sequence Fun
CPH - Count Set Bit
CPH - Count Digits
Smallest Mapped String
Checkmate
High Frequency
Split the binary string into substrings with equal number of 0s and 1s
Minimum Sum of Absolute Differences of Pairs
Assign Tasks
Kth Mex
Unique Binary Tree Requirements
Split the String
Magic and toy shop
Print number pattern
Sum Except First and Last
Equal Sum and XOR
Bit Difference
Reverse a String
Rotate Array by One
One odd Occuring
Array Subset
Remove character
GCD of two numbers
Check set bits
Find position of set bit
Smallest power of 2 greater than or equal to n
Median of an Array
Parity of unsigned integer
Distance between 2 points
Sums of i-th row and i-th column
Max Min
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 !