Tutorials
Courses
Go Premium
Data Structure
Java
Python
HTML
Interview Preparation
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
S
sachinkumar04
Current POTD Streak
STREAK
120
/1465
days
Longest streak/Global longest streak
Institution
Vellore Institute of Technology (VIT University)
21 Rank
Institute Rank
Language Used
C++, Java
Coding Score
2416
Problem Solved
652
Contest Rating
__
Campus Mantri
gokul_nandakumar
294 points
Contributor
294 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
144 submissions in current year
Current
2024
2023
2022
2021
2020
January
February
March
April
May
June
July
August
SCHOOL (0)
BASIC (16)
EASY (176)
MEDIUM (385)
HARD (75)
Reverse alternate nodes in Link List
Sort a linked list of 0s, 1s and 2s
Insert in Sorted Circular Linked List
QuickSort on Doubly Linked List
Count BST nodes that lie in a given range
Quick Sort
Heap Sort
Diagonal Tree Traversal
Directed Graph Cycle
Undirected Graph Cycle
Absolute List Sorting
Two Stacks in an Array
Topological sort
Merge K sorted linked lists
Find the number of islands
Find kth element of spiral matrix
Get Min from Stack
Gas Station
Generate IP Addresses
Kth smallest element in a Matrix
Is Binary Tree Heap
Dijkstra Algorithm
Largest BST
Count Palindromic Subsequences
Multiply two strings
Bipartite Graph
Closest in BST
BST with Dead End
Pots of Gold Game
Longest Palindrome in Linked List
Bridge edge in a graph
Find triplets with zero sum
Duplicate Subtree
k-th Smallest in BST
Find Common Nodes in two BSTs
Polynomial Addition
Delete nodes greater than k
Union of Two Linked Lists
Euler circuit and Path
Binary Tree to CDLL
Root to Leaf Paths
Complete Binary Tree
Counting elements in two arrays
K Sum Paths
Foldable Binary Tree
Leftmost and rightmost nodes of binary tree
Predecessor and Successor
Normal BST to Balanced BST
Sum of nodes on the longest path
Kth Ancestor in a Tree
Maximum sum of Non-adjacent nodes
Mother Vertex
Ceil in BST
Smallest Positive Missing
Power Of Numbers
Wave Array
Rearrange Array Alternately
Rearrange an array with O(1) extra space
Majority Element
Indexes of Subarray Sum
Triplet Sum in Array
Merge Without Extra Space
Level of Nodes
Make Matrix Beautiful
Boolean Matrix
Distance of nearest cell having 1
Unit Area of largest region of 1's
Longest Consecutive Subsequence
Case-specific Sorting of Strings
Postfix Evaluation
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
M-Coloring Problem
Minimum Jumps
Detect Cycle using DSU
Stickler Thief
Ways to Reach the n'th Stair
Egg Dropping Puzzle
Sum of all substrings of a number
Longest Increasing Subsequence
Longest Common Subsequence
0 - 1 Knapsack Problem
Lucky Numbers
Preorder to BST
X Total Shapes
Zero Sum Subarrays
Implement Trie
Shortest Common Supersequence
Nth Catalan Number
Rotten Oranges
Count subsequences of type a^i, b^j, c^k
Container With Most Water
Top K Frequent in Array
Word Break
Word Search
4 Sum - All Quadruples
Sort 0s, 1s and 2s
Complement
Maximum Sub Array
Pascal Triangle
Maximum Index
Flip Bits
Longest Span in two Binary Arrays
Equivalent Sub-Arrays
Count of Subarrays
Pythagorean Triplet
Smallest number with at least n trailing zeroes in factorial
Count Full Binary Trees
Max Score from Subarray Mins
Add Binary Strings
Sort the given array after applying the given equation
Check if frequencies can be equal
Column name from a given column number
Substrings with K Distinct
Palindrome SubStrings
Form a palindrome
Longest Subarray with Sum K
Number of positive integral solutions
Cutting Binary String
Sum of two large numbers
Shuffle integers
Sum of XOR of all pairs
Magnet Array Problem
Smallest distinct window
Longest Substring with K Uniques
Longest Palindrome in a String
Look and Say Pattern
Arranging the array
String formation from substring
Rod Cutting
K closest elements
Missing element of AP
Maximize the sum of selected numbers from a sorted array to make it empty
LCS of three strings
Longest Palindromic Subsequence
Equalize the Towers
Minimum sum
Build the smallest
Minimize the Heights II
Transform to prime
First and Last Occurrences
Reaching the heights
Minimum Deletions
A difference of values and indexes
Nine Divisors
Find patterns
Permutations of a String
Number following a pattern
Friends Pairing Problem
CamelCase Pattern Matching
Lexicographically smallest string
Subarrays Product Less than K
Unique Number II
Bleak Numbers
Largest prime factor
3 Divisors
Max Sum Increasing Subsequence
Coin Change (Count Ways)
Santa Banta
Mobile numeric keypad
Coin Change (Minimum Coins)
Dice throw
Perfect Sum Problem
Power Of 2 and Subsequences
Firing employees
Shreyansh and his bits
Knapsack with Duplicate Items
nCr
Number of ways
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
Brain Game
Fill up buckets
Matchsticks game
Unique partitions
Fill the Tank
Akku and Binary Numbers
Number of paths
Knight Walk
Stepping Numbers
LCM Triplet
Fact Digit Sum
Jumping Numbers
A Game of LCM
Game with String
Count even length
Grouping Of Numbers
Find the Safe Position
Smith Number
Missing number in matrix
Smaller on Left
Geek and knots
Filling Bucket
How Many X's?
Matrix Exponentiation
Longest Repeating Subsequence
Composite and Prime
Finding Profession
Decode the string
Preorder Traversal and BST
Total Decoding Messages
Stream First Non-repeating
Maximum Sub-String after at most K changes
2D Hopscotch
Print leaf nodes from preorder traversal of BST
Longest Perfect Piece
Geek and Strings
The Smurfs
Satisfy the equation
Transitive closure of a Graph
Two odd Occuring
Find all distinct subset (or subsequence) sums
Queries on a Matrix
Express as sum of power of natural numbers
Find the string in grid
Shortest Uncommon Subsequence
Help a Thief!!!
Count the paths
Floyd Warshall
Flood fill Algorithm
Shortest Source to Destination Path
Base Equivalence
Police and Thieves
Geek and Number String
Save Your Life
Hamiltonian Path
Jump Game
Subset Sum Problem
Search Pattern (Rabin-Karp Algorithm)
Bellman-Ford
Coin Piles
Substrings of length k with k-1 distinct elements
Maximum XOR of two numbers in an array
Number of Provinces
Prefix match with other strings
Binary Matrix with at most K 1s
Maximum sum leaf to root path
Single valued subtree
BST to max heap
BST to greater sum tree
Find rectangle with corners as 1
Flatten binary tree to linked list
IPL 2021 - Match Day 2
Unique Number III
Clone an Undirected Graph
Min Cost Climbing Stairs
Remove and Reverse
Longest Possible Route in a Matrix with Hurdles
Find k-th smallest element in given n ranges
Even Swap
Reverse a Stack
K-th Largest Sum Contiguous Subarray
Enemy
Max Equal sum of 3 Stacks
Exactly one swap
Levels Of Game
Smallest sum contiguous subarray
Array Removals
Minimum Cost to cut a board into squares
Stack Permutations
Largest subtree sum in a tree
Wine Buying and Selling
Replace every element with the least greater element on its right
Next element with greater frequency
Minimum Swaps
Construct Binary Tree from String with bracket representation
Check if all levels of two trees are anagrams or not
LCS
Number of Distinct Islands
Shortest Distance in a Binary Maze
Number Of Enclaves
Eventual Safe States
Alex Travelling
Number Of Islands
Merging Details
Number of Ways to Arrive at Destination
Shortest path in Directed Acyclic Graph
Sum of Beauty of All Substrings
Koko Eating Bananas
Longest subarray with Atmost two distinct integers
Sum of subarray minimum
Asteroid Collision
Aggressive Cows
Smallest Divisor
Task Scheduler
Hands of Straights
Lemonade Change
Maximum Sum Combination
Stickler Thief II
Longest String Chain
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
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
Paint N Houses
Max Sum without Adjacents
Intersection Point in Y Shaped Linked Lists
BST Downward Traversal
Count number of free cell
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
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
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
Minimum cost to connect all houses in a city
Search in an almost Sorted Array
Longest Subarray with Majority Greater than K
Subarrays With At Most K Distinct Integers
K Closest Points to Origin
Longest Bounded-Difference Subarray
Lexicographically Largest String After K Deletions
Group Balls by Sequence
Linked List Group Reverse
Reorder List
Binary Tree to DLL
AVL Tree Insertion
Partition array to k subsets
Alien Dictionary
Smallest range in K lists
AVL Tree Deletion
Nodes at given distance in binary tree
Number of Turns in Binary Tree
String Permutations
Histogram Max Rectangular Area
Max of min for every window size
Find median in a stream
Solve the Sudoku
Burning Tree
Next Smallest Palindrome
Count Smaller elements
Number of distinct subsequences
Sum-string
Edit Distance
Minimum sum partition
Number Formation
Palindromic Partitioning
Next Happy Number
Stock Buy and Sell – Max K Transactions Allowed
Matrix Chain Multiplication
Median in a row-wise sorted Matrix
Boolean Parenthesization
Longest valid Parentheses
Word Break - 2
Brackets in Matrix Chain Multiplication
Phone directory
Articulation Point - II
Assignment Problem
Minimum X (xor) A
Count occurrences of a given word in a 2-d array
Reverse a sublist of a linked list
Split Array Largest Sum
Find number of closed islands
Scrambled String
Shortest Path by Removing K walls
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
Minimum time to fulfil all orders
Expression Add Operators
MaxSkill
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
Making A Large Island
Meeting Rooms III
Minimum Weight Cycle
Pairwise swap elements of a linked list
Delete nodes having greater value on right
Remove duplicates from an unsorted linked list
Reverse a Doubly Linked List
Right View of Binary Tree
K distance from root
Height of Binary Tree
Balanced Tree Check
Kth from End of Linked List
Left View of Binary Tree
Intersection Sorted Linked Lists
Find Transition Point
Remove Duplicates from a Sorted Linked List
Level Order in spiral form
DFS of Graph
Insert a node in a BST
BFS of graph
Identical Trees
Lowest Common Ancestor in a BST
Binary Tree to BST
Unique rows in boolean matrix
Third largest element
Josephus problem
Delete in a Singly Linked List
Kth largest element in BST
Minimum distance in an Array
Array Duplicates
Inorder Successor in BST
Insert in a Sorted List
Sum of leaf nodes in BST
Symmetric Tree
Next Right Node
Find length of Loop
Median of BST
Leaf under budget
Queue Reversal
Closest Neighbour in BST
Brothers From Different Roots
Delete Mid of a Stack
Predict the Column
Frequency in Queue
Get min at pop
Frequency Game
First Set Bit
Check K-th Bit
Power of 2
Frequencies in a Limited Array
Equilibrium Point
Array Leaders
Print adjacency list
Sum of upper and lower triangles
Print Matrix in snake Pattern
Transpose of Matrix
Matrix Boundary Traversal
String Rotated by 2 Places
Strings Rotations of Each Other
Isomorphic Strings
Non Repeating Character
Parenthesis Checker
Minimum Cost of ropes
Union-Find
Count number of hops
Missing in Array
Roman Number to Integer
Adding Ones
Sum of elements between k1'th and k2'th smallest elements
Move All Zeroes to End
Min sum formed by digits
Chocolate Distribution Problem
Count pairs Sum in matrices
Bitonic Point
Alternate Positive Negative
Rotate Bits
Number of occurrence
Reversing the equation
Convert an array to reduced form
Substrings with same first and last characters
Find the closest pair from two arrays
Palindrome String
Fitting The Array
Balanced string
Is Binary Number Multiple of 3
Minimum Operations
Adding Array Elements
Number of 1 Bits
Nth Fibonacci Number
Change Bits
Copy Set Bits in Range
Shortest path from 1 to n
Sum 1 to n Divisors
The Bit Game
Reach the Nth point
Minimum number of Coins
Number Of Open Doors
Break a number
Perfect Numbers
Smallest number with sum of digits as N and divisible by 10^N
Largest number possible
Form a number divisible by 3 using array digits
Least Prime Factor
Sum of First N Natural Numbers
Tom and Jerry
Arithmetic Number
Surround the 1's
Help Ishaan
Trace Path
Inorder Traversal and BST
Sequence Fun
Letters Collection
Print Pattern
Primes sum
Print the pattern
Chicks in a Zoo
Maximum Sum LCM
Check if it is possible to convert one string into another with given constraints
Minimum Exchange
Earthquake and the Paint Shop
Sum of dependencies in a graph
Count all possible paths from top left to bottom right
Ball coloring
Modified Numbers and Queries
Sum of k smallest elements in BST
Print Diagonally
Maximum number of 2X2 squares
License Key Formatting
Find all possible paths from top to bottom
Smallest Subset with Greater Sum
Minimum Sum of Absolute Differences of Pairs
Move Last Element to Front of a Linked List
Find pairs with given sum in doubly linked list
Same characters
Maximum Depth Of Binary Tree
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
Geek & Geekina Purchasing Ice Cream
Toggle
Last cell in a Matrix
Jump over Array - 1
Balloon Everywhere
String Operations
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
Make Palindrome
Binary Modulo
Total Cuts
Bit Magic
Array Operations
Dominant Pairs
Total Traversal Time
Unique Number of Occurrences
Maximize partitions in a String
Find Only Repetitive Element from 1 to n-1
Unique Number I
Replace all 0's with 5
First Occurence
Sum Except First and Last
Search a node in BST
Minimum element in BST
Binary String
Reverse a String
First n Fibonacci
Immediate Smaller Element
Repeated Character
Elements in the Range
Game with nos
One odd Occuring
Ishaan Loves Chocolates
House Robber
Max Min
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 !