Tutorials
Courses
Go Premium
Data Structure
Java
Python
HTML
Interview Preparation
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
U
infoutkarsh
Current POTD Streak
STREAK
224
/1477
days
Longest streak/Global longest streak
Institution
AKTU
1 Rank
Institute Rank
Language Used
C++, Java, Python, Javascript
Coding Score
2544
Problem Solved
710
Contest Rating
-
Apply for Campus Mantri
121 points
Contributor
121 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
206 submissions in current year
Current
2024
2023
2022
2021
January
February
March
April
May
June
July
August
SCHOOL (0)
BASIC (8)
EASY (225)
MEDIUM (404)
HARD (73)
Reverse a Linked List in groups of given size
Rotate a Linked List
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
Insert in Sorted Circular Linked List
Quick Sort
Construct Binary Tree from Inorder and Postorder
Bottom View of Binary Tree
Intersection Point in Y Shaped Linked Lists
Diameter of a Binary Tree
Heap Sort
Merge two sorted linked lists
Sum Tree
Construct Binary Tree from Parent Array
Tree Boundary Traversal
Directed Graph Cycle
Undirected Graph Cycle
Absolute List Sorting
Max sum path in two arrays
The Celebrity Problem
Topological sort
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
Kth element in Matrix
Is Binary Tree Heap
Validate an IP Address
Dijkstra Algorithm
Largest BST
Sorted subsequence of size 3
Multiply two strings
Implement Atoi
Maximum Difference
Palindrome Linked List
Rat in a Maze Problem - I
Find the Closest Element in BST
BST with Dead End
Merge two BST 's
Root to leaf paths sum
Bridge edge in a graph
Find triplets with zero sum
k-th Smallest in BST
Union of Two Linked Lists
Merge Sort on Doubly Linked List
Ancestors in Binary Tree
Pair Sum in BST
Root to Leaf Paths
Populate Inorder Successor for all nodes
XOR Linked List
Counting elements in two arrays
K Sum Paths
Leftmost and rightmost nodes of binary tree
Construct Tree from Inorder & Preorder
Arrange Consonants and Vowels
Vertical sum
Insert in Sorted way in a Sorted DLL
Check if Tree is Isomorphic
Maximum path sum from any node
Predecessor and Successor
Deletion and Reverse in Circular Linked List
Duplicate Subtrees
Sum of nodes on the longest path
Kth Ancestor in a Tree
Vertical Width of a Binary Tree
Maximum sum of Non-adjacent nodes
Mother Vertex
Smallest Positive Missing
Power Of Numbers
Maximum occured integer
Rotate and delete
Rearrange Array Alternately
Rearrange an array with O(1) extra space
Rotate Array
Kadane's Algorithm
Count Inversions
Two Repeated Elements
Union of Two Sorted Arrays
Indexes of Subarray Sum
Count the number of possible triangles
Sort by Absolute Difference
Number of pairs
Make Matrix Beautiful
Spirally traversing a matrix
Search in a sorted Matrix
Distance of nearest cell having 1
Subarray range with given sum
Sorting Elements of an Array by Frequency
Longest Consecutive Subsequence
Case-specific Sorting of Strings
Evaluation of Postfix Expression
Stock span problem
Next Greater Element
K Sized Subarray Maximum
Nearly sorted
Activity Selection
Job Sequencing Problem
Minimum Platforms
Largest number in K swaps
Black and White
Minimum Jumps
Stickler Thief
Ways to Reach the n'th Stair
Sum of all substrings of a number
Longest Increasing Subsequence
Longest Common Subsequence
0 - 1 Knapsack Problem
Lucky Numbers
Allocate Minimum Pages
Zero Sum Subarrays
Kth Smallest
Implement Trie
Nth catalan number
Maximize The Cut Segments
Container With Most Water
Print Anagrams Together
Rotate by 90 degree
Closest Three Sum
Stock buy and sell II
Word Search
Paths to reach origin
Missing And Repeating
Complement
Maximum Sub Array
Pascal Triangle
Maximum Index
Flip Bits
Sum of Subarrays
Longest Span in two Binary Arrays
Median of two sorted arrays
Pythagorean Triplet
Search in Rotated Sorted Array
Count the Number of Full Binary Trees
Max Score from Subarray Mins
Form the Largest Number
Alternate Vowel and Consonant String
Add Binary Strings
Maximum Product Subarray
Sort the given array after applying the given equation
Swapping pairs make sum equal
Check if frequencies can be equal
Substrings with K Distinct
Palindrome SubStrings
Form a palindrome
Nuts and Bolts Problem
Longest Subarray with Sum K
Cutting Binary String
Search Pattern (KMP-Algorithm)
Number of occurrence
k largest elements
Find missing in second array
Longest Common Substring
Longest Substring with K Uniques
Longest Palindrome in a String
Look and Say Pattern
K-th element of two Arrays
Arranging the array
Rod Cutting
K closest elements
Missing element of AP
LCS of three strings
Longest Palindromic Subsequence
Equalize the Towers
Minimum sum
Not a subset sum
Build the smallest
Minimize the Heights II
Minimum Deletions
A difference of values and indexes
Nine Divisors
Shop in Candy Store
Permutations of a String
CamelCase Pattern Matching
Sum of Products
Count the subarrays having product less than k
Unique Number II
Modular Exponentiation for large numbers
Largest prime factor
3 Divisors
Maximum Tip Calculator
Minimum number of deletions and insertions
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
Trail of ones
Shreyansh and his bits
Longest subsequence-1
Count ways to N'th Stair(Order does not matter)
nCr
Geek and its Game of Coins
Minimum steps to destination
Partition Equal Subset Sum
Longest Bitonic subsequence
Array Pair Sum Divisibility Problem
Magic Triplets
Matchsticks game
Prime Pair with Target Sum
Akku and Binary Numbers
Nth Natural Number
LCM Triplet
A Game of LCM
Game with String
Count even length
Next Permutation
Missing number in matrix
Maximum sum of hour glass
Power of k in factorial of n
Longest Repeating Subsequence
Longest alternating subsequence
Left Rotate Matrix K times
Decode the string
Total Decoding Messages
First non-repeating character in a stream
Check If two Line segments Intersect
2D Hopscotch
Print leaf nodes from preorder traversal of BST
Number of Rectangles in a Circle
Largest square formed in a matrix
Integral Points Inside Triangle
Transitive closure of a Graph
Replace O's with X's
Express as sum of power of natural numbers
Find the string in grid
Count the paths
Floyd Warshall
Flood fill Algorithm
Shortest Source to Destination Path
Divisibility tree
Police and Thieves
Subset Sum Problem
Search Pattern (Rabin-Karp Algorithm)
Bellman-Ford
Subarrays with sum K
Coin Piles
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
Single valued subtree
Maximum sum of elements not part of LIS
Find rectangle with corners as 1
Remove all occurences of duplicates in a linked list
Minimize the Heights I
Unique Number III
Clone an Undirected Graph
Min Cost Climbing Stairs
Overlapping Intervals
Remove and Reverse
Find k-th smallest element in given n ranges
Even Swap
Reverse a Stack
Maximum product subset of an array
K-th Largest Sum Contiguous Subarray
Find Maximum Equal sum of Three Stacks
Exactly one swap
Largest subtree sum in a tree
Wine Buying and Selling
Next element with greater frequency
Construct Binary Tree from String with bracket representation
Minimum Multiplications to reach End
Eventual Safe States
Alex Travelling
Path With Minimum Effort
Shortest path in Undirected Graph
Shortest path in Directed Acyclic Graph
Majority Element - More Than n/3
Koko Eating Bananas
Longest subarray with Atmost two distinct integers
Sum of subarray minimum
Asteroid Collision
Minimal Cost
Aggressive Cows
Smallest Divisor
Combination Sum II
Task Scheduler
Hands of Straights
Lemonade Change
Maximum Sum Combination
Non-overlapping Intervals
Stickler Thief II
Insert Interval
Longest String Chain
Partitions with Given Difference
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
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
Max Sum without Adjacents
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
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
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
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
Airlines and Railways
Modify Linked List-1
Cyclic Tree
Find Kth permutation
Remove the balls
Fraction pairs with sum 1
Minimum Distance Graph
Minimize the Difference
Matching Characters
Kth Missing Positive Number in a Sorted Array
Count Subarrays with given XOR
Set Matrix Zeroes
Minimum cost to connect all houses in a city
Meeting Rooms
Find All Triplets with Zero Sum
Split array in three equal sum subarrays
Last Moment Before All Ants Fall Out
Search in an almost Sorted Array
Find H-Index
Longest Subarray with Majority Greater than K
Count all triplets with given sum in sorted array
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
Reverse a linked list
Occurence of an integer in a Linked List
Given a linked list of 0s, 1s and 2s, sort it.
linked list of strings forms a palindrome
Delete nodes having greater value on right
Remove duplicates from an unsorted linked list
Delete node in Doubly Linked List
Inorder Traversal
Check for BST
Right View of Binary Tree
K distance from root
Mirror Tree
Height of Binary Tree
Nth node from end of linked list
Middle of a Linked List
Left View of Binary Tree
Delete Middle of Linked List
Remove duplicate element from sorted Linked List
Level Order in spiral form
Reverse Level Order Traversal
DFS of Graph
Insert a node in a BST
BFS of graph
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
Largest subarray of 0's and 1's
Remove duplicates in array
Binary Tree to BST
Unique rows in boolean matrix
Remove every kth node
Multiply two linked lists
You and your books
Delete a Node in Single Linked List
Kth largest element in BST
Count distinct elements in every window
Three way partitioning
Level order traversal
Inorder Successor in BST
Index of an Extra Element
Split Linked List Alternatingly
Symmetric Tree
Delete Alternate Nodes
Find the Sum of Last N nodes of the Linked List
Find length of Loop
Median of BST
Leaf under budget
Linked List Matrix
Queue Reversal
Remove Half Nodes
Closest Neighbour in BST
Delete middle element of a stack
Xoring and Clearing
Reverse an Array
Queue Operations
Frequency Game
Equilibrium Point
Leaders in an array
Roof Top
Print adjacency list
Transpose of Matrix
Rotate by 90 degree
Anagram
Strings Rotations of Each Other
Reverse Words
Non Repeating Character
Parenthesis Checker
Minimum Cost of ropes
N meetings in one room
Union of Arrays with Duplicates
Missing in Array
Product array puzzle
Roman Number to Integer
Sort 0s, 1s and 2s
Maximize Array Value After Rearrangement
Count the elements
Find the closest number
Adding Ones
Split the Array
Sorted and Rotated Minimum
Search in a Row-Column sorted matrix
Move All Zeroes to End
Chocolate Distribution Problem
Count pairs Sum in matrices
Find Pair Given Difference
Pairs with difference k
Swap and Maximize
Bitonic Point
Single Number
Alternate positive and negative numbers
Remaining String
Kth distance
Remove Duplicates
Nearest multiple of 10
Reorganize The Array
Facing the sun
Second Largest
Convert array into Zig-Zag fashion
Two Sum - Pair with Given Sum
K-Pangrams
Reversing the equation
Modify the Array
Convert an array to reduced form
Sum Pair closest to target
Longest Common Prefix of Strings
Longest substring with distinct characters
Substrings with same first and last characters
Segregate 0s and 1s
Tywin's War Strategy
Palindrome String
Total count
Pair with given sum in a sorted array
Print Bracket Number
Balanced string
Odd Even Problem
Binary representation of next number
Is Binary Number Multiple of 3
Padovan Sequence
Number of 1 Bits
Find the Highest number
Armstrong Numbers
Reverse Bits
Nth Fibonacci Number
Swap two nibbles in a byte
Copy Set Bits in Range
Shortest path from 1 to n
Count numbers containing 4
Trail of ones
K-Palindrome
Number Of Open Doors
Break a number
Perfect Numbers
Minimum Cost To Make Two Strings Identical
Largest number possible
Compare two fractions
Least Prime Factor
Reverse Coding
Juggler Sequence
Summed Matrix
Maximum Diamonds
Arithmetic Number
Surround the 1's
Coverage of all Zeros in a Binary Matrix
Exit Point in a Matrix
Trace Path
Maximum Sum LCM
Check if it is possible to convert one string into another with given constraints
Array to BST
Sum of dependencies in a graph
Find maximum volume of a cuboid
Count the Substrings
Sort a k sorted doubly linked list
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
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
Geek & Geekina Purchasing Ice Cream
Toggle
Last cell in a Matrix
Count number of free cell
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
Calculate The Work Done
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
Binary Modulo
Total Cuts
Bit Magic
Array Operations
Dominant Pairs
Total Traversal Time
Antique Collections
Geekina and Log
Cousins in Tree
Strong Students in School
Ticket Counter
Geek's Plants
Happy Friends
Weight Problem
Unique Number of Occurrences
What Mean do you Mean?
Silver and Gold
Mean BST
High Frequency
Eye's Contact
Two Smallests in Every Subarray
Split an array into two equal Sum subarrays
Largest Pair Sum
Two Swaps
Maximize partitions in a String
Count pairs with given sum
Count Pairs whose sum is less than target
Union of Two Sorted Arrays with Distinct Elements
Intersection of Two arrays with Duplicate Elements
Find All Triplets with Zero Sum
Search in a row-wise sorted matrix
Find Only Repetitive Element from 1 to n-1
Reorder List
Binary Tree to DLL
Clone List with Next and Random
LRU Cache
Alien Dictionary
Smallest range in K lists
AVL Tree Deletion
Fixing Two nodes of a BST
String Permutations
Trapping Rain Water
Max Circular Subarray Sum
Merge Without Extra Space
Smallest window in a string containing all the characters of another string
Histogram Max Rectangular Area
Find median in a stream
Solve the Sudoku
Minimum Cost Path
Burning Tree
Next Smallest Palindrome
Count Pairs in an Array
Count Smaller elements
Longest Prefix Suffix
Circle of strings
Sum-string
Sub-arrays with equal number of occurences
Edit Distance
Next Happy Number
Stock Buy and Sell – Max K Transactions Allowed
Matrix Chain Multiplication
The Palindrome Pattern
Boolean Parenthesization
Longest valid Parentheses
N-Queen Problem
Rohan's Love for Matrix
Articulation Point - II
Maximum sum Rectangle
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
Stock Buy and Sell – Max 2 Transactions Allowed
Min Chars to Add for Palindrome
Maximum Connected group
Aggressive Cows
Expression Add Operators
Burst Balloons
Minimize Max Distance to Gas Station
Count Reverse Pairs
Account Merge
Count the Substring
Select Nodes
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
Meeting Rooms III
Minimum Weight Cycle
Count the Coprimes
Count Linked List Nodes
Peak element
Is Linked List Length Even?
Identical Linked Lists
Triplet Family
Reverse a String
Alternative Sorting
Remove character
close
U
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 !