Tutorials
Courses
Data Structure
Java
Python
HTML
Interview Preparation
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Ambassadors
ishankhandelwals
Current POTD Streak
STREAK
121
/1426
days
Longest streak/Global longest streak
Institution
Sant Longowal Institute of Engineering and Technology (SLIET) Sangrur
1 Rank
Institute Rank
Language Used
C++, Java, Python
Coding Score
2960
Problem Solved
906
Contest Rating
__
Apply for Campus Ambassador
1031 points
Contributor
1031 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
23 submissions in current year
Current
2024
2023
2022
2021
January
February
March
April
May
June
SCHOOL (0)
BASIC (31)
EASY (273)
MEDIUM (503)
HARD (99)
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
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
Insert a node in a BST
BFS of graph
Identical Trees
Binary Tree to BST
Leaves at Same Level or Not
Josephus problem
Delete in a Singly Linked List
Kth largest element in BST
Minimum distance in an Array
Array Duplicates
Special Stack
Three way partitioning
Level order traversal
Inorder Successor in BST
More than n/k Occurrences
Reverse Using Stack
Symmetric Tree
Next Right Node
Find length of Loop
Median of BST
Leaf under budget
Queue Reversal
Reverse first K of a Queue
Deletion in a Binary Tree
Move all zeros to the front of the linked list
Delete Mid of a Stack
Xoring and Clearing
Get min at pop
Frequency Game
Check K-th Bit
Power of 2
Wave Array
Frequencies in a Limited Array
Equilibrium Point
Array Leaders
Minimum Number in a sorted rotated array
Print adjacency list
Transpose of Matrix
Rotate by 90 degree
Isomorphic Strings
Reverse Words
Non Repeating Character
Parenthesis Checker
Minimum Cost of ropes
N meetings in one room
Largest number with given sum
Reach a given score
Union-Find
Count number of hops
Pattern searching
Union of Arrays with Duplicates
Positive Negative Pair
Product array puzzle
Roman Number to Integer
Missing And Repeating
Count the elements
Sort by Set Bit Count
Adding Ones
Common in 3 Sorted Arrays
Sum of elements between k1'th and k2'th smallest elements
Search in a Row-Column sorted matrix
Move All Zeroes to End
Min sum formed by digits
Chocolate Distribution Problem
Find Pair Given Difference
Bitonic Point
Smallest subarray with sum greater than x
Single Number
Alternate Positive Negative
Remove Consecutive Characters
Rearrange a string
Rotate Bits
Second most repeated string in a sequence
Number of occurrence
Convert an array to reduced form
Longest Common Prefix of Strings
Min Number of Flips
Counts Zeros Xor Pairs
Two sum -Pairs with 0 Sum
Hungry Pizza Lovers
Find the closest pair from two arrays
Maximum sum of increasing order elements from n arrays
Merge two binary Max heaps
Palindrome String
Maximum average subarray
Smallest greater elements in whole array
Fitting The Array
Pattern Searching
Shop in Candy Store
Last Match
Partition a number into two divisible parts
Is Binary Number Multiple of 3
Minimum Operations
Adding Array Elements
Number of 1 Bits
Reverse Bits
Nth Fibonacci Number
Change Bits
Copy Set Bits in Range
Party of Couples
Shortest path from 1 to n
Sum 1 to n Divisors
The Bit Game
Swap bits
Minimum number of Coins
Number Of Open Doors
Perfect Numbers
Nth item through sum
Geek and his Binary Strings
Smallest number with sum of digits as N and divisible by 10^N
Largest number possible
Check if it is possible to survive on Island
Sum of First N Natural Numbers
Tom and Jerry
Arithmetic Number
Help Ishaan
Trace Path
Sequence Fun
Letters Collection
Help the Old Man!!!
Print Pattern
Primes sum
Print the pattern
Chicks in a Zoo
Maximum Sum LCM
K-Ary Tree
Check if it is possible to convert one string into another with given constraints
Minimum Exchange
Earthquake and the Paint Shop
Array to BST
Sum of dependencies in a graph
Count all possible paths from top left to bottom right
Ball coloring
Rearrange Geek and his Classmates
Modified Numbers and Queries
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
License Key Formatting
Count the Substrings
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
Equal strings
Seating Arrangement
String Matching
Problem Setting at GFG
Assign Tasks
Array Game
Maximum Number
Complete the Staircase
Three Numbers
Make the array beautiful
Reverse both parts
Find anagrams in linked list
Distinct Difference
Even subarray sum
Reverse both parts
Number of vertices at even distance
Police Station
Kth Mex
Make the array beautiful
Taxi Booking
Bus Conductor
Wifi Range
Farthest number
Yet another query problem
Minimum Number
BST Downward Traversal
Consecutive Occurrence
Odd Series
Maximum Depth Of Binary Tree
Make Palindrome
Find the number of Matchsticks
Equilibrium Point
Print Non-Repeated Elements
Subarray range with given sum
Pair with given sum in a sorted array
Total Cuts
String Mirror
Bots on social media
Bit Magic
Find Total Time Taken
Split Employees
Minimize the sum
Last modified ball
Transform to Sum Tree
Maximum Weight Node
Type it!
Min operations
All Numbers
Geek & Geekina Purchasing Ice Cream
Toggle
Last cell in a Matrix
Balloon Everywhere
Juggling
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
Find Bots on Geeklandster
Is it Fibonacci
Taxi Booking
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
Minimum Integer
Seating Arrangement
String Mirror
Maximize Sum
Powerfull Integer
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
Antique Collections
Binary Array
Geekina and Log
Unique Number of Occurrences
Maximum occurring digit
Geek's Plants
Min Query
Sorting Elements of an Array by Frequency
Nearly Sorted Algorithm
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
QuickSort on Doubly Linked List
Count BST nodes that lie in a given range
Merge Sort
Quick Sort
Bottom View of Binary Tree
Intersection in Y Shaped Lists
Diameter of a Binary Tree
Heap Sort
Merge two sorted linked lists
Add all greater values to every node in a BST
Sum Tree
Flattening a Linked List
Diagonal Tree Traversal
Tree Boundary Traversal
Directed Graph Cycle
Undirected Graph Cycle
Absolute List Sorting
Two Stacks in an Array
The Celebrity Problem
Largest subarray with 0 sum
Topological sort
Merge K sorted linked lists
Find the number of islands
Find kth element of spiral matrix
Get Min from Stack
Generate IP Addresses
Check if subtree
Kth element in Matrix
Remove loop in Linked List
Dijkstra Algorithm
Minimum Spanning Tree
Largest BST
Count Palindromic Subsequences
Multiply two strings
Minimum Swaps to Sort
Palindrome Linked List
Strongly Connected
Rat in a Maze Problem - I
Bipartite Graph
Pots of Gold Game
Merge k Sorted Arrays
Longest Palindrome in Linked List
Bridge edge in a graph
Find triplets with zero sum
Sort a stack
Top View of Binary Tree
k-th Smallest in BST
Find Common Nodes in two BSTs
Polynomial Addition
Delete nodes greater than k
Merge Sort for Linked List
Union of Two Linked Lists
Root to Leaf Paths
Complete Binary Tree
Counting elements in two arrays
K Sum Paths
Foldable Binary Tree
Leftmost and rightmost nodes of binary tree
Isomorphic Trees
Predecessor and Successor
Leaves to DLL
Children Sum in a Binary Tree
ZigZag Tree Traversal
Swap Kth nodes from ends
Maximum sum of Non-adjacent nodes
Mother Vertex
Ceil in BST
Count set bits
Tower Of Hanoi
Smallest Positive Missing
Power Of Numbers
Rearrange Array Alternately
Kadane's Algorithm
Majority Element
Count Inversions
Two Repeated Elements
Indexes of Subarray Sum
Triplet Sum in Array
Merge Without Extra Space
Make Matrix Beautiful
Spirally traversing a matrix
Distance of nearest cell having 1
Unit Area of largest region of 1's
Subarray with 0 sum
Longest Consecutive Subsequence
Case-specific Sorting of Strings
Postfix Evaluation
Stock span problem
Next Greater Element
K Sized Subarray Maximum
Nearly sorted
Fractional Knapsack
Job Sequencing Problem
Minimum Platforms
Black and White
Unique Subsets
M-Coloring Problem
Minimum Jumps
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
Allocate Minimum Pages
Preorder to BST
X Total Shapes
Zero Sum Subarrays
Find whether path exist
Kth Smallest
Implement Trie
Shortest Common Supersequence
Nth Catalan Number
Steps by Knight
Count subsequences of type a^i, b^j, c^k
Maximize The Cut Segments
Print Anagrams Together
Rotate by 90 degree
Top K Frequent in Array
Word Break
Stock Buy and Sell – Multiple Transaction Allowed
Generate Parentheses
Word Search
4 Sum - All Quadruples
Excel Sheet | Part - 1
Sort 0s, 1s and 2s
Maximum Sub Array
Pascal Triangle
Maximum Index
Flip Bits
Equivalent Sub-Arrays
Count of Subarrays
Pythagorean Triplet
Painting the Fence
Search in Rotated Sorted Array
Smallest factorial number
Count Full Binary Trees
Maximize The Array
Alternate Vowel and Consonant String
Add Binary Strings
Super Primes
Maximum Product Subarray
Longest subarray with sum divisible by K
Row with max 1s
Column name from a given column number
Form a palindrome
Longest Subarray with Sum K
Transform String
Count the Reversals
Number of positive integral solutions
Cutting Binary String
Sum of two large numbers
Factorials of large numbers
Shuffle integers
Remove leading zeros from an IP address
k largest elements
Sum of XOR of all pairs
Magnet Array Problem
Longest Common Substring
Smallest distinct window
Longest Substring with K Uniques
Longest Palindrome in a String
K-th element of two Arrays
String formation from substring
Triplets with Smaller Sum
Rod Cutting
K closest elements
Minimum swaps and K together
Maximize the sum of selected numbers from a sorted array to make it empty
Smallest Absolute Difference
LCS of three strings
Longest Palindromic Subsequence
Minimum sum
Build the smallest
Minimize the Heights II
First and Last Occurrences
Reaching the heights
Smaller on Left
Minimum Deletions
A difference of values and indexes
Maximum Product of Increasing Subsequence of Size 3
Print N-bit binary numbers having more 1s than 0s
Nine Divisors
Valid Substring
Find patterns
Minimum number of deletions
Minimum Swaps for Bracket Balancing
Permutations of a String
Previous number in one swap
Friends Pairing Problem
CamelCase Pattern Matching
Lexicographically smallest string
Subarrays Product Less than K
Unique Number II
Bleak Numbers
3 Divisors
Minimum number of deletions and insertions
Max Sum Increasing Subsequence
Minimum cost to fill given weight in a bag
Coin Change (Count Ways)
Gold Mine Problem
Coin Change (Minimum Coins)
Perfect Sum Problem
Power Of 2 and Subsequences
Firing employees
Shreyansh and his bits
Power Set
Knapsack with Duplicate Items
nCr
Number of ways
Subsets with XOR value
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
N Digit numbers with digits in increasing order
Fill the Tank
Number of paths
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
A Game of LCM
Party in Town
Grouping Of Numbers
Find the Safe Position
Next Permutation
Smaller on Left
Geek and knots
Filling Bucket
Matrix Exponentiation
Longest Repeating Subsequence
Composite and Prime
Finding Profession
Decode the string
Total Decoding Messages
Stream First Non-repeating
Maximum Sub-String after at most K changes
Villain Con
Segregate even and odd nodes in a Linked List
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
Replace O's with X's
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
Find the string in grid
Shortest Uncommon Subsequence
Nodes at even distance
Biconnected Graph
Help a Thief!!!
Count the paths
Floyd Warshall
Negative weight cycle
Flood fill Algorithm
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
Coins of Geekland
Transfiguration
Spidey Sense
Escape the Forbidden Forest
Jump Game
Iterative Postorder
Subset Sum Problem
Longest Palindromic Substring
Form a palindrome
Search Pattern (Z-algorithm)
Search Pattern (Rabin-Karp Algorithm)
Bellman-Ford
Partition a Linked List around a given value
Capacity To Ship Packages Within D Days
Coin Piles
Rearrange characters
Substrings of length k with k-1 distinct elements
Clone a stack without using extra space
Count pairs in array divisible by K
Number of Provinces
Prefix match with other strings
Binary Matrix with at most K 1s
Maximum sum leaf to root path
Maximum GCD of siblings of a binary tree
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
Clone an Undirected Graph
Minimum times A has to be repeated such that B is a substring of it
Bitwise AND of the Array
Overlapping Intervals
Remove and Reverse
Maximum number of events that can be attended
Longest Possible Route in a Matrix with Hurdles
Find k-th smallest element in given n ranges
Even Swap
Farthest number
Robots
Hit most Balloons
Enemy
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
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
Construct Binary Tree from String with bracket representation
Check if all levels of two trees are anagrams or not
Palindrome with minimum sum
Remove and Reverse
Number of Distinct Islands
Shortest Distance in a Binary Maze
Minimum Multiplications to reach End
Minimum time to empty the array
Rectangles and Squares
Yet Another Minimization Problem
Process Dependencies
Non-Negative Tree
Number Of Islands
Merging Details
Palindrome with minimum sum
minimum days
Number of good components
Maximum Numbers of Pairs
Maximum Multiple
Number of good components
Number of Ways to Arrive at Destination
Prime List
Bheem Wants Ladoos
Remove and Reverse
Volcano
Optimal Array
Sum of Beauty of All Substrings
Prefix Suffix String
Sum up the beauty
Good Stones
Collect Maximum Oranges
Water Problem
Aggressive Cows
Smaller Sum
Shy Geek
Minimum number of jumps
Sort an array according to the other
Count triplets with sum smaller than X
Task Scheduler
Lemonade Change
Maximum Sum Combination
Find Number
Minimum Platforms 2
Subtree In N-ary Tree
GCD Array
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
Carpet into Box
Minimum X (xor) A
Geeks And The String
Maximum Points Covered
Colorful Numbers
Find the longest string
Maximum Profit By Choosing A Subset Of Intervals
Minimum repeat to make substring
Paint N House
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
Prime List
Walls Coloring
Geeks Island
Apple Sequences
Impress Geekina with Minimum Additional Trees
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
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
Yet another query problem
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
Minimize Computers
Max Coins
Good Subtrees
Subtree In N-ary Tree
Easy Task
Stone Bags
Add Minimum Characters
Maximum subset sum
Palindrome with minimum sum
Destroy the garden
Count Total Setbits
Tree Transformation
Happy Subarrays
Minimum Length
Help Big Pig
GFG's new Game
Fraction pairs with sum 1
Possible Path
Cyclic Tree
Subtree with k primes
Linked List Group Reverse
Reorder List
Binary Tree to DLL
Max rectangle
Partition array to k subsets
Longest Palindromic Substring in Linear Time
Alien Dictionary
AVL Tree Deletion
Nodes at given distance in binary tree
Number of Turns in Binary Tree
String Permutations
Trapping Rain Water
Smallest window containing all characters of another string
Histogram Max Rectangular Area
Max of min for every window size
Solve the Sudoku
Word Ladder I
Merge Without Extra Space
Next Smallest Palindrome
Distinct palindromic substrings
Search Pattern (KMP-Algorithm)
Count Smaller elements
Longest Prefix Suffix
Wildcard string matching
Edit Distance
Minimum Points To Reach Destination
Minimum sum partition
Number Formation
Palindromic Partitioning
Matrix Chain Multiplication
Median in a row-wise sorted Matrix
Kill Captain America
Boolean Parenthesization
Bike Racing
Word Break - 2
N-Queen Problem
Brackets in Matrix Chain Multiplication
nCr mod M | Part 1
Phone directory
Adventure in a Maze
Closest Palindrome
Optimal binary search tree
Assignment Problem
Longest Path in a matrix
Word Wrap
Huffman Encoding
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
Word Ladder II
Shortest Unique prefix for every word
Split Array Largest Sum
Find number of closed islands
Scrambled String
Shortest Path by Removing K walls
Maximum Number of Toys
Articulation Point - I
Kth Smallest Number in Multiplication Table
Min Chars to Add for Palindrome
Minimum time to fulfil all orders
Geek in a Maze
Construct smallest string
Stable Array
Order of letters
Triplet query
Minimum BST Sum Subtree
Count Strings
Subarray Product
Make Array
Expression Add Operators
Maximum Score Ranges
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
Walls Coloring II
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
Permutation Making
Find Expected Apples
Game Of Subsets
Print Linked List
Queue Using Array
Sum Except First and Last
Search a node in BST
Palindromic Array
Peak element
Minimum element in BST
Anagram of String
Bit Difference
Binary Array Sorting
Reverse a String
First n Fibonacci
Value equal to index value
Immediate Smaller Element
Repeated Character
Elements in the Range
Rotate Array by One
Game with nos
Exceptionally odd
Ishaan Loves Chocolates
Array Subset
1s Complement
Find position of set bit
Median of an Array
Binary number to decimal number
Count Squares
Middle of Three
Sorted matrix
Max Min
Convert array into Zig-Zag fashion
Naughty Geek
close
I
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 !