5 captures
26 Mar 2025 - 27 May 2026
Feb
MAR
Apr
26
2024
2025
2026
success
fail
About this capture
TIMESTAMPS
The Wayback Machine - https://web.archive.org/web/20250326172512/https://www.geeksforgeeks.org/user/hardikkushwaha/
Courses
Tutorials
DSA
Data Science
Web Tech
Data Structure
Java
Python
HTML
Interview Preparation
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Ambassadors
hardikkushwaha
Current POTD Streak
STREAK
39
/1331
days
Longest streak/Global longest streak
Institution
Sagar Institute of Science and Technology (SISTec) Bhopal
7 Rank
Institute Rank
Language Used
Python, Java
Coding Score
2143
Problem Solved
705
Contest Rating
__
Apply for Campus Ambassador
717 points
Contributor
717 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
68 submissions in current year
Current
2024
2023
2022
January
February
March
SCHOOL (0)
BASIC (20)
EASY (281)
MEDIUM (354)
HARD (50)
Reverse a linked list
Occurence of an integer in a Linked List
Pairwise swap elements of a linked list
Sort a linked list of 0s, 1s and 2s
Delete nodes having greater value on right
Remove duplicates from an unsorted linked list
Delete node in Doubly Linked List
Inorder Traversal
Reverse a Doubly Linked List
Check for BST
Right View of Binary Tree
K distance from root
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
Intersection Sorted Linked Lists
Find Transition Point
Remove Duplicates from a Sorted Linked List
Level order traversal in spiral form
DFS of Graph
Insert a node in a BST
BFS of graph
Identical Trees
Root to leaf path sum
Print all nodes that don't have sibling
Lowest Common Ancestor in a BST
Implement two stacks in an array
Largest subarray of 0's and 1's
Remove duplicates in array
Binary Tree to BST
K-Palindrome
Unique rows in boolean matrix
Remove every kth node
Multiply two linked lists
Josephus problem
Max distance between same elements
Delete a Node in Single Linked List
Kth largest element in BST
Minimum distance in an Array
Array Duplicates
Count distinct elements in every window
Max Level Sum in Binary Tree
Level order traversal
Inorder Successor in BST
Disjoint set (Union-Find)
Insert in a Sorted List
Split Linked List Alternatingly
Count More than n/k Occurences
Symmetric Tree
Delete Alternate Nodes
Find the Sum of Last N nodes of the Linked List
Find length of Loop
Median of BST
Leaf under budget
Linked List Matrix
Queue Reversal
Reverse First K elements of Queue
Brothers From Different Roots
Delete Mid of a Stack
Swap the array elements
Predict the Column
Reverse an Array
Queue Operations
Frequency Game
First Set Bit
Rightmost different bit
K-th Bit is Set or Not
Power of 2
Wave Array
Frequencies of Limited Range Array Elements
Equilibrium Point
Array Leaders
Roof Top
Print adjacency list
Sum of upper and lower triangles
Print Matrix in snake Pattern
Transpose of Matrix
Rotate by 90 degree
Boundary traversal of matrix
Anagram
Winner of an election
String Rotated by 2 Places
Strings Rotations of Each Other
Isomorphic Strings
Reverse Words
Non Repeating Character
Parenthesis Checker
Evaluation of Postfix Expression
Minimum Cost of ropes
N meetings in one room
Count number of hops
Union of Arrays with Duplicates
Missing in Array
Product array puzzle
Sort 0s, 1s and 2s
Maximize Array Value After Rearrangement
Count the elements
Adding Ones
Split the Array
Search in a Row-Column sorted matrix
Move All Zeroes to End
Remove all duplicates from a given string
Minimize the sum of product
Chocolate Distribution Problem
Pairs with difference k
Swap and Maximize
Single Number
Alternate positive and negative numbers
Remaining String
Kth distance
Remove Duplicates
Nearest multiple of 10
Reorganize The Array
Facing the sun
Second Largest
Two Sum - Pair with Given Sum
Rotate Bits
Find all pairs with a given sum
Number of occurrence
K-Pangrams
Reversing the equation
Modify the Array
Convert an array to reduced form
Sum Pair closest to target
Find missing in second array
Longest Common Prefix of Strings
Longest substring with distinct characters
Segregate 0s and 1s
Play With OR
At Least K Occurrences
Palindrome String
Total count
Fitting The Array
Pair with given sum in a sorted array
Balanced string
Odd Even Problem
Binary representation of next number
Is Binary Number Multiple of 3
Minimum Operations
Number of 1 Bits
Max Sum Subarray of size K
Nth Fibonacci Number
Swap two nibbles in a byte
Copy Set Bits in Range
Party of Couples
Shortest path from 1 to n
Sum of all divisors from 1 to n
Minimum number of Coins
Number Of Open Doors
Perfect Numbers
Smallest number with sum of digits as N and divisible by 10^N
Largest number possible
Compare two fractions
Form a number divisible by 3 using array digits
Least Prime Factor
Reverse Coding
Recursive sequence
Tom and Jerry
Maximum Diamonds
Arithmetic Number
Surround the 1's
Help Ishaan
Inorder Traversal and BST
Sequence Fun
Letters Collection
Print Pattern
Primes sum
Print the pattern
Earthquake and the Paint Shop
Sum of dependencies in a graph
Count all possible paths from top left to bottom right
Sum of k smallest elements in BST
Print Diagonally
Geek and Snow Fighting
License Key Formatting
Count the Substrings
Smallest Subset with Greater Sum
Minimum Sum of Absolute Differences of Pairs
Move Last Element to Front of a Linked List
Find pairs with given sum in doubly linked list
Seating Arrangement
Maximum Identical Bowls
Distinct Difference
Police Station
Kth Mex
Taxi Booking
Bus Conductor
Make sum even
Consecutive Occurrence
Find XOR of numbers from L to R.
Stock Buy and Sell – Max one Transaction Allowed
Maximum Depth Of Binary Tree
String Mirror
Bit Manipulation
Minimize the sum
Last modified ball
Transform to Sum Tree
Find the Node with maximum GCD of the siblings of a Binary Tree
Find the first node of loop in linked list
Maximum Weight Node
Type it!
Min operations
Prefix Subsequences
High Frequency
Split the String
Last cell in a Matrix
Balloon Everywhere
Save Civilians
Range OR
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
Nice Array
Calculate The Work Done
Taxi Booking
Occurrences of 101
Max Level Sum in Binary Tree
Binary matrix having maximum number of 1s
Number of Subarrays of 0's
Maximum Identical Bowls
Bus Conductor
Minimum Number
Minimum Integer
Seating Arrangement
Maximize Sum
Make Palindrome
Geekina loves order
Maximize The Number
Rank Queries
Binary Modulo
Total Cuts
Bit Magic
Array Operations
Dominant Pairs
Total Traversal Time
Valuable String
Special Array
Count the Substrings
Wave Array
Accept The Challenge
Binary Array
Density of a Tree
Minimum Thorns
Ticket Counter
Geek's Plants
Weight Problem
Level of Node in Tree
Unique Number of Occurrences
Separate Stone
Unique Positions
Balloon Everywhere
Maximum Number
GCD 1
Same characters
Maximum AND
Maximum occurring digit
Strong Students in School
Min AND
Occurrences of 101
Dominating Geek
Count Indices
Maximum Distance
Two Smallests in Every Subarray
Split an array into two equal Sum subarrays
Largest Pair Sum
Two Swaps
Count pairs with given sum
Count Pairs whose sum is less than target
Union of Two Sorted Arrays with Distinct Elements
Intersection of Two arrays with Duplicate Elements
Find All Triplets with Zero Sum
Search in a row-wise sorted matrix
Reverse alternate nodes in Link List
Rotate a Linked List
Add Number Linked Lists
Add 1 to a Linked List Number
Merge 2 sorted linked list in reverse order
Detect Loop in linked list
Sorted insert for circular linked list
Merge Sort
Quick Sort
Bottom View of Binary Tree
Intersection Point in Y Shaped Linked Lists
Diameter of a Binary Tree
Heap Sort
Merge two sorted linked lists
Sum Tree
Construct Binary Tree from Parent Array
Tree Boundary Traversal
Delete a node from BST
Directed Graph Cycle
Undirected Graph Cycle
Lowest Common Ancestor in a Binary Tree
The Celebrity Problem
Largest subarray with 0 sum
Topological sort
Vertical Traversal of Binary Tree
Merge K sorted linked lists
Find the number of islands
Find kth element of spiral matrix
Get Min from Stack
Validate an IP Address
Remove loop in Linked List
Dijkstra Algorithm
Minimum Spanning Tree
Largest BST
Multiply two strings
Minimum Swaps to Sort
Implement Atoi
Maximum Difference
Count of distinct substrings
Palindrome Linked List
Strongly Connected Components (Kosaraju's Algo)
Rat in a Maze Problem - I
Bipartite Graph
Find the Closest Element in BST
Check whether BST contains Dead End
Root to leaf paths sum
Bridge edge in a graph
Find triplets with zero sum
Top View of Binary Tree
k-th Smallest in BST
Union of Two Linked Lists
Binary Tree to CDLL
Pair Sum in BST
Root to Leaf Paths
Counting elements in two arrays
Linked List that is Sorted Alternatingly
Leftmost and rightmost nodes of binary tree
Insert in Sorted way in a Sorted DLL
Check if Tree is Isomorphic
Maximum path sum from any node
Predecessor and Successor
Children Sum in a Binary Tree
Deletion and Reverse in Circular Linked List
Sum of nodes on the longest path from root to leaf node
Kth Ancestor in a Tree
ZigZag Tree Traversal
Mother Vertex
Ceil in BST
Smallest Positive Missing Number
Power Of Numbers
Rearrange an array with O(1) extra space
Rotate Array
Kadane's Algorithm
Majority Element
Count Inversions
Indexes of Subarray Sum
Count the number of possible triangles
Triplet Sum in Array
Level of Nodes
Make Matrix Beautiful
Boolean Matrix
Spirally traversing a matrix
Search in a sorted Matrix
Level of Nodes
Distance of nearest cell having 1
Unit Area of largest region of 1's
Subarray with 0 sum
Subarray range with given sum
Sorting Elements of an Array by Frequency
Longest Consecutive Subsequence
Case-specific Sorting of Strings
Next Greater Element
K Sized Subarray Maximum
Nearly sorted
Fractional Knapsack
Minimum Jumps
Detect Cycle using DSU
Stickler Thief
Ways to Reach the n'th Stair
Egg Dropping Puzzle
Optimal Strategy For A Game
Longest Increasing Subsequence
Longest Common Subsequence
0 - 1 Knapsack Problem
Lucky Numbers
Number of Unique Paths
X Total Shapes
Find whether path exist
Kth Smallest
Shortest Common Supersequence
Nth catalan number
Rotten Oranges
Maximize The Cut Segments
Container With Most Water
Print Anagrams Together
Rotate by 90 degree
Top K Frequent Elements in Array - I
Word Break
Stock buy and sell II
Word Search
Word Boggle
Prerequisite Tasks
Find All Four Sum Numbers
Sort 0s, 1s and 2s
Paths to reach origin
Missing And Repeating
Maximum Sub Array
Pascal Triangle
Flip Bits
Sum of Middle Elements of two sorted arrays
Consecutive 1's not allowed
Count of Subarrays
Pythagorean Triplet
Alternate Vowel and Consonant String
Add Binary Strings
Maximum Product Subarray
Longest subarray with sum divisible by K
Row with max 1s
Palindrome SubStrings
Form a palindrome
Longest Subarray with Sum K
Sum of two large numbers
Max Sum without Adjacents
Search Pattern (KMP-Algorithm)
Number of occurrence
k largest elements
Longest Common Substring
Longest K unique characters substring
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
Longest Palindromic Subsequence
Transform to prime
First and Last Occurrences
Minimum Deletions
Permutations of a String
CamelCase Pattern Matching
Count the subarrays having product less than k
Non Repeating Numbers
Bleak Numbers
Game of XOR
Largest prime factor
Minimum number of deletions and insertions
Max Sum Increasing Subsequence
Minimum cost to fill given weight in a bag
Coin Change (Count Ways)
Santa Banta
String Subsequence
Gold Mine Problem
Coin Change (Minimum Coins)
Dice throw
Perfect Sum Problem
Smallest number
Power Of 2 and Subsequences
Longest subsequence-1
Power Set
Minimum Cost To Make Two Strings Identical
Knapsack with Duplicate Items
nCr
Maximum path sum in matrix
Partition Equal Subset Sum
Longest Bitonic subsequence
Array Pair Sum Divisibility Problem
Magic Triplets
Fill up buckets
Matchsticks game
Killing Spree
Subset Sums
LCM Triplet
Return two prime numbers
Fact Digit Sum
Find Prime numbers in a range
Game with String
Smith Number
Maximum sum of hour glass
How Many X's?
Exit Point in a Matrix
Longest Repeating Subsequence
Composite and Prime
Total Decoding Messages
First non-repeating character in a stream
Replace O's with X's
Two numbers with odd occurrences
Rohan's Love for Matrix
Express as sum of power of natural numbers
Find the string in grid
Floyd Warshall
Negative weight cycle
Flood fill Algorithm
Shortest Source to Destination Path
Save Your Life
Hamiltonian Path
Postorder Traversal (Iterative)
Subset Sum Problem
Covid Spread
Distance from the Source (Bellman-Ford Algorithm)
Player with max score
Subarrays with sum K
Remove K Digits
Substrings of length k with k-1 distinct elements
Construct list using given q XOR queries
Number of Provinces
Prefix match with other strings
Binary Matrix with at most K 1s
Paths from root with a specified sum
Insertion Sort for Singly Linked List
Subsets
Flatten binary tree to linked list
Anti Diagonal Traversal of Matrix
Course Schedule
Min Cost Climbing Stairs
Target Sum
Overlapping Intervals
Remove and Reverse
Buy and Sell a Share at most twice
Reverse a Stack
Maximum product subset of an array
K-th Largest Sum Contiguous Subarray
Find Maximum Equal sum of Three Stacks
Minimum Cost to cut a board into squares
Stack Permutations
Largest subtree sum in a tree
Check if a given graph is tree or not
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
Number Of Enclaves
Eventual Safe States
City With the Smallest Number of Neighbors at a Threshold Distance
Alex Travelling
Number Of Islands
Merging Details
Maximum Multiple
Number of Ways to Arrive at Destination
Prime List
Remove and Reverse
Geek hates too many 1s
Path With Minimum Effort
Cheapest Flights Within K Stops
Connecting the graph
Shortest path in Undirected Graph
Maximum Stone Removal
Shortest path in Directed Acyclic Graph
Majority Element II
Sum of Beauty of All Substrings
Asteroid Collision
Geek's Training
Grid Path 2
Buy Stock with Cooldown
Aggressive Cows
Shortest Path in Weighted undirected graph
Prime Factorization using Sieve
Buy Stock with Transaction Fee
Number of Longest Increasing Subsequence
Lemonade Change
Stickler Thief II
Insert Interval
Partition Array for Maximum Sum
Count Square Submatrices with All Ones
Print Longest Increasing Subsequence
Partitions with Given Difference
Floor in BST
Triangle Path Sum
Largest Divisible Subset
Maximum Value
Absolute difference divisible by K
Make array elements unique
Next Greater Element in Circular Array
Geeks And The String
Minimum times A has to be repeated such that B is a substring of it
Distinct Coloring
Max Sum without Adjacents
Intersection Point in Y Shaped Linked Lists
Count number of free cell
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
Update Queries
Good Stones
String rp or pr
Shy Geek
Count Special Numbers
Minimum Steps Required
Spidey Sense
Count Cyclic Paths
Maximum Triplet product
Second smallest number
Special Palindrome Substrings
Maximum Possible Value
Distinct Difference
Find anagrams in linked list
Yet another query problem
Geek hates too many 1s
Maximum Length
Remove the balls
Bheem Wants Ladoos
Smaller Sum
Shortest XY distance in Grid
BST Maximum Difference
Nearest smaller tower
Geek's Village and Wells
Add Minimum Characters
Distinct Elements
Modify Linked List-1
Gathering Boulders
Find Kth permutation
Remove the balls
Find the longest string
Possible Path
Grinding Geek
Flatten BST to sorted list
Minimize the Difference
Find Max Inversions
Kth Missing Positive Number in a Sorted Array
Count Subarrays with given XOR
Set Matrix Zeroes
Meeting Rooms
Split array in three equal sum subarrays
Find H-Index
Count all triplets with given sum in sorted array
Implement Pow
K Closest Points to Origin
Linked List Group Reverse
Reorder List
Binary Tree to DLL
Clone List with Next and Random
Wildcard Pattern Matching
Max rectangle
Distinct occurrences
Merge two BST 's
Alien Dictionary
Nodes at given distance in binary tree
Fixing Two nodes of a BST
String Permutations
Trapping Rain Water
Merge Without Extra Space
Smallest window in a string containing all the characters of another string
Histogram Max Rectangular Area
Minimum Cost Path
Word Ladder I
Stock Buy and Sell – Multiple Transaction Allowed
Burning Tree
Form a palindrome
Wildcard string matching
Sub-arrays with equal number of occurences
Edit Distance
Minimum sum partition
Palindromic Partitioning
Next Happy Number
Stock Buy and Sell – Max K Transactions Allowed
Matrix Chain Multiplication
Boolean Parenthesization
N-Queen Problem
Longest Path in a matrix
Reverse a sublist of a linked list
Word Ladder II
Find number of closed islands
Articulation Point - I
Kth Smallest Number in Multiplication Table
Stock Buy and Sell – Max 2 Transactions Allowed
Subset sums between the given range
Target Grid Sum
Maximum Connected group
Minimum travel time
Fixing Two swapped nodes of a BST
Shortest Path Using Atmost One Curved Edge
Avoid Explosion
Walls Coloring II
Divide in Incremental Groups
Maximum Number of coins
Floki the Boat Builder
Making A Large Island
Count Linked List Nodes
Implement Stack using Linked List
Binary Search
Is Linked List Length Even?
Triplet Family
Bit Difference
Reverse array in groups
Reverse a String
Check Equal Arrays
Alternative Sorting
Immediate Smaller Element
Elements in the Range
Game with nos
Exceptionally odd
Set the rightmost unset bit
Max Min
Naughty Geek
Naughty Geek
Isomorphic Strings
Naughty Geek
close
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Ambassadors
✕