Tutorials
Courses
Data Structure
Java
Python
HTML
Interview Preparation
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Ambassadors
H
himanshuparihar1600
Current POTD Streak
STREAK
99
/1426
days
Longest streak/Global longest streak
Institution
MBM UNIVERSITY
11 Rank
Institute Rank
Language Used
C++, C
Coding Score
1920
Problem Solved
542
Contest Rating
__
Apply for Campus Ambassador
299 points
Contributor
299 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
3 submissions in current year
Current
2024
2023
2022
2021
January
February
March
April
May
June
SCHOOL (0)
BASIC (11)
EASY (143)
MEDIUM (334)
HARD (54)
Binary Tree to DLL
Max rectangle
Partition array to k subsets
Alien Dictionary
Fixing Two nodes of a BST
Number of Turns in Binary Tree
Smallest window containing all characters of another string
Burning Tree
Ugly Numbers
Count Smaller elements
Minimum sum partition
Palindromic Partitioning
Stock Buy and Sell – Max K Transactions Allowed
Matrix Chain Multiplication
Median in a row-wise sorted Matrix
Kill Captain America
Bike Racing
Word Break - 2
Brackets in Matrix Chain Multiplication
nCr mod M | Part 1
Phone directory
Adventure in a Maze
Closest Palindrome
Optimal binary search tree
Longest Path in a matrix
Word Wrap
Find the Maximum Flow
Corona Vaccine
Longest substring to form a Palindrome
Minimum X (xor) A
Sorted Linked List to BST
Palindrome Pairs
Array Partition
Count occurrences of a given word in a 2-d array
Number of distinct words with K maximum contiguous vowels
Reverse a sublist of a linked list
Shortest Unique prefix for every word
Split Array Largest Sum
Shortest Path by Removing K walls
Min Chars to Add for Palindrome
Minimum time to fulfil all orders
Geek in a Maze
Stable Array
Minimum BST Sum Subtree
Minimum BST Sum Subtree
Target Grid Sum
Optimal Value
MaxSkill
Minimum Sum
Forest Escape
Largest Sum Cycle
Avoid Fire
Maximum Number of coins
Stable Array
Rotate a Linked List
Detect Loop in linked list
QuickSort on Doubly Linked List
Count BST nodes that lie in a given range
Bottom View of Binary Tree
Diameter of a Binary Tree
Sum Tree
Connect Nodes of Levels
Flattening a Linked List
Diagonal Tree Traversal
Tree Boundary Traversal
Directed Graph Cycle
Undirected Graph Cycle
LCA in Binary Tree
Largest subarray with 0 sum
Topological sort
Merge K sorted linked lists
Find the number of islands
Generate IP Addresses
Dijkstra Algorithm
Minimum Spanning Tree
Largest BST
Count Palindromic Subsequences
Minimum Swaps to Sort
Implement Atoi
Palindrome Linked List
Strongly Connected
Rat in a Maze Problem - I
Bipartite Graph
Pots of Gold Game
Longest Palindrome in Linked List
Bridge edge in a graph
Top View of Binary Tree
k-th Smallest in BST
Polynomial Addition
Delete nodes greater than k
Complete Binary Tree
Populate Inorder Successor for all nodes
Counting elements in two arrays
Foldable Binary Tree
Construct Tree from Inorder & Preorder
Predecessor and Successor
ZigZag Tree Traversal
Count Number of SubTrees having given Sum
Swap Kth nodes from ends
Maximum sum of Non-adjacent nodes
Ceil in BST
Possible Words From Phone Digits
Kadane's Algorithm
Count Inversions
Indexes of Subarray Sum
Distance of nearest cell having 1
Unit Area of largest region of 1's
Longest Consecutive Subsequence
Case-specific Sorting of Strings
Stock span problem
K Sized Subarray Maximum
Nearly sorted
Fractional Knapsack
Job Sequencing Problem
Minimum Platforms
Black and White
Unique Subsets
M-Coloring Problem
Stickler Thief
Egg Dropping Puzzle
Optimal Strategy For A Game
Number of Unique Paths
Preorder to BST
X Total Shapes
Find whether path exist
Steps by Knight
Count subsequences of type a^i, b^j, c^k
Container With Most Water
Print Anagrams Together
Rotate by 90 degree
Generate Parentheses
Prerequisite Tasks
4 Sum - All Quadruples
Excel Sheet | Part - 1
Sort 0s, 1s and 2s
Equivalent Sub-Arrays
Count of Subarrays
Smallest factorial number
Maximize The Array
Alternate Vowel and Consonant String
Super Primes
Longest subarray with sum divisible by K
Column name from a given column number
Form a palindrome
Nuts and Bolts Problem
Longest Subarray with Sum K
Transform String
Number of positive integral solutions
Sum of two large numbers
Remove leading zeros from an IP address
Magnet Array Problem
Smallest distinct window
K-th element of two Arrays
String formation from substring
Longest Arithmetic Subsequence
Maximize the sum of selected numbers from a sorted array to make it empty
Smallest Absolute Difference
Build the smallest
First and Last Occurrences
Reaching the heights
Next higher palindromic number using the same set of digits
Smaller on Left
A difference of values and indexes
Maximum Product of Increasing Subsequence of Size 3
Find patterns
Number following a pattern
Previous number in one swap
Friends Pairing Problem
Lexicographically smallest string
Subarrays Product Less than K
Max Sum Increasing Subsequence
Power Of 2 and Subsequences
Firing employees
Power Set
Subsets with XOR value
Minimum steps to destination
Partition Equal Subset Sum
XOR Game
Longest Bitonic subsequence
Min Coin
Handshakes
Count possible ways to construct buildings
Count digit groupings of a number
Probability of Knight
Array Pair Sum Divisibility Problem
Magic Triplets
Brain Game
Fill up buckets
Killing Spree
Subset Sums
Unique partitions
Fill the Tank
Akku and Binary Numbers
Knight Walk
Stepping Numbers
Permutation with Spaces
Choose and Swap
LCM Triplet
Return two prime numbers
Fact Digit Sum
Find Prime numbers in a range
Jumping Numbers
Party in Town
Grouping Of Numbers
Find the Safe Position
Next Permutation
Smaller on Left
Geek and knots
Filling Bucket
Matrix Exponentiation
Composite and Prime
Finding Profession
Total Decoding Messages
Maximum Sub-String after at most K changes
Villain Con
Print leaf nodes from preorder traversal of BST
Tricky Subset Problem
Longest Perfect Piece
Rat Maze With Multiple Jumps
Geek and Strings
Pairs of Non Coinciding Points
The Smurfs
Satisfy the equation
7 Segment Display
Product of Primes
Eulerian Path in an Undirected Graph
nCr mod M | Part 2
Two numbers with odd occurrences
Find all distinct subset (or subsequence) sums
Check Mirror in N-ary tree
Queries on Strings
Special Matrix
Queries on a Matrix
Broken blocks
Express as sum of power of natural numbers
Shortest Uncommon Subsequence
Nodes at even distance
Biconnected Graph
Help a Thief!!!
Count the paths
Floyd Warshall
Negative weight cycle
Form coils in a matrix
Base Equivalence
Maximum sum Rectangle
Shortest Path between Cities
Moving on grid
Height Using Parent Array
Reverse Spiral Form of Matrix
Geek and Number String
Save Your Life
Hamiltonian Path
Recursively Remove Adjacent Duplicates
Theft at World Bank
Airline Problem
Coins of Geekland
Transfiguration
Spidey Sense
Escape the Forbidden Forest
Jump Game
Iterative Postorder
Subset Sum Problem
Form a palindrome
Bellman-Ford
Partition a Linked List around a given value
Capacity To Ship Packages Within D Days
Coin Piles
Substrings of length k with k-1 distinct elements
Count pairs in array divisible by K
Number of Provinces
Binary Matrix with at most K 1s
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
Insertion Sort for Singly Linked List
Subsets
Flatten binary tree to linked list
Rank The Permutations
IPL 2021 - Match Day 2
Course Schedule
Find and Replace in String
Minimum times A has to be repeated such that B is a substring of it
Bitwise AND of the Array
Maximum number of events that can be attended
Longest Possible Route in a Matrix with Hurdles
Farthest number
Maximum product subset of an array
Robots
Hit most Balloons
Concatenate Equal to Target
Exactly one swap
Maximum Winning score
Compute Before Matrix
Levels Of Game
Smallest sum contiguous subarray
Array Removals
Minimum Cost to cut a board into squares
Stack Permutations
Largest subtree sum in a tree
Wine Buying and Selling
Replace every element with the least greater element on its right
Special Keyboard 2
Maximum selections
LCP
Next element with greater frequency
Sum of nodes within k distance from target
Minimum increment/decrement to make array non-Increasing
Minimum Swaps
Check if all levels of two trees are anagrams or not
Largest Subtree With all 1's
LCA of 3 nodes
Remove and Reverse
Number of Distinct Islands
Shortest Distance in a Binary Maze
Minimum time to empty the array
Rectangles and Squares
Yet Another Minimization Problem
Process Dependencies
Non-Negative Tree
Alex Travelling
Number Of Islands
Merging Details
Palindrome with minimum sum
minimum days
Maximum Multiple
Number of good components
Number of Ways to Arrive at Destination
Volcano
Common String
Remove the balls
Sum of Beauty of All Substrings
Prefix Suffix String
Sum up the beauty
Good Stones
Collect Maximum Oranges
Asteroid Collision
Water Problem
Aggressive Cows
Good Subtrees
BST Maximum Difference
Array Size
Possible Path
Minimum Time
Minimum Moves
Minimize number of Students to be removed
Maximum Value
Shortest Prime Path
Good Subarrays
Optimal Moves
Find minimum number of Laptops required
Minimum Operations
Trees and Arrays
Colorful Numbers
Most and Least Tasty
Find the longest string
Paint N House
Max Sum without Adjacents
Intersection Point in Y Shaped Linked Lists
Minimum Days
Walls Coloring
Magical Subarrays
Equal Grouping
Will Students Pass?
Optimal Array
Good Stones
Knight in Geekland
Count Special Numbers
Minimum Steps Required
Save Flowers
Make Array Beautiful
Distribute Chocolates
Maximum Triplet product
Second smallest number
Remove the balls
Fest and Posters
Geek and the XOR Play
BST Maximum Difference
Minimize Computers
Add Minimum Characters
Destroy the garden
Total pairs
LCA Pairs
Plucking Flowers
Shortest Subarray with Sum K
Reverse a linked list
Delete N nodes after M nodes of a linked list
Right View of Binary Tree
Mirror Tree
Delete without head pointer
Height of Binary Tree
Balanced Tree Check
Kth from End of Linked List
Middle of a Linked List
Left View of Binary Tree
Transform to Sum Tree
Queue using two Stacks
Reverse Level Order Traversal
DFS of Graph
BFS of graph
Identical Trees
Run Length Encoding
Largest subarray of 0's and 1's
BST Keys in a Range
Leaves at Same Level or Not
Josephus problem
Array Duplicates
Level order traversal
Disjoint set (Union-Find)
Reverse Using Stack
Next Right Node
Find length of Loop
Move all zeros to the front of the linked list
Get min at pop
Array Leaders
Minimum Number in a sorted rotated array
Winner of an election
Reverse Words
Minimum Cost of ropes
N meetings in one room
Largest number with given sum
Union-Find
Count ways to N'th Stair
Missing And Repeating
Sort by Set Bit Count
Sum of elements between k1'th and k2'th smallest elements
Search in a Row-Column sorted matrix
Min sum formed by digits
Amend The Sentence
Alternate Positive Negative
Longest Common Prefix of Strings
Counts Zeros Xor Pairs
Hungry Pizza Lovers
Maximum sum of increasing order elements from n arrays
Merge two binary Max heaps
Maximum average subarray
Smallest greater elements in whole array
Fitting The Array
Balanced string
Shop in Candy Store
Partition a number into two divisible parts
Adding Array Elements
Change Bits
The Bit Game
Swap bits
Minimum number of Coins
Nth item through sum
Smallest number with sum of digits as N and divisible by 10^N
Squares in N*N Chessboard
Tom and Jerry
Help Ishaan
Sequence Fun
Overlapping rectangles
Print the pattern
Chicks in a Zoo
Maximum Sum LCM
K-Ary Tree
Earthquake and the Paint Shop
Array to BST
Count all possible paths from top left to bottom right
Ball coloring
Rearrange Geek and his Classmates
Fraction Trouble
Sum of k smallest elements in BST
Print Diagonally
Gadgets of Doraland
Sum of two numbers without using arithmetic operators
Even and Odd
Search insert position of K in a sorted array
Largest value in each level
Maximum number of 2X2 squares
Minimum Swaps
License Key Formatting
Find all possible paths from top to bottom
Smallest Subset with Greater Sum
Minimum Sum of Absolute Differences of Pairs
Smallest window containing 0, 1 and 2
Move Last Element to Front of a Linked List
Can Make Triangle
Matrix Operations
Find pairs with given sum in doubly linked list
Triangle and Square
Same characters
Sorted array
Subsequence Mex
Again Permutation
Balloon Everywhere
String Matching
Problem Setting at GFG
Assign Tasks
Maximum Number
Complete the Staircase
Maximum Frequency
Maximum Identical Bowls
Book Game
Make array Palindrom
Distinct Difference
Even subarray sum
Reverse both parts
Police Station
Count the Substrings
Kth Mex
Make the array beautiful
Taxi Booking
Bus Conductor
Farthest number
Minimum Number
Make sum even
Add and Subtract
Find the number of Matchsticks
Refueling
Geek left with No Food
Bots on social media
Array Operations
Is it Fibonacci
All Numbers
Geek & Geekina Purchasing Ice Cream
High Frequency
Good tree
Toggle
Min Jump
Range OR
Mex Array
Occurrences of 101
Max Level Sum in Binary Tree
Number of Subarrays of 0's
Maximize Sum
Maximum Happiness
Sum Except First and Last
Anagram of String
Immediate Smaller Element
Repeated Character
Elements in the Range
Rotate Array by One
Game with nos
Exceptionally odd
Ishaan Loves Chocolates
Find position of set bit
Max Min
close
H
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Ambassadors
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 !