Tutorials
Courses
Go Premium
Data Structure
Java
Python
HTML
Interview Preparation
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
A
anilkumarsingh0160
Current POTD Streak
STREAK
02
/1470
days
Longest streak/Global longest streak
Institution
ITM University Gwalior
2 Rank
Institute Rank
Language Used
C++, Java, C, Python
Coding Score
1955
Problem Solved
853
Contest Rating
__
Campus Mantri
vikasto3lmy
147 points
Contributor
147 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
1 submissions in current year
Current
2024
2023
2022
2021
2020
January
February
March
April
May
June
July
August
SCHOOL (3)
BASIC (124)
EASY (373)
MEDIUM (334)
HARD (19)
Rotate Array
Sort String
Weight of strings
Print Linked List
Find Length of Linked List
Size of Binary Tree
Count Leaves in Binary Tree
Postorder Traversal
Queue using Linked List
Queue Using Array
Replace all 0's with 5
Replace all 0's with 5
Count zeros in a sorted matrix
Preorder Traversal
First Occurence
C++ STL | Set 5 (queue)
Search a node in BST
Palindromic Array
Linked List Insertion At End
Minimum element in BST
Anagram of String
Is Linked List Length Even?
Identical Linked Lists
Modular Node
Sum of Binary Tree
Pairwise Consecutive Elements
Count Non-Leaf Nodes in Tree
The Size of
Logical Operators
Sort and Reverse Vector
Front to Back
Stack designer
Queue Push & Pop
Bit Difference
Number is sparse or not
Print 1 To N Without Loop
Array Search
Sorted Array Search
Reverse a String
Keypad typing
First n Fibonacci
C++ Hello World
Sum of Array
Sum of Natural Numbers
Searching in an Array
Doubling the value
Balanced Array
Sort the Half Sorted
Max Odd Sum
Farthest Index
Sort a String
Sort Array II
Value equal to index value
Convert a list of characters into a String
Confused pappu
Immediate Smaller Element
Uncommon characters
Swap kth elements
Extract the integers
Remove repeated digits in a given number
Repeated Character
Reverse a string with spaces intact
The Penalty Shootout
Elements in the Range
Message decoding
Largest Element in Array
Rotate Array by One
Game with nos
One odd Occuring
Ishaan Loves Chocolates
Array Subset
Count of smaller elements
Min and Max in Array
Multiply left and right array sum
Average Count Array
GCD of Array
GCD of two numbers
Odd or Even
Check set bits
Gray Code
Even Odd Sum
Find position of set bit
Set kth bit
Find the fine
Strong Numbers
Sum of Digits Prime/Non-Prime
House Robber
Message Spreading
Find n-th term of series 1, 3, 6, 10, 15, 21
Check perfect square
Median of an Array
Find N-th term in the series
Automorphic Number
Parity of unsigned integer
Sum of Digit is Palindrome or not
Difference series
Finger Game
Closest Number
Check if two given circles touch each other
Series AP
Find The Sequence
Sum of divisors
Find sum of even factors of a number
Sum of first n terms
The dice problem
G.F Series
Print 1 to n without using loops
Count Squares
Matching Pair
Middle of Three
Anshuman's Favourite Number
Unique Numbers
Series X1
The Spider Steps
Doctors Clinic
Repetitive Addition Of Digits
Pattern Jumping
Rectangle Number
Minimum difference pair
Sum of product of x and y with floor(n/x) = y
Finding Position
Pattern-1
Sorted matrix
Preorder Traversal
Kth Frequency
Reach the target
Geek-onacci Number
Geek and Code
Valid String
Contest Score
Geek and Books
Reverse a linked list
Frequency in a Linked List
Node at a given index in linked list
Linked list of strings forms a palindrome
Compare two linked lists
Remove duplicates from an unsorted linked list
Inorder Traversal
Bubble Sort
Selection Sort
Insertion Sort
Check for BST
Right View of Binary Tree
K distance from root
Mirror Tree
Two Mirror Trees
Maximum Width of Tree
Height of Binary Tree
Balanced Tree Check
Kth from End of Linked List
Check If Circular Linked List
Left View of Binary Tree
Delete Middle of Linked List
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
Level Order in spiral form
Reverse Level Order Traversal
DFS of Graph
Stack using Linked List
Implement stack using array
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
Binary Search
Largest subarray of 0's and 1's
Remove Duplicates Sorted Array
Level Order Line by Line
BST Keys in a Range
Print all possible strings
Minimum Depth of a Binary Tree
Odd even level difference
Binary Tree to BST
Unique rows in boolean matrix
Leaves at Same Level or Not
Multiply two linked lists
Josephus problem
Expression Tree
Max distance between same elements
Kth largest element in BST
Minimum distance in an Array
Array Duplicates
Max Level Sum in Binary Tree
Special Stack
Level of a Node in Binary Tree
Sum of leaf nodes in BST
More than n/k Occurrences
Max and min element in Binary Tree
Reverse Using Stack
XOR of a given range
Triplet with 0 sum in BST
Symmetric Tree
Find the Sum of Last N nodes of the Linked List
Next Right Node
Count Pairs whose sum is equal to X
Median of BST
Find n/k th node in Linked list
Maximum Pairwise Computed Value
Queue Reversal
Reverse first K of a Queue
Magical Number
Sum of Leaf Nodes
Sum of Right Leaf Nodes
Sum of Left Leaf Nodes
Sum of Leaf Nodes at Min Level
C++ STL Priority Queue
Delete Mid of a Stack
Learn to Comment
Learning to be precise
Bitwise Operators
Even Odd
For Loop- primeCheck
While loop- printTable
Learning Macros
Step by Step Condition
Matrix Interchange
Xoring and Clearing
Swap the objects
Learning Structs
Delete Array
Find the Frequency
Back to Front
Pair Sum in Vector
Stack Operations
Get min at pop
Deque Implementations
Frequency Game
Greater and Smaller Ones
Duplicate Elements
Pair Sum Existence- Revisited
First Set Bit
Rightmost different bit
Check K-th Bit
Longest Consecutive 1's
Power of 2
Swap odd and even bits
Frequencies in a Limited Array
Equilibrium Point
Array Leaders
Floor in a Sorted Array
Minimum Number in a sorted rotated array
Print adjacency list
Transpose of Matrix
Matrix Boundary Traversal
Check if a string is Isogram or not
Anagram
Winner of an election
String Rotated by 2 Places
Isomorphic Strings
The Modified String
Reverse Words
Sum of numbers in string
Minimum indexed character
Non Repeating Character
Parenthesis Checker
Minimum indexed character
Generate Binary Numbers
K largest elements
Minimum Cost of ropes
N meetings in one room
Largest number with given sum
Reach a given score
Union-Find
Count number of hops
First Repeating Element
Union of Arrays with Duplicates
Common Elements
Check Equal Arrays
Numbers containing 1, 2 and 3
Missing in Array
Product array puzzle
Roman Number to Integer
Search an element in sorted and rotated array
Intersection of Arrays with Distinct
Excel Sheet | Part - 2
Mean of range in array
Max Value Permutation
Missing And Repeating
Non-Repeating Element
Last seen array element
Pairs of equals Sum
Max value
Count the elements
Maximum Gap
Find the closest number
Sort by Set Bit Count
k sorted array
Balance with respect to an array
Common in 3 Sorted Arrays
Good Pairs
Number and the Digit Sum
Maximum no of 1's row
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
Minimize the sum of product
Missing number
String Manipulation
Chocolate Distribution Problem
Minimum Distinct Ids
Count the triplets
Find Pair Given Difference
Bitonic Point
Left most and right most index
Smallest subarray with sum greater than x
Single Number
Check if actual binary representation of a number is palindrome
Remove Consecutive Characters
Convert a sentence into its equivalent mobile numeric keypad sequence
Palindrome Sentence
Addition of submatrix
Remove Duplicates
Facing the sun
Count Substrings
Twice Counter
Distinct Substrings
Word with maximum frequency
Convert array into Zig-Zag fashion
Two Sum - Pair with Given Sum
Rotate Bits
Second most repeated string in a sequence
Check if array contains contiguous integers
Rearrange to Make arr[i] = i
Find all pairs with a given sum
Number of occurrence
K-Pangrams
Reversing the equation
Find the most frequent digit
Modify the Array
Check if array is sorted
Find missing in second array
Longest Common Prefix of Strings
Largest Fibonacci Subsequence
First Repeated Character
Special array reversal
Min Manipulations to make Strings Anagram
Min Number of Flips
Maximum number of characters between any two same character
Maximum difference Indexes
Counts Zeros Xor Pairs
Two sum -Pairs with 0 Sum
Segregate 0s and 1s
Play With OR
Hungry Pizza Lovers
Three Great Candidates
At Least K Occurrences
Find the closest pair from two arrays
Common Divisor
The Inverting Factor
Count the Zeros
Distinct absolute array elements
Length of longest subarray
Maximum sum of subarray less than or equal to x
Four Elements
Palindrome String
Left out candies
Palindromic Series
Delete Array Elements
Fitting The Array
Pair with given sum in a sorted array
Pattern Searching
Print Bracket Number
Easy string
Shop in Candy Store
Tom and String
Odd Even Problem
Mr. Binary
Lucas Number
Is Binary Number Multiple of 3
Kth LSB
Padovan Sequence
Minimum Operations
Divisibility by 8
Circle and Lattice Points
Adding Array Elements
Number of 1 Bits
Find the Highest number
Armstrong Numbers
Midori and chocolates
Love For The Twins
Three Number Even Sum
Lucky Number
Max Sum Subarray of size K
Nth Fibonacci Number
Change Bits
Copy Set Bits in Range
Sum Of Digits
Toggle bits in the given range
Game of Nim
Element that appears once where every element occurs twice
Completing tasks
Prime Number
Print binomial expansion series
Shortest path from 1 to n
nCr
Find sum of divisors
Count numbers containing 4
Amicable Pair
Assign Mice Holes
Arrange the Balls
Reach the Nth point
Minimum number of Coins
Break a number
Numbers with same first and last digit
Maximum height of the staircase
Cereals Box
Incomplete Array
Array's Game
Smallest number with sum of digits as N and divisible by 10^N
Next in Series
Game of cells
Maximize Toys
Largest number possible
Grouping values
Sum Indexes
Recamans sequence
Carry counter
Penalty Shooters
Remainder of array multiplication
Rectangles in N*N Board
Squares in N*N Chessboard
Number of divisors in a given range
Deficient Number
Trailing zeroes in factorial
Find the minimum time
Form a number divisible by 3 using array digits
Number of ways to find two numbers
Triangular Number
Sum of First N Natural Numbers
Right angled triangles
Recursive sequence
Juggler Sequence
Tom and Jerry
Summed Matrix
Maximum Diamonds
Row with Minimum 1s
Geek and his Tricky Series
Boundary Elements of Matrix
Collection of pens
Inorder Traversal and BST
Sequence Fun
English Words
Overlapping rectangles
Help the Old Man!!!
Print Pattern
Mansi and her series
Crack the series
Chicks in a Zoo
Binary Tree K level sum
Earthquake and the Paint Shop
Array to BST
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
Gadgets of Doraland
Plus One
Sum of two numbers without using arithmetic operators
Queue using stack
Binary Search in forest
First and last occurrences of x
Geek and Co-Prime Numbers
Smallest window containing 0, 1 and 2
Insert an Element at the Bottom of a Stack
Find pairs with given sum in doubly linked list
Even subarray sum
Police Station
Kth Mex
Make sum even
Print N to 1 without loop
Print GFG n times
Fibonacci series up to Nth term
Odd Series
Divisor Game
Geek left with No Food
Unique Binary Tree Requirements
Minimize the sum
Find the first node of loop in linked list
Last cell in a Matrix
Jump over Array - 1
Balloon Everywhere
String Operations
Find Bots on Geeklandster
Is it Fibonacci
Max Level Sum in Binary Tree
Binary matrix having maximum number of 1s
Select Maximum number
Play of 3 Glasses!
Magic Array
Rank of Matrix
Rearrange characters
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
Count BST nodes that lie in a given range
Bottom View of Binary Tree
Delete without head pointer
Intersection in Y Shaped Lists
Diameter of a Binary Tree
Add all greater values to every node in a BST
Sum Tree
Diagonal Tree Traversal
Tree Boundary Traversal
Delete a node from BST
Directed Graph Cycle
Undirected Graph Cycle
LCA in Binary Tree
Absolute List Sorting
Two Stacks in an Array
The Celebrity Problem
Largest subarray with 0 sum
Topological sort
Vertical Tree Traversal
Find the number of islands
Get Min from Stack
Gas Station
Kth smallest element in a Matrix
Remove loop in Linked List
Dijkstra Algorithm
Minimum Spanning Tree
Interleaved Strings
Minimum Swaps to Sort
Maximum Difference
Palindrome Linked List
Rat in a Maze Problem - I
Bipartite Graph
Closest in BST
Merge two BST 's
Count distinct elements in every window
Merge k Sorted Arrays
Root to leaf paths sum
Find triplets with zero sum
Sort a stack
Top View of Binary Tree
k-th Smallest in BST
Find Common Nodes in two BSTs
Level order traversal
Peak element
Union of Two Linked Lists
Pair Sum in BST
Root to Leaf Paths
Populate Inorder Successor for all nodes
Counting elements in two arrays
Construct Tree from Inorder & Preorder
Vertical sum
Mirror of a given node
Isomorphic Trees
Maximum path sum from any node
Predecessor and Successor
Children Sum in a Binary Tree
Diagonal sum in binary tree
Normal BST to Balanced BST
Sum of nodes on the longest path
Construct a Full Binary Tree
ZigZag Tree Traversal
Count Number of SubTrees having given Sum
C++ Generic sort
Mother Vertex
Ceil in BST
Count set bits
Gray to Binary Conversion
Tower Of Hanoi
Reverse array in groups
Smallest Positive Missing
Power Of Numbers
Wave Array
Rearrange Array Alternately
Rearrange an array with O(1) extra space
Maximum Index
Stock buy and sell
Rotate Array
Kadane's Algorithm
Majority Element
Binary Array Sorting
Count Inversions
Union of 2 Sorted Arrays
Indexes of Subarray Sum
Triplet Sum in Array
Possible paths between 2 vertices
Level of Nodes
Make Matrix Beautiful
Boolean Matrix
Spirally traversing a matrix
Search in a sorted Matrix
Distance of nearest cell having 1
Unit Area of largest region of 1's
Subarray with 0 sum
Subarrays with equal 1s and 0s
Sort Elements by Decreasing Frequency
Longest Consecutive Subsequence
Case-specific Sorting of Strings
Postfix Evaluation
Stock span problem
Next Greater Element
Infix to Postfix
K Sized Subarray Maximum
Kth smallest element
Nearly sorted
Fractional Knapsack
Job Sequencing Problem
Minimum Platforms
Combination Sum
Minimum Jumps
Stickler Thief
Ways to Reach the n'th Stair
Longest Increasing Subsequence
Longest Common Subsequence
0 - 1 Knapsack Problem
Largest number
Lucky Numbers
Number of Unique Paths
X Total Shapes
Zero Sum Subarrays
Find whether path exist
Kth Smallest
Nth number made of prime digits
Shortest Common Supersequence
Nth Catalan Number
Rotten Oranges
Steps by Knight
Maximize The Cut Segments
Print Anagrams Together
Rotate by 90 degree
Top K Frequent in Array
Closest Three Sum
Generate Parentheses
Word Search
Word Boggle
Prerequisite Tasks
Excel Sheet | Part - 1
Sort 0s, 1s and 2s
Paths to reach origin
Pascal Triangle
Maximum Index
Number of subarrays with maximum values in given range
Flip Bits
Sum of Subarrays
Equal Sum
Top k numbers in a stream
Equivalent Sub-Arrays
Single Among Doubles in a Sorted
Count Occurences of Anagrams
Pythagorean Triplet
Mr Modulo and Pairs
Painting the Fence
Search in Rotated Sorted Array
Sum of bit differences
Print Binary Tree levels in sorted order
Max Score from Subarray Mins
Maximum Product Subarray
Longest subarray with sum divisible by K
Row with max 1s
Swapping pairs make sum equal
Check if frequencies can be equal
Nuts and Bolts Problem
Maximum distinct elements after removing K elements
Longest Subarray with Sum K
Transform String
Count the Reversals
Shuffle integers
Reverse each word in a given string
k largest elements
Sum of XOR of all pairs
Longest Common Substring
Count of substrings containing K ones
Longest Substring with K Uniques
Valid Expression
K-th element of two Arrays
Triplets with Smaller Sum
Rod Cutting
Greater tower sum
Missing element of AP
LCS of three strings
Longest Palindromic Subsequence
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
Construct binary palindrome by repeated appending and trimming
Smaller on Left
Print N-bit binary numbers having more 1s than 0s
Valid Substring
Permutations of a String
Mapped String
Friends Pairing Problem
String Subsequence Game
Lexicographically smallest string
Unique Number II
Modular Exponentiation
Largest prime factor
Max Sum Increasing Subsequence
Minimum cost to fill given weight in a bag
Coin Change (Count Ways)
Sieve of Eratosthenes
Mobile numeric keypad
Gold Mine Problem
Perfect Sum Problem
Fibonacci Sum
Smallest number
Longest subsequence-1
Power Set
Count ways to N'th Stair(Order does not matter)
Knapsack with Duplicate Items
nCr
Maximum path sum in matrix
Minimum steps to destination
Special Keyboard
Partition Equal Subset Sum
Part of it.
Lucky alive person in a circle
Count distinct pairs with difference k
Array Pair Sum Divisibility Problem
Subset Sums
Prime Pair with Target Sum
Last non-zero digit in factorial
Number of paths
Nth Natural Number
Knight Walk
Permutation with Spaces
Return two prime numbers
Count Total Setbits
Fact Digit Sum
Find Prime numbers in a range
Game with String
Find the Safe Position
Next Permutation
Smaller on Left
How Many X's?
Longest Repeating Subsequence
Finding Profession
Decode the string
Preorder Traversal and BST
Stream First Non-repeating
Possible paths
Segregate even and odd nodes in a Linked List
Kth Largest in a Stream
Sum of Query I
Replace O's with X's
Check Mirror in N-ary tree
Find the string in grid
Count the paths
Floyd Warshall
Negative weight cycle
Flood fill Algorithm
Shortest Source to Destination Path
Base Equivalence
Shortest Path between Cities
Police and Thieves
Geek and Number String
Missing Point of a Parallelogram
Recursively Remove Adjacent Duplicates
Dam of Candies
Help Classmates
Iterative Inorder
Preorder traversal (Iterative)
Iterative Postorder
Subset Sum Problem
Covid Spread
Bellman-Ford
Subarrays with sum K
Searching an element in a sorted array (Ternary Search)
Sort a 2D vector diagonally
Remove K Digits
Substrings of length k with k-1 distinct elements
Clone a stack without using extra space
Number of Provinces
Division without using multiplication, division and mod operator
Minimize the Heights I
Subsets
Anti Diagonal Traversal of Matrix
Design Browser History
IPL 2021 - Match Day 2
Course Schedule
Overlapping Intervals
Reverse a Stack
K-th Largest Sum Contiguous Subarray
Max Equal sum of 3 Stacks
Maximum Winning score
Next element with greater frequency
Minimum increment/decrement to make array non-Increasing
Number of Distinct Islands
Shortest Distance in a Binary Maze
Minimum Multiplications to reach End
Number Of Enclaves
Eventual Safe States
Rectangles and Squares
City With the Smallest Number of Neighbors at a Threshold Distance
Geekland Colosseum
Maximum Multiple
Number of Ways to Arrive at Destination
Path With Minimum Effort
Subarray Counting
Cheapest Flights Within K Stops
Shortest Path in Undirected Graph
Shortest path in Directed Acyclic Graph
Longest subarray with Atmost two distinct integers
Sum of subarray minimum
Combination Sum III
Check if there exists a subsequence with sum K
Combination Sum II
Shortest Path in Weighted undirected graph
Word Search
Minimum Absolute Difference In BST
Target Path Sum
Make array Equal
Floor in BST
Next Greater Element in Circular Array
Geeks And The String
Maximum Points Covered
Max Sum without Adjacents
Difference Tree
Apple Sequences
Fill the Matrix
Number of Good Components
String rp or pr
Count Cyclic Paths
Distinct Difference
Fest and Posters
Geek and the XOR Play
Prime Sum Subtrees
Linked List Group Reverse
Max rectangle
Alien Dictionary
String Permutations
Histogram Max Rectangular Area
Word Ladder I
Count Pairs in an Array
Edit Distance
Median in a row-wise sorted Matrix
Longest valid Parentheses
Huffman Encoding
Water Connection Problem
132 Geeky Buildings
Word Ladder II
IPL 2021 - Final
Number of pairs
Navigate Island Country
Optimal Value
Maximize the fuel
Reverse an Array
Maximum and Minimum Of Array Elements
Search in a 2D Matrix
close
A
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 !