1 capture
02 Sep 2025
Aug
SEP
Oct
02
2024
2025
2026
success
fail
About this capture
TIMESTAMPS
The Wayback Machine - https://web.archive.org/web/20250902083729/https://www.geeksforgeeks.org/user/ProgrammerAnvesh/
Tutorials
Courses
Go Premium
Data Structure
Java
Python
HTML
Interview Preparation
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
programmeranvesh
star
star
star
Current POTD Streak
STREAK
833
/1492
days
Longest streak/Global longest streak
Institution
Atal Bihari Vajpayee Indian Institute of Information Technology and Management (ABVIIITM) Gwalior
1 Rank
Institute Rank
Organization
Wheelseye
Language Used
C++, Java, Python, C
Coding Score
5051
Problem Solved
1482
Contest Rating
1723
Apply for Campus Mantri
513 points
Contributor
513 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
280 submissions in current year
Current
2024
2023
2022
2021
2020
2019
2018
January
February
March
April
May
June
July
August
September
SCHOOL (2)
BASIC (49)
EASY (483)
MEDIUM (771)
HARD (177)
SP - Stack Design
Catch The Nun
Golden String
Geek String
Same Count After Sorting
Odd Couples
Check XOR
Count Max Sum Pair
Sort Matrix Rows
Student Record
Geek and the base
Continuous Series
The Manipulator
Maximize The Profit
Lucky Geek
Minimum Cost of Gas
Tower Construction
Continuous Series
Maximize The Profit
The Manipulator
Facebook friend or not?
Scalene or Not
Gadgets of Doraland
Rearrange Geek and his Classmates
Reverse a linked list
Occurence of an integer in a Linked List
Delete N nodes after M nodes of a linked list
Pairwise swap elements of a linked list
Given a linked list of 0s, 1s and 2s, sort it.
Linked list of strings forms a palindrome
Merge 2 sorted linked list in reverse order
Detect Loop in linked list
Remove duplicates from an unsorted linked list
Sorted insert for circular 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
Maximum Width of Tree
Delete without head pointer
Height of Binary Tree
Balanced Tree Check
Nth node from end of linked list
Middle of a Linked List
Left View of Binary Tree
Delete Middle of Linked List
Decimal Equivalent of Binary Linked List
Transform to Sum Tree
Intersection of two sorted Linked lists
Find Transition Point
Queue using two Stacks
Remove duplicate element from sorted Linked List
Stack using two queues
Level Order in spiral form
Reverse Level Order Traversal
DFS of Graph
Insert a node in a BST
BFS of graph
Determine if Two Trees are Identical
Root to leaf path sum
Square root of a number
Print all nodes that don't have sibling
Lowest Common Ancestor in a BST
Implement two stacks in an array
Run Length Encoding
Largest subarray of 0's and 1's
Level order traversal Line by Line
Print BST elements in given range
Largest subarray with 0 sum
Remove duplicates in array
Binary Tree to BST
Unique rows in boolean matrix
Remove every kth node
Check if all leaves are at same level
Match specific pattern
Multiply two linked lists
Josephus problem
You and your books
Max distance between same elements
Print matrix in diagonal pattern
Generate Grey Code Sequences
Check whether BST contains Dead End
Delete a Node in Single Linked List
Kth largest element in BST
Minimum distance between two numbers
Find duplicates in an array
Count distinct elements in every window
Three way partitioning
Find Common Nodes in two BSTs
Level order traversal
Peak element
Inorder Successor in BST
Index of an Extra Element
Union of Two Linked Lists
Disjoint set (Union-Find)
Insert in a Sorted List
Split Linked List Alternatingly
Sum of leaf nodes in BST
Count More than n/k Occurences
Reverse a string using Stack
Symmetric Tree
Delete Alternate Nodes
Find the Sum of Last N nodes of the Linked List
Next Right Node
Count Pairs whose sum is equal to X
Find length of Loop
Median of BST
Normal BST to Balanced BST
Leaf under budget
Linked List Matrix
Reverse First K elements of Queue
Remove Half Nodes
Closest Neighbour in BST
Brothers From Different Roots
Sum of Leaf Nodes at Min Level
Move all zeros to the front of the linked list
Delete middle element of a stack
SP - Print the Pattern
SP - Digit Sum
SP - Second Highest
Controlled_Printing
Coding with Operators
Bridge of Stones
Swap the array elements
Predict the Column
Xoring and Clearing
Reverse an Array
Queue Operations
Get min at pop
Frequency Game
Find first set bit
Rightmost different bit
Check whether K-th bit is set or not
Swap all odd and even bits
Maximum occured integer
Wave Array
Frequencies of Limited Range Array Elements
Equilibrium Point
Leaders in an array
Rotate Array
Floor in a Sorted Array
Minimum Number in a sorted rotated array
Roof Top
Subarray with given sum
Print adjacency list
Sum of upper and lower triangles
Print Matrix in snake Pattern
Transpose of Matrix
Rotate by 90 degree
Determinant of a Matrix
Boundary traversal of matrix
Anagram
Winner of an election
Check if string is rotated by two places
Strings Rotations of Each Other
Isomorphic Strings
Reverse Words
Minimum indexed character
Panagram Checking
Non Repeating Character
Parenthesis Checker
Evaluation of Postfix Expression
Minimum Cost of ropes
Activity Selection
N meetings in one room
Largest number with given sum
Reach a given score
Union-Find
Count ways to N'th Stair
Count number of hops
Number of Unique Paths
Union of Arrays with Duplicates
Positive Negative Pair
Missing in Array
Product array puzzle
Roman Number to Integer
Top K Frequent Elements in Array - |
Intersection of two arrays
Sort 0s, 1s and 2s
Adding One
Maximize Array Value After Rearrangement
Pascal Triangle
Count the elements
Maximum Gap
Rotation
Find the closest number
Sort by Set Bit Count
k sorted array
Maximize sum after K negations
Adding Ones
Pairs with certain difference
Common elements
Find the element that appears once in sorted array
Split the Array
Sorted and Rotated Minimum
Sum of elements between k1'th and k2'th smallest elements
Search in a Row-Column sorted matrix
Move All Zeroes to End
Remove all duplicates from a given string
Min sum formed by digits
Min Subsets with Consecutive Numbers
Minimize the sum of product
Chocolate Distribution Problem
Search in a Rotated Array
Count pairs Sum in matrices
Count the triplets
Find Pair Given Difference
Pairs with difference k
Maximum Sum Bitonic Subsequence
Swap and Maximize
Bitonic Point
Left most and right most index
Single Number
Alternate positive and negative numbers
Remaining String
Check if frequencies can be equal
Kth distance
Palindrome Sentence
Rearrange a string
Remove Duplicates
Nearest multiple of 10
Reorganize The Array
Facing the sun
Max Sum without Adjacents
Second Largest
Convert array into Zig-Zag fashion
Two Sum - Pair with Given Sum
Rotate Bits
Find all pairs with a given sum
Number of occurrence
K-Pangrams
Reversing the equation
Divisible by 8
Does array represent Heap
Longest common prefix
Modify the Array
Convert an array to reduced form
Sum Pair closest to target
String's Count
Longest Common Prefix of Strings
Longest substring with distinct characters
Look and Say Pattern
Counts Zeros Xor Pairs
Substrings with same first and last characters
Segregate 0s and 1s
Play With OR
Hungry Pizza Lovers
Tywin's War Strategy
First element to occur k times
Element with left side smaller and right side greater
Find the closest pair from two arrays
Maximum sum of increasing order elements from n arrays
Array Subset of another array
First negative integer in every window of size k
Merge two binary Max heaps
Maximum difference of zeros and ones in binary string
Four Elements
Palindrome String
Maximum average subarray
Total count
Smallest greater elements in whole array
Fitting The Array
Pair with given sum in a sorted array
Pattern Searching
Print Bracket Number
Balanced string
Shop in Candy Store
Odd Even Problem
Binary representation of next number
Partition a number into two divisible parts
Encrypt the string - 2
Is Binary Number Multiple of 3
Padovan Sequence
Extract the Number from the String
Minimum Operations
Check if a number is divisible by 8
Adding Array Elements
Number of 1 Bits
Find the Highest number
Armstrong Numbers
Reverse Bits
Max Sum Subarray of size K
Nth Fibonacci Number
Change Bits
Swap two nibbles in a byte
Copy Set Bits in Range
Maximum Sum Problem
Party of Couples
Maximize dot product
Shortest path from 1 to n
Sequence of Sequence
Sum of all divisors from 1 to n
Count numbers containing 4
Trail of ones
The Bit Game
Swap bits
K-Palindrome
Reach the Nth point
Minimum number of Coins
Number Of Open Doors
Right most non zero digit
Break a number
Perfect Numbers
Minimum Cost To Make Two Strings Identical
Nth item through sum
Palindrome numbers
Smallest number with sum of digits as N and divisible by 10^N
Maximize Toys
Largest number possible
Find Last Digit Of a^b for Large Numbers
Recamans sequence
Number that are not divisible
Rectangles in N*N Board
Squares in N*N Chessboard
Number of paths
Compare two fractions
Trailing zeroes in factorial
Permutation with Spaces
Choose and Swap
Form a number divisible by 3 using array digits
Least Prime Factor
Reverse Coding
Subarray with least average
Find Nth root of M
Fact Digit Sum
Circular Prime Number
Recursive sequence
Juggler Sequence
Tom and Jerry
Summed Matrix
Maximum Diamonds
Arithmetic Number
Rearrange the Digits
Rotate a Matrix by 180 Counterclockwise
Row with minimum number of 1's
Make Zeroes
Surround the 1's
Wave Array
COVID Spread
Coverage of all Zeros in a Binary Matrix
Exit Point in a Matrix
Help Ishaan
Finding Profession
Trace Path
Inorder Traversal and BST
Sequence Fun
Letters Collection
Longest Perfect Piece
Help the Old Man!!!
Print Pattern
Primes sum
Eulerian Path in an Undirected Graph
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
Count the paths
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
Moving on grid
Modified Numbers and Queries
Fraction Trouble
Sum of k smallest elements in BST
Print Diagonally
Find maximum volume of a cuboid
Theft at World Bank
Gadgets of Doraland
Plus One
Sum of two numbers without using arithmetic operators
Minimum steps to make product equal to one
Even and Odd
Search insert position of K in a sorted array
Queue using stack
Binary Search in forest
Largest value in each level
Check if a String is Subsequence of Other
Maximum GCD of siblings of a binary tree
Maximum number of 2X2 squares
Max Min
Count the Substrings
Min Cost Climbing Stairs
Count the Subarrays
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
Insert an Element at the Bottom of a Stack
Can Make Triangle
Matrix Operations
Find pairs with given sum in doubly linked list
Triangle and Square
Sort a k sorted doubly linked list
Fibonacci series up to Nth term
Stock Buy and Sell – Max one Transaction Allowed
Maximum Depth Of Binary Tree
Divisor Game
Minimize the sum
Absolute difference divisible by K
Last modified ball
Transform to Sum Tree
Make array elements unique
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
All Numbers
Last cell in a Matrix
Max Sum without Adjacents
Count number of free cell
Balloon Everywhere
Apple Sequences
Min Jump
Range OR
Mex Array
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
Taxi Booking
Max Level Sum in Binary Tree
Binary matrix having maximum number of 1s
Number of Subarrays of 0's
Distinct Difference
Maximum Identical Bowls
Bus Conductor
Wifi Range
Minimum Number
Minimum Integer
Seating Arrangement
String Mirror
Powerfull Integer
Make Palindrome
Binary Modulo
Total Cuts
Bit Magic
Array Operations
Dominant Pairs
Total Traversal Time
Valuable String
Accept The Challenge
Ticket Counter
Unique Number of Occurrences
Antique Collections
Two Smallests in Every Subarray
Split an array into two equal Sum subarrays
Largest Pair Sum
Good Substrings
Validate distribution
Find Smallest
Boundary Sum of Matrix
Maximum Product
Two Swaps
Maximize partitions in a String
Smallest Substring
Count pairs with given sum
Meeting Rooms
Make Perfect Array
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
Fizz Buzz
Search in a row-wise sorted matrix
Implement Lower Bound
Find Only Repetitive Element from 1 to n-1
Generate a matrix with each row and column of given sum
Number of times graph cuts X-axis
Unique Number I
Sorting Elements of an Array by Frequency
Rearrange characters
Nearly Sorted Algorithm
Geek and the lockers
Sorting distance
Geek and the lockers
The Operations
Be-A-Bit-Wise
K stack in a single array
Reverse alternate nodes in Link List
Reverse a Linked List in groups of given size
Rotate a Linked List
Add Number Linked Lists
Rearrange a linked list
Add 1 to a Linked List Number
Delete nodes having greater value on right
Quick Sort on Linked List
QuickSort on Doubly Linked List
Count BST nodes that lie in a given range
Merge Sort
Quick Sort
Construct Binary Tree from Inorder and Postorder
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
Construct Binary Tree from Parent Array
Connect Nodes at Same Level
Flattening a Linked List
Diagonal Traversal of Binary Tree
Tree Boundary Traversal
Delete a node from BST
Directed Graph Cycle
Undirected Graph Cycle
Lowest Common Ancestor in a Binary Tree
Min distance between two given nodes of a Binary Tree
Square root of a number
Maximum difference between node and its ancestor
Absolute List Sorting
Binary Heap Operations
Max sum path in two arrays
The Celebrity Problem
Topological sort
Vertical Tree Traversal
Merge K sorted linked lists
Find the number of islands
Find kth element of spiral matrix
Max sum in the configuration
Get Min from Stack
Serialize and deserialize a binary tree
Gas Station
Make Binary Tree From Linked List
Toeplitz matrix
Generate IP Addresses
Check if subtree
Extreme nodes in alternate order
Kth element in Matrix
Is Binary Tree Heap
Validate an IP Address
Remove loop in Linked List
Dijkstra Algorithm
Distinct occurrences
Max length chain
Minimum Spanning Tree
Additive sequence
Largest BST
Interleaved Strings
Sorted subsequence of size 3
LRU Cache
Box Stacking
Count Palindromic Subsequences
Multiply two strings
Minimum Swaps to Sort
Implement Atoi
Maximum Difference
Palindrome Linked List
Strongly Connected Components (Kosaraju's Algo)
Rat in a Maze Problem - I
Bipartite Graph
Find the Closest Element in BST
Pots of Gold Game
Delete keys in a Linked list
Merge two BST 's
Merge k Sorted Arrays
Root to leaf paths sum
Length of longest palindrome in linked list
Bridge edge in a graph
Print Nodes having K leaves
Find triplets with zero sum
Sort a stack
Duplicate subtree in Binary Tree
Find the missing no in string
Top View of Binary Tree
k-th Smallest in BST
Polynomial Addition
Delete nodes greater than k
Euler Circuit in an Undirected Graph
Euler circuit and Path
Merge Sort on Doubly Linked List
Ancestors in Binary Tree
Binary Tree to CDLL
Pair Sum in BST
Root to Leaf Paths
Complete Binary Tree
Populate Inorder Successor for all nodes
XOR Linked List
Counting elements in two arrays
Construct expression tree
Linked List that is Sorted Alternatingly
K Sum Paths
Foldable Binary Tree
Leftmost and rightmost nodes of binary tree
Construct Tree from Inorder & Preorder
Arrange Consonants and Vowels
Count the nodes at distance K from leaf
Vertical sum
Insert in Sorted way in a Sorted DLL
Check if Tree is Isomorphic
Maximum path sum from any node
Predecessor and Successor
Leaves to DLL
Check for Children Sum Property in a Binary Tree
Diagonal sum in binary tree
Deletion and Reverse in Circular Linked List
Duplicate Subtrees
Construct Tree from Preorder Traversal
Sum of nodes on the longest path
Kth Ancestor in a Tree
ZigZag Tree Traversal
Count Number of SubTrees having given Sum
Vertical Width of a Binary Tree
SP - The Pattern
Swap Kth nodes from ends
Maximum sum of Non-adjacent nodes
Mother Vertex
Ceil in BST
Count total set bits
Gray to Binary equivalent
Maximum AND Value
Tower Of Hanoi
Smallest Positive Missing
Power Of Numbers
Possible Words From Phone Digits
Rotate and delete
Rearrange Array Alternately
Rearrange an array with O(1) extra space
Maximum Index
Trapping Rain Water
Stock buy and sell
Kadane's Algorithm
Majority Element
Count Inversions
Two Repeated Elements
Unique BST's
Union of Two Sorted Arrays
Count the number of possible triangles
Sort by Absolute Difference
Triplet Sum in Array
Number of pairs
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
Subarray range with given sum
Subarrays with equal 1s and 0s
Sorting Elements of an Array by Frequency
Longest Consecutive Subsequence
Case-specific Sorting of Strings
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
Largest number in K swaps
Black and White
Combination Sum
Unique Subsets
M-Coloring Problem
Minimum Jumps
Detect Cycle using DSU
Stickler Thief
Ways to Reach the n'th Stair
Count ways to N'th Stair(Order does not matter)
Egg Dropping Puzzle
Optimal Strategy For A Game
Minimum number of jumps
Sum of all substrings of a number
Longest Increasing Subsequence
Longest Common Subsequence
0 - 1 Knapsack Problem
Lucky Numbers
Equal Sum Partition
Sort an array according to the other
Allocate Minimum Pages
Preorder to PostOrder
X Total Shapes
Zero Sum Subarrays
Find whether path exist
Kth Smallest
Implement Trie
Shortest Common Supersequence
Nth catalan number
Rotten Oranges
Steps by Knight
Most frequent word in an array of strings
Count subsequences of type a^i, b^j, c^k
Maximize The Cut Segments
Container With Most Water
Print Anagrams Together
Rotate by 90 degree
Closest Three Sum
Word Break
Stock buy and sell II
Generate Parentheses
Word Search
Word Boggle
Prerequisite Tasks
4 Sum - All Quadruples
Excel Sheet | Part - 1
Town of Natural Numbers
Paths to reach origin
Missing And Repeating
Complement
Maximum Sub Array
Maximum Index
Number of subarrays with maximum values in given range
Flip Bits
Sum of Subarrays
Equal Sum
Top k numbers in a stream
Large Factorial
Longest Span in two Binary Arrays
Maximize Number of 1's
Sum of Middle elements of two sorted arrays
Equivalent Sub-Arrays
Consecutive 1's not allowed
Count Occurences of Anagrams
Count of Subarrays
Find the element that appears once
Pythagorean Triplet
Painting the Fence
Sum of two elements with sum nearest to zero
Smallest factorial number
Sum of bit differences
Count the Number of Full Binary Trees
Maximum Intervals Overlap
Maximize The Array
Max Score from Subarray Mins
Form the Largest Number
Alternate Vowel and Consonant String
Add Binary Strings
Super Primes
Subarray Sum Divisible By K
Maximum Product Subarray
Longest subarray with sum divisible by K
Check if a string is repetition of its substring of k-length
Sort the given array after applying the given equation
Row with max 1s
Swapping pairs make sum equal
Column name from a given column number
Concatenation of Zig-Zag String in n Rows
Substrings with K Distinct
Palindrome SubStrings
Form a palindrome
Nuts and Bolts Problem
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
Search Pattern (KMP-Algorithm)
Shuffle integers
Reverse each word in a given string
Find the N-th character
Length of the longest substring
Remove leading zeros from an IP address
k largest elements
Sum of XOR of all pairs
Find missing in second array
Magnet Array Problem
Longest Common Substring
Smallest distinct window
Longest Substring with K Uniques
Longest Palindrome in a String
Integer to Words
K-th element of two Arrays
Arranging the array
String formation from substring
Count triplets with sum smaller than X
Rod Cutting
K closest elements
Number of pairs
Missing element of AP
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
Largest Sum Subarray of Size at least K
Longest Common Increasing Subsequence
Escape the Forbidden Forest
Longest Prefix Suffix
Equalize the Towers
Number of palindromic strings
Minimum sum
Not a subset sum
Build the smallest
Minimize the Heights II
Transform to prime
First and last occurrences of x
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
Permutations of a String
Number following a pattern
Previous number in one swap
Circle of strings
Friends Pairing Problem
CamelCase Pattern Matching
Lexicographically smallest string
Combination Sum - Part 2
Sum of Products
Maximum XOR subset
Count the subarrays having product less than k
Unique Number II
Bleak Numbers
Modular Exponentiation for large numbers
Edit Distance
Game of XOR
Largest prime factor
3 Divisors
Maximum Tip Calculator
Modified Game of Nim
Minimum number of deletions and insertions
Maximum sum increasing subsequence
Minimum cost to fill given weight in a bag
Coin Change (Count Ways)
Santa Banta
String Subsequence
Mobile numeric keypad
Gold Mine Problem
Coin Change (Minimum Coins)
Dice throw
Perfect Sum Problem
Smallest number
Power Of 2 and Subsequences
Kth Smallest Factor
Firing employees
Shreyansh and his bits
Longest subsequence-1
Power Set
Count ways to N'th Stair(Order does not matter)
Knapsack with Duplicate Items
nCr
Number of ways
Count of sum of consecutives
Subsets with XOR value
Geek and its Game of Coins
Maximum path sum in matrix
Minimum steps to destination
Special Keyboard
Partition Equal Subset Sum
XOR Game
Longest Bitonic subsequence
Min Coin
Lucky alive person in a circle
Handshakes
Count possible ways to construct buildings
Count digit groupings of a number
Probability of Knight
Page Faults in LRU
Array Pair Sum Divisibility Problem
Magic Triplets
Brain Game
Money Distributions
Fill up buckets
Matchsticks game
Median in a row-wise sorted Matrix
Killing Spree
Subset Sums
Unique partitions
Prime Pair with Target Sum
N Digit numbers with digits in increasing order
Yes XOR No
Fill the Tank
Akku and Binary Numbers
Geeky Chemicals
Nth Natural Number
Knight Walk
Stepping Numbers
Number of paths in a matrix with k coins
Bell Numbers
LCM Triplet
Sum of Query II
Find Prime numbers in a range
Jumping Numbers
A Game of LCM
Party in Town
Game with String
Count even length
A Simple Fraction
Grouping Of Numbers
Find the Safe Position
Smith Number
Cows of FooLand
Next Permutation
Next Permutation
Missing number in matrix
Strange Matrix
Mics & Jury
Rank The Permutations
Maximum Sum Component
Smallest number on left
Maximum sum of hour glass
Geek and knots
Filling Bucket
How Many X's?
Power of k in factorial of n
Matrix Exponentiation
Longest Repeating Subsequence
Longest alternating subsequence
Composite and Prime
Left Rotate Matrix K times
Decode the string
Preorder Traversal and BST
Total Decoding Messages
First non-repeating character in a stream
Maximum Sub-String after at most K changes
Check If two Line segments Intersect
2D Hopscotch
Villain Con
Possible paths
Segregate even and odd nodes in a Link List
Print leaf nodes from preorder traversal of BST
Geek collects the balls
Number of Rectangles in a Circle
Largest square formed in a matrix
Tricky Subset Problem
Water Overflow
Rat Maze With Multiple Jumps
Integral Points Inside Triangle
Kth largest element in a stream
Snake and Ladder Problem
Geek and Strings
Pairs of Non Coinciding Points
The Smurfs
Satisfy the equation
7 Segment Display
Product of Primes
Transitive closure of a 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
Broken blocks
Express as sum of power of natural numbers
Count all Possible Path
Find the string in grid
Shortest Uncommon Subsequence
Number of Palindromic paths in a Matrix
Nodes at even distance
Biconnected Graph
Help a Thief!!!
Largest Divisibility Test
Floyd Warshall
Negative weight cycle
Flood fill Algorithm
Form coils in a matrix
Techfest and the Queue
Largest subsquare surrounded by X
Shortest Source to Destination Path
Divisibility tree
Base Equivalence
Maximum sum Rectangle
Shortest Path between Cities
Height Using Parent Array
Reverse Spiral Form of Matrix
Police and Thieves
Geek and Number String
Save Your Life
Missing Point of a Parallelogram
Huffman Encoding
Hamiltonian Path
Recursively remove all adjacent duplicates
Water Connection Problem
Number of minimum picks to get 'k' pairs of socks from a drawer
Spiral Matrix
Coins of Geekland
Valid Pair Sum
Dam of Candies
Transfiguration
Repeated String Match
Ruling Pair
Count Triplets
Restrictive Candy Crush
Help Classmates
Restricted Pacman
Valentine Sum
Lucy's Neighbours
Spidey Sense
Project Manager
Water the plants
Escape the Forbidden Forest
Jump Game
Inorder Traversal (Iterative)
Triplets with sum with given range
Postorder Traversal (Iterative)
Subset Sum Problem
Longest Palindromic Substring
Form a palindrome
Search Pattern (Z-algorithm)
Search Pattern (Rabin-Karp Algorithm)
3 Sum Closest
Bellman-Ford
Subarrays with sum K
Remove BST keys outside given range
Partition a Linked List around a given value
Searching an element in a sorted array (Ternary Search)
Word Boggle - II
Maximum XOR subarray
Capacity To Ship Packages Within D Days
Sort a 2D vector diagonally
Coin Piles
Rearrange characters
Distribute N candies among K people
Remove K Digits
Substrings of length k with k-1 distinct elements
Clone a stack without using extra space
Maximum XOR of two numbers in an array
Count pairs in array divisible by K
Construct list using given q XOR queries
Number of Provinces
Prefix match with other strings
Binary Matrix with at most K 1s
Maximum sum leaf to root path
Find duplicate rows in a binary matrix
Single valued subtree
BST to max heap
Maximum sum of elements not part of LIS
BST to greater sum tree
Find rectangle with corners as 1
Paths from root with a specified sum
Shortest Prime Path
Cousins of a given node
Division without using multiplication, division and mod operator
Insertion Sort for Singly Linked List
Remove all occurences of duplicates in a linked list
Minimize the Heights I
Subsets
Flatten binary tree to linked list
Rank The Permutations
Anti Diagonal Traversal of Matrix
IPL 2021 - Match Day 2
Unique Number III
All Unique Permutations of an array
Course Schedule
License Key Formatting
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
Bitwise AND of the Array
Remove and Reverse
Buy and Sell a Share at most twice
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
Reverse a Stack
Farthest number
Maximum product subset of an array
Robots
K-th Largest Sum Contiguous Subarray
Hit most Balloons
Maximum Meetings in One Room
Enemy
Find Maximum Equal sum of Three Stacks
Buy Maximum Stocks if i stocks can be bought on i-th day
Exactly one swap
Maximum Winning score
Compute Before Matrix
Levels Of Game
Smallest sum contiguous subarray
Array Removals
Find shortest safe route in a matrix
Minimum Cost to cut a board into squares
Stack Permutations
Largest subtree sum in a tree
Wine Buying and Selling
Check if a given graph is tree or not
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
Number of Distinct Islands
Shortest Distance in a Binary Maze
Minimum Multiplications to reach End
Eventual Safe States
City With the Smallest Number of Neighbors at a Threshold Distance
Alex Travelling
Number Of Islands
Merging Details
Number of Ways to Arrive at Destination
Path With Minimum Effort
Shortest path in Undirected Graph
Shortest path in Directed Acyclic Graph
Majority Element - More Than n/3
Sum of Beauty of All Substrings
Koko Eating Bananas
Longest subarray with Atmost two distinct integers
Sum of subarray minimum
Asteroid Collision
Minimal Cost
Subarrays with K Distinct Integers
Aggressive Cows
Smallest Divisor
Combination Sum II
Shortest Path in Weighted undirected graph
Minimum days to make M bouquets
Task Scheduler
Hands of Straights
Minimum Absolute Difference In BST
Lemonade Change
Maximum Sum Combination
Non-overlapping Intervals
Stickler Thief II
Insert Interval
Longest String Chain
Partitions with Given Difference
Floor in BST
Largest Divisible Subset
GCD Array
Minimize number of Students to be removed
Maximum Value
Shortest Prime Path
Flattening a Linked List
Next Greater Element in Circular Array
Carpet into Box
Minimum X (xor) A
Find minimum number of Laptops required
Geeks And The String
Find the longest string
Maximum Profit By Choosing A Subset Of Intervals
Minimum repeat to make substring
Distinct Coloring
Intersection Point in Y Shaped Linked Lists
BST Downward Traversal
Length of the longest subarray with positive product
Maximum Bipartite Matching
Minimum Days
Prime List
Walls Coloring
Water the plants
Geeks Island
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
Find 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
Max Coins
Good Subtrees
Subtree In N-ary Tree
Easy Task
Add Minimum Characters
Maximum subset sum
Palindrome with minimum sum
Count Total Setbits
Tree Transformation
Construct a Full Binary Tree
Modify Linked List-1
Find Kth permutation
Fraction pairs with sum 1
New Year Resolution
Grinding Geek
Flatten BST to sorted list
Minimize the Difference
Pairs violating the BST property
Kth common ancestor in BST
Kth Missing Positive Number in a Sorted Array
Count Subarrays with given XOR
Set Matrix Zeros
Minimum cost to connect all houses in a city
4 Sum – Count quadruplets with given sum
Meeting Rooms
Split array in three equal sum subarrays
Last Moment Before All Ants Fall Out
Search in an almost Sorted Array
Create a spiral matrix of N*M size from given array
Find H-Index
Group Shifted String
Longest Subarray with Majority Greater than K
Count all triplets with given sum in sorted array
Minimum Removals for Target Sum
Pair Sum in a Sorted and Rotated Array
Balancing Consonants and Vowels Ratio
Implement Pow
Subarrays With At Most K Distinct Integers
K Closest Points to Origin
Longest Bounded-Difference Subarray
Divisible by 13
Lexicographically Largest String After K Deletions
Group Balls by Sequence
Count Unique Vowel Strings
Count Numbers Containing Specific Digits
ASCII Range Sum
2D Difference Array
Difference Check
Farthest Smaller Right
Maximize median after doing k addition operation
Maximize the minimum difference between k elements
Search in fully rotated sorted 2D matrix
Rotate Array
Geek and the equation
Game of Function
Geek and the equation
Count Linked List Nodes
Count Leaves in Binary Tree
Check If Circular Linked List
Implement Stack using Linked List
Implement Queue using Linked List
Implement Queue using array
Binary Search
Implement strstr
Minimum element in BST
Anagram of String
Is Linked List Length Even?
Identical Linked Lists
Find n/k th node in Linked list
Maximum in Struct Array
Queue Reversal
Triplet Family
longest substring containing '1'
Power of 2
Reverse array in groups
Binary Array Sorting
Check if strings are rotations of each other or not
Reverse a String
Check if two arrays are equal or not
Print first n Fibonacci Numbers
Maximize sum(arr[i]*i) of an Array
Find the closest number
Type of array
Alternative Sorting
Remove Consecutive Characters
Sort in specific order
Immediate Smaller Element
Convert array into Zig-Zag fashion
Repeated Character
Elements in the Range
Last index of One
Print an array in Pendulum Arrangement
Game with nos
First element to occur k times
Exceptionally odd
Ishaan Loves Chocolates
Find position of set bit
Find the fine
Binary number to decimal number
Repetitive Addition Of Digits
Difference Sum
Find the ODDs
Order of Frequency
Lower Upper ASCII
All Primes
The Increment
Minimum Cost of Gas
Linked List Group Reverse
Reorder List
Binary Tree to DLL
Clone List with Next and Random
Wildcard Pattern Matching
Max rectangle
Subtraction in Linked List
LRU Cache
AVL Tree Insertion
Partition array to K subsets
Maximum subset XOR
Merge two BST 's
Alien Dictionary
Smallest range in K lists
AVL Tree Deletion
Nodes at given distance in binary tree
Fixing Two nodes of a BST
Maximum Path Sum between 2 Special Nodes
Number of Turns in Binary Tree
String Permutations
Trapping Rain Water
Max Circular Subarray Sum
Merge Without Extra Space
Smallest window containing all characters
Histogram Max Rectangular Area
Maximum of minimum for every window size
Find median in a stream
Solve the Sudoku
Strongly connected component (Tarjans's Algo)
Allocate minimum number of pages
Minimum Cost Path
Word Ladder I
Median of 2 Sorted Arrays of Different Sizes
Stock Buy and Sell – Multiple Transaction Allowed
Burning Tree
Merge Without Extra Space
Next Smallest Palindrome
Count Pairs in an Array
The Painter's Partition Problem-II
Palindrome SubStrings
Form a palindrome
Distinct palindromic substrings
Ugly Numbers
Count Smaller elements
Largest rectangle of 1s with swapping of columns allowed
Longest Prefix Suffix
Number of distinct subsequences
Wildcard string matching
Circle of strings
Longest repeating and non-overlapping substring
Sum-string
Print all LCS sequences
Sub-arrays with equal number of occurences
Edit Distance
Minimum Points To Reach Destination
Doctor Strange
Minimum sum partition
Number Formation
Palindromic Partitioning
Next Happy Number
Stock Buy and Sell – Max K Transactions Allowed
Check Tree Traversal
Matrix Chain Multiplication
Strictly Increasing Array
Bit Difference
Median in a row-wise sorted Matrix
The Palindrome Pattern
Nth Natural Number
Kill Captain America
Corona Vaccine
Return two prime numbers
Generalised Fibonacci numbers
Boolean Parenthesization
Longest valid Parentheses
Longest Zig-Zag Sub Sequence
Bike Racing
Possible Paths in a Tree
Word Break - Part 2
N-Queen Problem
Brackets in Matrix Chain Multiplication
nCr mod M | Part 1
Convex Hull
Phone directory
Rohan's Love for Matrix
Queries on a Matrix
Adventure in a Maze
Closest Palindrome
Articulation Point - II
Optimal binary search tree
Assignment Problem
Longest Path in a matrix
Word Wrap
Maximum sum Rectangle
Find the Maximum Flow
Secret Cipher
132 Geeky Buildings
Corona Vaccine
Shortest Range In BST
Elixir of Life
Find all possible palindromic partitions of a String
Number of subsets with product less than k
Longest substring to form a Palindrome
Minimum X (xor) A
Find all Critical Connections in the Graph
Word Break (Trie)
Minimum operations to convert array A to B
Sorted Link List to BST
Find duplicate rows in a binary matrix
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
Distribute candies in a binary tree
Shortest Unique prefix for every word
Split Array Largest Sum
Find number of closed islands
Scrambled String
Shortest Path by Removing K walls
Count the number of subarrays
Find the String
Maximum Number of Toys
Articulation Point - I
Kth Smallest Number in Multiplication Table
Stock Buy and Sell – Max 2 Transactions Allowed
Min Chars to Add for Palindrome
Concatenate Equal to Target
Largest rectangular sub-matrix whose sum is 0
Minimum time to fulfil all orders
Geek in a Maze
Vertex Cover
Check if all levels of two trees are anagrams or not
Maximum Connected group
Aggressive Cows
Expression Add Operators
Burst Balloons
Minimize Max Distance to Gas Station
LFU cache
Count Reverse Pairs
Candy
Account Merge
Better String
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
Min Time
Game Of Subsets
Geekina Hate 1s
Making A Large Island
Meeting Rooms III
Minimum Weight Cycle
Count the Coprimes
Longest Periodic Proper Prefix
Maximum Non-Overlapping Odd Palindrome Sum
Sum of Mode
Reverse an Array
1s Complement
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 !
✕