Data Structure
Java
Python
HTML
Interview Preparation
Tutorials
Courses
Tracks
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
ashwin_56
Current POTD Streak
STREAK
412
/1553
days
Longest streak/Global longest streak
Institution
Government Engineering College (GEC) Bharuch
1 Rank
Institute Rank
Language Used
Java, C++, Python
Coding Score
1601
Problem Solved
427
Contest Rating
__
Apply for Campus Mantri
387 submissions in current year
Current
2024
2023
January
February
March
April
May
June
July
August
September
October
November
SCHOOL (0)
BASIC (17)
EASY (107)
MEDIUM (252)
HARD (51)
Count Linked List Nodes
Inorder Traversal
Postorder Traversal
Doubly linked list Insertion at given position
Preorder Traversal
Peak element
Linked List Insertion At End
Is Linked List Length Even?
Triplet Family
Print 1 To N Without Loop
Sorted Array Search
Alternative Sorting
Largest Element in Array
Array Subset
Sum of first n terms
Count Squares
Repetitive Addition Of Digits
Reverse a linked list
Occurence of an integer in a Linked List
Pairwise swap elements of a linked list
Delete in a Doubly Linked List
Reverse a Doubly Linked List
Bubble Sort
Selection Sort
Insertion Sort
Check for BST
Mirror Tree
Height of Binary Tree
Middle of a Linked List
Left View of Binary Tree
Intersection Sorted Linked Lists
Level Order in spiral form
DFS of Graph
BFS of graph
Lowest Common Ancestor in a BST
Binary Search
Largest subarray of 0's and 1's
Remove duplicates in array
Multiply two linked lists
Max distance between same elements
Count distinct elements in every window
Level order traversal
Insert in a Sorted List
Split Linked List Alternatingly
Symmetric Tree
Delete Alternate Nodes
Find the Sum of Last N nodes of the Linked List
Find length of Loop
Linked List Matrix
Queue Reversal
Closest Neighbour in BST
Reverse an Array
Frequencies in a Limited Array
Equilibrium Point
Array Leaders
Floor in a Sorted Array
Roof Top
Rotate by 90 degree
Anagram
Strings Rotations of Each Other
Reverse Words
Non Repeating Character
Parenthesis Checker
Generate Binary Numbers
Minimum Cost of ropes
N meetings in one room
Rotate Deque By K
Union of Arrays with Duplicates
Missing in Array
Product array puzzle
Roman Number to Integer
Sort 0s, 1s and 2s
Find Kth Rotation
Split the Array
Sorted and Rotated Minimum
Search in a Row-Column sorted matrix
Move All Zeroes to End
Count pairs Sum in matrices
Pairs with difference k
Swap and Maximize
Bitonic Point
Single Number
Alternate positive and negative numbers
Kth distance
Palindrome Sentence
Nearest multiple of 10
Reorganize The Array
Facing the sun
Second Largest
Two Sum - Pair with Given Sum
Number of occurrence
Modify the Array
Sum Pair closest to target
Longest substring with distinct characters
Substrings with same first and last characters
Tywin's War Strategy
Palindrome String
Total count
Pair with given sum in a sorted array
Largest number in one swap
Assign Mice Holes
Factorials Less than or Equal to n
Check if a String is Subsequence of Other
Find pairs with given sum in doubly linked list
Sort a k sorted doubly linked list
Print GFG n times
Stock Buy and Sell – Max one Transaction Allowed
Search in Linked List
Remove duplicates from a sorted doubly linked list
Array to Linked List
Introduction to Doubly Linked List
Find the first node of loop in linked list
Two Smallests in Every Subarray
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
Unique Number I
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
Bottom View of Binary Tree
Intersection Point in Y Shaped Linked Lists
Diameter of a Binary Tree
Merge two sorted linked lists
Flattening a Linked List
Tree Boundary Traversal
Directed Graph Cycle
Undirected Graph Cycle
The Celebrity Problem
Largest subarray with 0 sum
Topological sort
Merge K sorted linked lists
Find the number of islands
Get Min from Stack
Serialize and deserialize a binary tree
Gas Station
Kth element in Matrix
Is Binary Tree Heap
Remove loop in Linked List
Dijkstra Algorithm
Multiply two strings
Implement Atoi
Palindrome Linked List
Rat in a Maze
BST with Dead End
Merge two BST 's
Count distinct elements in every window
Root to leaf paths sum
Bridge edge in a graph
Sort a stack
k-th Smallest in BST
Merge Sort for Linked List
Pair Sum in BST
Root to Leaf Paths
XOR Linked List
Counting elements in two arrays
K Sum Paths
Construct Tree from Inorder & Preorder
Insert in Sorted way in a Sorted DLL
Maximum path sum
Predecessor and Successor
Find length of Loop
Deletion and Reverse in Circular Linked List
Median of BST
Sum of nodes on the longest path
ZigZag Tree Traversal
Swap Kth nodes from ends
Maximum Non-Adjacent Nodes Sum
Smallest Positive Missing
Possible Words From Phone Digits
Rotate and delete
Rotate Array
Kadane's Algorithm
Majority Element
Count Inversions
Union of Two Sorted Arrays
Indexes of Subarray Sum
Count the number of possible triangles
Sort by Absolute Difference
Merge Without Extra Space
Make Matrix Beautiful
Spirally traversing a matrix
Search in a sorted Matrix
Subarray range with given sum
Longest Consecutive Subsequence
Case-specific Sorting of Strings
Postfix Evaluation
Stock span problem
Next Greater Element
K Sized Subarray Maximum
Minimum Cost of ropes
Nearly sorted
Activity Selection
Job Sequencing Problem
Minimum Platforms
Largest number in K swaps
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
Allocate Minimum Pages
Implement Trie
Rotten Oranges
Container With Most Water
Print Anagrams Together
Rotate by 90 degree
Top K Frequent in Array
Word Break
Stock Buy and Sell – Multiple Transaction Allowed
Word Search
Sort 0s, 1s and 2s
Missing And Repeating
Pascal Triangle
Sum of Subarrays
Longest Span in two Binary Arrays
Maximize Number of 1's
Count Occurences of Anagrams
Pythagorean Triplet
Search in Rotated Sorted Array
Max Score from Subarray Mins
Form the Largest Number
Add Binary Strings
Maximum Product Subarray
Sort the given array after applying the given equation
Check if frequencies can be equal
Substrings with K Distinct
Palindrome SubStrings
Longest Subarray with Sum K
Count the Reversals
Cutting Binary String
Factorials of large numbers
Search Pattern (KMP-Algorithm)
k largest elements
Smallest distinct window
Longest substring with distinct characters
Longest Substring with K Uniques
Longest Palindrome in a String
Look and Say Pattern
K-th element of two Arrays
K closest elements
Missing element of AP
LCS of three strings
Longest Palindromic Subsequence
Equalize the Towers
Minimum sum
Not a subset sum
Minimize the Heights II
Minimum Deletions
Nine Divisors
Shop in Candy Store
Permutations of a String
Unique Number II
Coin Change (Count Ways)
Mobile numeric keypad
Gold Mine Problem
Coin Change (Minimum Coins)
Dice throw
Trail of ones
nCr
Partition Equal Subset Sum
LCM Triplet
Game with String
Next Permutation
Power of k in factorial of n
Decode the string
Total Decoding Messages
Print leaf nodes from preorder traversal of BST
Replace O's with X's
Count the paths
Floyd Warshall
Flood fill Algorithm
Police and Thieves
Subset Sum Problem
Search Pattern (Rabin-Karp Algorithm)
All Palindromic Partitions
Bellman-Ford
Subarrays with sum K
Remove BST keys outside given range
Coin Piles
Substrings of length k with k-1 distinct elements
Maximum XOR of two numbers in an array
Maximum sum of elements not part of LIS
BST to greater sum tree
Find rectangle with corners as 1
Minimize the Heights I
Unique Number III
All Unique Permutations of an array
Course Schedule II
Clone an Undirected Graph
Min Cost Climbing Stairs
Overlapping Intervals
Reverse a Stack
K-th Largest Sum Contiguous Subarray
Exactly one swap
Minimum Cost to cut a board into squares
Next element with greater frequency
Majority Element - More Than n/3
Koko Eating Bananas
Longest subarray with Atmost two distinct integers
Sum of subarray minimum
Minimal Cost
Aggressive Cows
Smallest Divisor
Minimum days to make M bouquets
Generate all binary strings
Delete all occurrences of a given key in a doubly linked list
Maximum Sum Combination
Non-overlapping Intervals
Stickler Thief II
Insert Interval
Longest String Chain
Largest Divisible Subset
Make array elements unique
Next Greater Element in Circular Array
Find the longest string
Minimum repeat to make substring
Prime List
Unique Paths in a Grid
Remove the balls
Powerful Integer
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
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
Balancing Consonants and Vowels Ratio
Implement Pow
Subarrays With At Most K Distinct Integers
K Closest Points to Origin
Longest Bounded-Difference Subarray
The Knight's tour problem
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
Minimum Steps to Halve Sum
Min Add to Make Parentheses Valid
String stack
Longest Subarray Length
Design MinMax Queue
Unique K-Number Sum
Sum of Nodes in BST Range
Construct Tree from Preorder & Postorder
K closest Values
Split Array Subsequences
Find K Smallest Sum Pairs
Graph Diameter
Linked List Group Reverse
Binary Tree to DLL
Clone List with Next and Random
Max rectangle
LRU Cache
Alien Dictionary
Smallest range in K lists
Fixing Two nodes of a BST
Trapping Rain Water
Max Circular Subarray Sum
Merge Without Extra Space
Smallest window containing all characters
Histogram Max Rectangular Area
Max of min for every window size
Find median in a stream
Solve the Sudoku
Stock Buy and Sell – Multiple Transaction Allowed
Burning Tree
Palindrome SubStrings
Longest Prefix Suffix
Sum-string
Sub-arrays with equal number of occurences
Edit Distance
Stock Buy and Sell – Max K Transactions Allowed
Matrix Chain Multiplication
Median in a row-wise sorted Matrix
Boolean Parenthesization
Longest valid Parentheses
N-Queen Problem
Articulation Point - II
Maximum sum Rectangle
Distribute Candies
Split Array Largest Sum
Kth Smallest Number in Multiplication Table
Stock Buy and Sell – Max 2 Transactions Allowed
Min Chars to Add for Palindrome
Aggressive Cows
Expression Add Operators
Count Reverse Pairs
Account Merge
Max min Height
Meeting Rooms III
Minimum K Consecutive Bit Flips
Minimum Weight Cycle
Count the Coprimes
Longest Periodic Proper Prefix
Maximum Non-Overlapping Odd Palindrome Sum
Maximum subarray sum 2
Sum of Mode
Number of BST From Array
Shortest Cycle
0 points
Contributor
0 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
close
A
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri