Tutorials
Courses
Go Premium
Data Structure
Java
Python
HTML
Interview Preparation
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
skelaf
Current POTD Streak
STREAK
548
/1467
days
Longest streak/Global longest streak
Institution
Ramkrishna Mahato Government Engineering College
5 Rank
Institute Rank
Organization
TATA CONSULTANCY SERVICE (TCS)
Language Used
Java, C++, Javascript, Python, C
Coding Score
2802
Problem Solved
838
Contest Rating
__
Apply for Campus Mantri
143 points
Contributor
143 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
77 submissions in current year
Current
2024
2023
2022
2021
January
February
March
April
May
June
July
August
SCHOOL (2)
BASIC (47)
EASY (270)
MEDIUM (439)
HARD (80)
Reverse alternate nodes in Link List
Sort a linked list of 0s, 1s and 2s
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
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
Delete a node from BST
Directed Graph Cycle
Undirected Graph Cycle
LCA in Binary Tree
Absolute List Sorting
Two Stacks in an Array
Max sum path in two arrays
Largest subarray with 0 sum
Topological sort
Vertical Tree Traversal
Find kth element of spiral matrix
Max sum in the configuration
Serialize and deserialize a binary tree
Linked List to Binary Tree
Check if subtree
Kth element in Matrix
Validate an IP Address
Remove loop in Linked List
Dijkstra Algorithm
Minimum Spanning Tree
Additive sequence
Sorted subsequence of size 3
Multiply two strings
Implement Atoi
Palindrome Linked List
Print matrix in diagonal pattern
Closest in BST
BST with Dead End
Find triplets with zero sum
Duplicate Subtree
Top View of Binary Tree
Find Common Nodes in two BSTs
Union of Two Linked Lists
Euler Circuit in an Undirected Graph
Euler circuit and Path
Binary Tree to CDLL
Mountain Subarray Problem
Pair Sum in BST
Root to Leaf Paths
Counting elements in two arrays
Linked List that is Sorted Alternatingly
K Sum Paths
Leftmost and rightmost nodes of binary tree
Arrange Consonants and Vowels
Count the nodes at distance K from leaf
Vertical sum
Isomorphic Trees
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
Kth Ancestor in a Tree
ZigZag Tree Traversal
Mother Vertex
Gray to Binary equivalent
Smallest Positive Missing
Power Of Numbers
Maximum occured integer
Rearrange Array Alternately
Rearrange an array with O(1) extra space
Maximum Index
Stock buy and sell
Rotate Array
Kadane's Algorithm
Majority Element
Count Inversions
Two Repeated Elements
Smallest Positive missing number
Union of 2 Sorted with Duplicates
Indexes of Subarray Sum
Triplet Sum in Array
Merge Without Extra Space
Level of Nodes
Make Matrix Beautiful
Boolean Matrix
Spirally traversing a matrix
Determinant of a Matrix
Subarray with 0 sum
Longest Consecutive Subsequence
Case-specific Sorting of Strings
K Sized Subarray Maximum
Activity Selection
Fractional Knapsack
Job Sequencing Problem
Minimum Platforms
Combination Sum
Detect Cycle using DSU
Stickler Thief
Optimal Strategy For A Game
Sum of all substrings of a number
Longest Increasing Subsequence
Longest Common Subsequence
Lucky Numbers
Zero Sum Subarrays
Kth Smallest
Implement Trie
Shortest Common Supersequence
Nth Catalan Number
Container With Most Water
Convert Integer to English Word
Top K Frequent in Array
Closest Three Sum
Word Break
Stock Buy and Sell – Multiple Transaction Allowed
Word Search
4 Sum - All Quadruples
Sort 0s, 1s and 2s
Paths to reach origin
Maximum Sub Array
Pascal Triangle
Maximum Index
Number of subarrays with maximum values in given range
Flip Bits
Sum of Subarrays
Top k numbers in a stream
Consecutive 1's not allowed
Count of Subarrays
Pythagorean Triplet
Painting the Fence
Search in Rotated Sorted Array
Sum of bit differences
Count Full Binary Trees
Max Score from Subarray Mins
Form the Largest Number
Add Binary Strings
Maximum Product Subarray
Longest subarray with sum divisible by K
Check if a string is repetition of its substring of k-length
Row with max 1s
Swapping pairs make sum equal
Check if frequencies can be equal
Column name from a given column number
Substrings with K Distinct
Palindrome SubStrings
Nuts and Bolts Problem
Cutting Binary String
Max Sum without Adjacents
Factorials of large numbers
Shuffle integers
Find the N-th character
k largest elements
Sum of XOR of all pairs
Longest substring with distinct characters
Longest Substring with K Uniques
Longest Palindrome in a String
Arranging the array
Triplets with Smaller Sum
Rod Cutting
K closest elements
Maximize the sum of selected numbers from a sorted array to make it empty
LCS of three strings
Longest Palindromic Subsequence
Largest Sum Subarray of Size at least K
Equalize the Towers
Minimum sum
Minimize the Heights II
Transform to prime
First and Last Occurrences
Minimum Deletions
A difference of values and indexes
Print N-bit binary numbers having more 1s than 0s
Nine Divisors
Find patterns
Permutations of a String
Number following a pattern
CamelCase Pattern Matching
Lexicographically smallest string
Sum of Products
Subarrays Product Less than K
Unique Number II
Bleak Numbers
Modular Exponentiation for large numbers
Game of XOR
Largest prime factor
Maximum Tip Calculator
Modified Game of Nim
Maximize dot product
Max Sum Increasing Subsequence
Minimum cost to fill given weight in a bag
Coin Change (Count Ways)
Sequence of Sequence
Santa Banta
String Subsequence
Mobile numeric keypad
Gold Mine Problem
Dice throw
Perfect Sum Problem
Trail of ones
Shreyansh and his bits
K-Palindrome
Longest subsequence-1
Power Set
Minimum Cost To Make Two Strings Identical
Knapsack with Duplicate Items
nCr
Geek and its Game of Coins
Minimum steps to destination
Partition Equal Subset Sum
Longest Bitonic subsequence
Count possible ways to construct buildings
Count digit groupings of a number
Array Pair Sum Divisibility Problem
Magic Triplets
Fill up buckets
Matchsticks game
Subset Sums
Unique partitions
Prime Pair with Target Sum
Akku and Binary Numbers
Number of paths
Stepping Numbers
Number of paths in a matrix with k coins
LCM Triplet
Jumping Numbers
A Game of LCM
Game with String
Count even length
Grouping Of Numbers
Find the Safe Position
Smith Number
Next Permutation
Missing number in matrix
Maximum sum of hour glass
Filling Bucket
How Many X's?
Power of k in factorial of n
Exit Point in a Matrix
Longest Repeating Subsequence
Rotate Each Row of Matrix K Times
Decode the string
Total Decoding Messages
Stream First Non-repeating
Maximum Sub-String after at most K changes
Check If two Line segments Intersect
Print leaf nodes from preorder traversal of BST
Number of Rectangles in a Circle
Longest Perfect Piece
Integral Points Inside Triangle
Geek and Strings
The Smurfs
Satisfy the equation
Transitive closure of a Graph
Replace O's with X's
Two numbers with odd occurrences
Rohan's Love for Matrix
Express as sum of power of natural numbers
Traverse All Edges And Vertices
Find the string in grid
Count the paths
Floyd Warshall
Techfest and the Queue
Largest subsquare surrounded by X
Shortest Source to Destination Path
Divisibility tree
Base Equivalence
Maximum sum Rectangle
Reverse Spiral Form of Matrix
Police and Thieves
Save Your Life
Hamiltonian Path
Search Pattern (Rabin-Karp Algorithm)
All Palindromic Partitions
Subarrays with sum K
Coin Piles
Remove K Digits
Substrings of length k with k-1 distinct elements
Maximum XOR of two numbers in an array
Construct list using given q XOR queries
Prefix match with other strings
Find duplicate rows in a binary matrix
Single valued subtree
Maximum sum of elements not part of LIS
Find rectangle with corners as 1
Paths from root with a specified sum
Shortest Prime Path
Insertion Sort for Singly Linked List
Minimize the Heights I
Flatten binary tree to linked list
Anti Diagonal Traversal of Matrix
Unique Number III
All Unique Permutations of an array
Course Schedule
Clone an Undirected Graph
Remove and Reverse
Find k-th smallest element in given n ranges
Even Swap
Reverse a Stack
Maximum Meetings in One Room
Enemy
Max Equal sum of 3 Stacks
Buy Maximum Stocks
Exactly one swap
Array Removals
Find shortest safe route in a matrix
Largest subtree sum in a tree
Wine Buying and Selling
Graph is Tree or Not
Replace every element with the least greater element on its right
Next element with greater frequency
Construct Binary Tree from String with bracket representation
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
Path With Minimum Effort
Shortest path in Directed Acyclic Graph
Majority Element - More Than n/3
Sum of Beauty of All Substrings
Koko Eating Bananas
Sum of subarray minimum
Asteroid Collision
Aggressive Cows
Smallest Divisor
Combination Sum II
Task Scheduler
Hands of Straights
Minimum Absolute Difference In BST
Lemonade Change
Maximum Sum Combination
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
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
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
Water the plants
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
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
Powerful Integer
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
Set Matrix Zeros
Last Moment Before All Ants Fall Out
Longest Subarray with Majority Greater than K
Balancing Consonants and Vowels Ratio
Subarrays With At Most K Distinct Integers
Divisible by 13
Lexicographically Largest String After K Deletions
Group Balls by Sequence
Count Unique Vowel Strings
ASCII Range Sum
2D Difference Array
Difference Check
Valid String
Class Test
Reverse a linked list
Pairwise swap elements of a linked list
Delete nodes having greater value on right
Remove duplicates from an unsorted linked list
Delete in a Doubly Linked List
Reverse a Doubly Linked List
Insertion Sort
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
Check If Circular Linked List
Left View of Binary Tree
Delete Middle of Linked List
Decimal Equivalent of Binary Linked List
Intersection Sorted Linked Lists
Find Transition Point
Queue using two Stacks
Remove Duplicates from a Sorted Linked List
Level Order in spiral form
Reverse Level Order Traversal
DFS of Graph
Stack using Linked List
Insert a node in a BST
BFS of graph
Identical Trees
Square Root
Nodes without a Sibling
Lowest Common Ancestor in a BST
Binary Search
Run Length Encoding
Print all possible strings
Remove duplicates in array
Binary Tree to BST
Unique rows in boolean matrix
Toeplitz matrix
Remove every k'th node
Leaves at Same Level or Not
Third largest element
Convert to Roman No
You and your books
Generate Grey Code Sequences
Delete in a Singly Linked List
Kth largest element in BST
Minimum distance in an Array
Array Duplicates
Three way partitioning
String Modification
Level order traversal
Inorder Successor in BST
Index of an Extra Element
Insert in a Sorted List
Sum of leaf nodes in BST
More than n/k Occurrences
Symmetric Tree
Delete Alternate Nodes
Find the Sum of Last N nodes of the Linked List
Count Pairs whose sum is equal to X
Median of BST
Leaf under budget
Queue Reversal
Reverse first K of a Queue
Closest Neighbour in BST
Brothers From Different Roots
Delete Mid of a Stack
Start Coding - Java
Precise Format - Java
Swap the array elements
Predict the Column
Xoring and Clearing
Reverse an Array
Frequency in Queue
Operations on PriorityQueue
Frequency Game
Max and Second Max
First Set Bit
Rightmost different bit
K-th Bit is Set or Not
Power of 2
Wave Array
Frequencies in a Limited Array
Equilibrium Point
Array Leaders
Floor in a Sorted Array
Print adjacency list
Sum of upper and lower triangles
Print Matrix in snake Pattern
Transpose of Matrix
Matrix Boundary Traversal
Anagram
Winner of an election
String Rotated by 2 Places
Strings Rotations of Each Other
Isomorphic Strings
Reverse Words
Panagram Checking
Non Repeating Character
K largest elements
Minimum Cost of ropes
Reach a given score
Count ways to N'th Stair
Count number of hops
First Repeating Element
Union of Arrays with Duplicates
Check Equal Arrays
Missing in Array
Product array puzzle
Needle in a Haystack
Roman Number to Integer
Compare Version Number
Search an element in sorted and rotated array
Intersection of Arrays with Distinct
Max Value Permutation
Count the elements
Find the closest number
Adding Ones
Common in 3 Sorted Arrays
Move All Zeroes to End
String Duplicates Removal
Minimize the sum of product
Chocolate Distribution Problem
Count pairs Sum in matrices
Find Pair Given Difference
Permutations in array
Swap and Maximize
Bitonic Point
Left most and right most index
Alternate Positive Negative
Remove Consecutive Characters
Palindrome Sentence
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
Does array represent Heap
Convert an array to reduced form
Find missing in second array
String's Count
Longest Common Prefix of Strings
First Repeated Character
Two sum -Pairs with 0 Sum
Play With OR
At Least K Occurrences
Find the closest pair from two arrays
Palindrome String
Total count
Search array with adjacent diff at most k
Fitting The Array
Print Bracket Number
Odd Even Problem
Binary representation of next number
Is Binary Number Multiple of 3
Padovan Sequence
Extract the Number from the String
Minimum Operations
Divisibility by 8
Number of 1 Bits
Find the Highest number
Armstrong Numbers
Reverse Bits
Max Sum Subarray of size K
Nth Fibonacci Number
Swap two nibbles in a byte
Copy Set Bits in Range
Maximum Sum Problem
Party of Couples
Shortest path from 1 to n
Sum 1 to n Divisors
Count numbers containing 4
The Bit Game
Reach the Nth point
Minimum number of Coins
Number Of Open Doors
Break a number
Perfect Numbers
Largest number possible
Recamans sequence
The Palindrome Pattern
Compare two fractions
Trailing zeroes in factorial
Form a number divisible by 3 using array digits
Least Prime Factor
Sum of First N Natural Numbers
Recursive sequence
Juggler Sequence
Tom and Jerry
Summed Matrix
Maximum Diamonds
Arithmetic Number
Row with Minimum 1s
Surround the 1's
Coverage of all Zeros in a Binary Matrix
Help Ishaan
Trace Path
Inorder Traversal and BST
Sequence Fun
Letters Collection
Print Pattern
Primes sum
Chicks in a Zoo
Check if it is possible to convert one string into another with given constraints
Earthquake and the Paint Shop
Array to BST
Sum of dependencies in a graph
Count all possible paths from top left to bottom right
Modified Numbers and Queries
Print Diagonally
Find maximum volume of a cuboid
Minimum steps to make product equal to one
Maximum number of 2X2 squares
Count the Substrings
The Ultimate Duel
The Final Task
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
Fibonacci series up to Nth term
Stock Buy and Sell – Max one Transaction Allowed
Maximum Depth Of Binary Tree
Divisor Game
Minimize the sum
Last modified ball
Transform to Sum Tree
Parent of Max GCD Siblings in a Binary Tree
Find the first node of loop in linked list
Maximum Weight Node
Type it!
Min operations
Last cell in a Matrix
Balloon Everywhere
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
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
Ticket Counter
Unique Number of Occurrences
Linked List Group Reverse
Reorder List
Min distance between two given nodes of a Binary Tree
Max rectangle
Subtraction in Linked List
Distinct occurrences
AVL Tree Insertion
AVL Tree Deletion
Merge Sort on Doubly Linked List
Nodes at given distance in binary tree
String Permutations
Trapping Rain Water
Max Circular Subarray Sum
Solve the Sudoku
Median of 2 Sorted Arrays of Different Sizes
Burning Tree
Merge Without Extra Space
Next Smallest Palindrome
Count Pairs in an Array
Search Pattern (KMP-Algorithm)
Number of distinct subsequences
Wildcard string matching
Longest repeating and non-overlapping substring
Sum-string
Edit Distance
Minimum Points To Reach Destination
Minimum sum partition
Number Formation
Palindromic Partitioning
Next Happy Number
Matrix Chain Multiplication
Strictly Increasing Array
Median in a row-wise sorted Matrix
Generalised Fibonacci numbers
Boolean Parenthesization
Possible Paths in a Tree
Brackets in Matrix Chain Multiplication
Phone directory
Assignment Problem
Huffman Encoding
Find all Critical Connections in the Graph
Distribute candies in a binary tree
Split Array Largest Sum
Find number of closed islands
Scrambled String
Find the String
Maximum Number of Toys
Stock Buy and Sell – Max 2 Transactions Allowed
Min Chars to Add for Palindrome
Largest rectangular sub-matrix whose sum is 0
Vertex Cover
Expression Add Operators
MaxSkill
Minimize Max Distance to Gas Station
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
Count the Coprimes
Count Linked List Nodes
Implement stack using array
Queue Using Array
Replace all 0's with 5
First Occurence
Search a node in BST
Palindromic Array
Peak element
Minimum element in BST
Anagram of String
Is Linked List Length Even?
Identical Linked Lists
Insert in Middle of Linked List
Sum of diagonals
Decimal to binary
Reverse array in groups
Binary Array Sorting
Binary String
Reverse a String
First n Fibonacci
Binary Array Sorting
At least two greater elements
Value equal to index value
Uncommon characters
Find element at a given Index
Largest Element in Array
Rotate Array by One
Array Subset
Count of smaller elements
Min and Max in Array
Addition of Two Numbers
Odd or Even
Java Hello World
Mean of an Array
Sum Of Digits
Sum of Digit is Palindrome or not
Java 1-d and 2-d Array
The dice problem
G.F Series
Matching Pair
Swap two numbers
The Lazy Caterer's Problem
Sum of product of x and y with floor(n/x) = y
nPr
Java Iterator
Sorted matrix
Max Min
Reverse an Array
Arrays (Sum of array)
close
S
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 !