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
shubh_89
Current POTD Streak
STREAK
00
/1477
days
Longest streak/Global longest streak
Institution
National Institute of Technology, Durgapur (NIT Durgapur)
121 Rank
Institute Rank
Language Used
C++, C, Java, Python
Coding Score
1126
Problem Solved
504
Contest Rating
__
Campus Mantri
algo_artisan_sandip
227 points
Contributor
227 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
0 submissions in current year
Current
2024
2023
2022
2021
2020
2019
January
February
March
April
May
June
July
August
SCHOOL (2)
BASIC (87)
EASY (209)
MEDIUM (189)
HARD (17)
Sorting Elements of an Array by Frequency
Shivani hates Consecutive numbers
Rotate a Linked List
Sort a linked list of 0s, 1s and 2s
Add Number Linked Lists
Rearrange a linked list
Add 1 to a Linked List Number
Merge 2 sorted linked list in reverse order
Linked List in Zig-Zag fashion
Detect Loop in linked list
Insert in Sorted Circular Linked List
Bottom View of Binary Tree
Intersection in Y Shaped Lists
Diameter of a Binary Tree
Merge two sorted linked lists
Sum Tree
Flattening a Linked List
Tree Boundary Traversal
Reverse alternate levels of a perfect binary tree
Directed Graph Cycle
Undirected Graph Cycle
LCA in Binary Tree
Absolute List Sorting
Two Stacks in an Array
The Celebrity Problem
Largest subarray with 0 sum
Topological sort
Max sum in the configuration
Get Min from Stack
Kth smallest element in a Matrix
Is Binary Tree Heap
Remove loop in Linked List
Dijkstra Algorithm
Minimum Spanning Tree
Largest BST
Interleaved Strings
Minimum Swaps to Sort
Implement Atoi
Maximum Difference
Palindrome Linked List
Rat in a Maze Problem - I
Bipartite Graph
Count distinct elements in every window
Find triplets with zero sum
Sort a stack
Top View of Binary Tree
Find Common Nodes in two BSTs
Level order traversal
Peak element
Delete nodes greater than k
Merge Sort for Linked List
Union of Two Linked Lists
Ancestors in Binary Tree
Root to Leaf Paths
Linked List that is Sorted Alternatingly
Construct Tree from Inorder & Preorder
Arrange Consonants and Vowels
Vertical sum
Isomorphic Trees
Predecessor and Successor
Children Sum in a Binary Tree
Diagonal sum in binary tree
Deletion and Reverse in Circular Linked List
Normal BST to Balanced BST
Check if two Nodes are Cousins
ZigZag Tree Traversal
Ceil in BST
Count set bits
Tower Of Hanoi
Reverse array in groups
Smallest Positive Missing
Power Of Numbers
Wave Array
Rearrange Array Alternately
Rearrange an array with O(1) extra space
Maximum Index
Stock buy and sell
Rotate Array
Kadane's Algorithm
Majority Element
Binary Array Sorting
Count Inversions
Indexes of Subarray Sum
Count the number of possible triangles
Make Matrix Beautiful
Spirally traversing a matrix
Search in a sorted Matrix
Rotate by 90 degree
Sort Elements by Decreasing Frequency
Longest Consecutive Subsequence
Postfix Evaluation
Stock span problem
Next Greater Element
Infix to Postfix
Kth smallest element
Activity Selection
Fractional Knapsack
Job Sequencing Problem
Minimum Platforms
M-Coloring Problem
Minimum Jumps
Stickler Thief
Egg Dropping Puzzle
Longest Common Subsequence
0 - 1 Knapsack Problem
Sort according to an Array
Allocate Minimum Pages
Preorder to BST
Zero Sum Subarrays
Kth Smallest
Shortest Common Supersequence
Word Break
4 Sum - All Quadruples
Sort 0s, 1s and 2s
Large Factorial
Maximize Number of 1's
Single Among Doubles in a Sorted
Count Occurences of Anagrams
Pythagorean Triplet
Search in Rotated Sorted Array
Count pairs Sum in matrices
Form the Largest Number
Water Collection
Row with max 1s
Max value after m range operation
Sort in specific order
Form a palindrome
Nuts and Bolts Problem
Rotate a Matrix
Longest Subarray with Sum K
Count the Reversals
Factorials of large numbers
Shuffle integers
k largest elements
Longest Common Substring
Longest Substring with K Uniques
Longest Palindrome in a String
K-th element of two Arrays
Arranging the array
Triplets with Smaller Sum
Rod Cutting
Longest Palindromic Subsequence
Longest substring with equal number of 0s and 1s
First negative in every window of size k
Minimize the Heights II
Surpasser Count
First and Last Occurrences
Valid Substring
Minimum number of deletions
Permutations of a String
Closest prime number
Subarrays Product Less than K
Unique Number II
Game of XOR
Minimum number of deletions and insertions
Max Sum Increasing Subsequence
Coin Change (Count Ways)
Sieve of Eratosthenes
Coin Change (Minimum Coins)
Smallest number
Power Set
Knapsack with Duplicate Items
Partition Equal Subset Sum
Min Coin
Subset Sums
Number of paths
Nth Natural Number
Fraction to Repeating Decimal
Rotate a Matrix by 180 Counterclockwise
Next Permutation
Longest Repeating Subsequence
Finding Profession
Rotate Each Row of Matrix K Times
Is Sudoku Valid
Stream First Non-repeating
Segregate even and odd nodes in a Linked List
Print leaf nodes from preorder traversal of BST
Check Mirror in N-ary tree
Floyd Warshall
Number of minimum picks to get 'k' pairs of socks from a drawer
Spiral Matrix
Coins of Geekland
Valid Pair Sum
Jump Game
Max Diff Elements and Indexes
Subset Sum Problem
Bellman-Ford
Division without using multiplication, division and mod operator
Target Sum
Replace by X
Sahil loves gfg
Sahil love good scorer
Gadgets of Doraland
Reverse a linked list
Delete N nodes after M nodes of a linked list
Pairwise swap elements of a linked list
Node at a given index in linked list
Remove duplicates from an unsorted linked list
Split a Linked List into two halves
Delete in a Doubly Linked List
Inorder Traversal
Reverse a Doubly Linked List
Right View of Binary Tree
K distance from root
Mirror Tree
Two Mirror Trees
Maximum Width of Tree
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
Transform to Sum Tree
Intersection Sorted Linked Lists
Find Transition Point
Queue using two Stacks
Remove Duplicates from a Sorted Linked List
Stack using two queues
Level Order in spiral form
Reverse Level Order Traversal
DFS of Graph
Stack using Linked List
Implement stack using array
Insert a node in a BST
BFS of graph
Identical Trees
Root to leaf path sum
Square Root
Nodes without a Sibling
Postorder from Inorder and Preorder
Lowest Common Ancestor in a BST
Binary Search
Largest subarray of 0's and 1's
Remove Duplicates Sorted Array
Level Order Line by Line
BST Keys in a Range
Minimum Depth of a Binary Tree
Remove Duplicates from an array
Odd even level difference
Binary Tree to BST
Equilibrium index of an array
Leaves at Same Level or Not
Third largest element
Josephus problem
Expression Tree
Max distance between same elements
Count Occurrence of digit k
Delete in a Singly Linked List
Kth largest element in BST
Minimum distance in an Array
Max Level Sum in Binary Tree
Special Stack
Three way partitioning
Inorder Successor in BST
Index of an Extra Element
Convert Ternary Expression to Binary Tree
Intersection of Two Linked Lists
Disjoint set (Union-Find)
Insert in a Sorted List
Level of a Node in Binary Tree
Perfect Binary Tree
Symmetric Tree
Delete Alternate Nodes
Construct BST from Postorder
Merge Lists Alternatingly
Find the Sum of Last N nodes of the Linked List
Count Pairs whose sum is equal to X
Maximum Node Level
Find length of Loop
Median of BST
Leaf under budget
Find n/k th node in Linked list
Linked List Matrix
Maximum Pairwise Computed Value
Queue Reversal
Reverse first K of a Queue
Remove Half Nodes
Height of Spiral Tree
Sum of Left Leaf Nodes
Nodes at Odd Levels
Sum of Leaf Nodes at Min Level
Swap the array elements
Count the Specials
Matrix Interchange
Longest Consecutive 1's
Power of 2
Frequencies in a Limited Array
Equilibrium Point
Array Leaders
Floor in a Sorted Array
Print adjacency list
Transpose of Matrix
Winner of an election
Reverse Words
Sum of numbers in string
Minimum indexed character
Parenthesis Checker
Generate Binary Numbers
N meetings in one room
Union of Arrays with Duplicates
Check Equal Arrays
Numbers containing 1, 2 and 3
Missing in Array
Product array puzzle
Intersection of Arrays with Distinct
Max Value Permutation
Missing And Repeating
Buildings receiving sunlight
Non-Repeating Element
Find Kth Rotation
Sort by Set Bit Count
Minimum Energy
Professor and Parties
Common in 3 Sorted Arrays
Sorted and Rotated Minimum
Maximum no of 1's row
Next greater number set digits
Move All Zeroes to End
String Duplicates Removal
Missing number
Move all negative elements to end
Chocolate Distribution Problem
Minimum Distinct Ids
Count the triplets
Find Pair Given Difference
Finding Number
Minimize Difference in Task Priorities
Bitonic Point
Find Duplicate Element
Left most and right most index
Smallest subarray with sum greater than x
Alternate Positive Negative
Maximum Possible Sum of Products
Addition of submatrix
Form largest number from digits
Remove Duplicates
Sorting Employees
Facing the sun
Greater on right side
Bitonic Generator Sort
Convert array into Zig-Zag fashion
Two Sum - Pair with Given Sum
Find all pairs with a given sum
Number of occurrence
Maximum repeating number
Does array represent Heap
Find missing in second array
Largest Fibonacci Subsequence
First Repeated Character
Substrings with same first and last characters
Two sum -Pairs with 0 Sum
Segregate 0s and 1s
Print an array in Pendulum Arrangement
Play With OR
Digits in a set
Element with left side smaller and right side greater
Ishaan and Sticks
Count the Zeros
Sum of Lengths of Non-Overlapping SubArrays
Java Arrays | Set 1
First and Second Smallests
Palindrome String
Total count
Search array with adjacent diff at most k
Smallest greater elements in whole array
Print Bracket Number
Number of 1 Bits
The Nth Fibonnaci
Nth Fibonacci Number
Element that appears once where every element occurs twice
Prime Number
Generate all palindromic numbers less than n
Twisted Prime Number
Count numbers containing 4
Amicable Pair
Number Of Open Doors
Number of Groups
Pair cube count
Maximum height of the staircase
Rectangles in N*N Board
Squares in N*N Chessboard
Trailing zeroes in factorial
Total number of Strings
Number of 1's in smallest repunits
Recursive sequence
Tom and Jerry
Prime number of set bits
Next sparse binary number
Help the Old Man!!!
Print Pattern
Primes sum
Array to BST
Rearrange Geek and his Classmates
Sum of k smallest elements in BST
Plus One
Kth Mex
Rotate Array
Print Linked List
Find Length of Linked List
Size of Binary Tree
Count Leaves in Binary Tree
Postorder Traversal
Queue Using Array
Replace all 0's with 5
Preorder Traversal
Search a node in BST
Linked List Insertion At End
Minimum element in BST
Is Linked List Length Even?
Identical Linked Lists
Triplet Family
Sum of Binary Tree
Insert in Middle of Linked List
Count Non-Leaf Nodes in Tree
Bit Difference
Reverse a String
Binary Array Sorting
Find second largest element
Doubling the value
Ishaan's Internship
Type of array
Anagram Palindrome
Alternative Sorting
Change the string
Maximum product of two numbers
Value equal to index value
Segregate Even and Odd numbers
Fighting the darkness
Immediate Smaller Element
Sum of distinct elements
Count the characters
Uncommon characters
Quick Left Rotation
Remove Spaces
Repeated Character
First 1 in a Sorted Binary Array
Max and Min Product from 2 Arrays
Elements in the Range
Last index of One
Largest Element in Array
Rotate Array by One
Game with nos
One odd Occuring
Ishaan Loves Chocolates
Array Subset
Rotating an Array
Min and Max in Array
Positive and negative elements
Print first letter of every word in the string
Remove character
Red OR Green
Convert String to LowerCase
Java Strings | Set 1
GCD of Array
Check for Power
Find position of set bit
Change all even bits in a number to 0
Find the fine
LCM And GCD
House Robber
Longest Increasing Subarray
Shortest un-ordered subarray
Absolute Difference of 1
Count numbers divisible by M
Check if the door is open or closed
Java 1-d and 2-d Array
Count Squares
Check if the number is Fibonacci
Sum of Digits Divisibility
Print the Kth Digit
Unique Numbers
Height of Heap
Three distinct factors
Repetitive Addition Of Digits
Half N by M
Pattern Jumping
Perfect Squares in a Range
The Lazy Caterer's Problem
Finding Position
Squares in a Matrix
Sum of primes
Count Sorted Rows
Sorted matrix
Linked List Group Reverse
Max rectangle
Trapping Rain Water
Max Circular Subarray Sum
Histogram Max Rectangular Area
Max of min for every window size
Median of 2 Sorted Arrays of Different Sizes
Merge Without Extra Space
Ugly Numbers
Edit Distance
Minimum sum partition
Palindromic Partitioning
Matrix Chain Multiplication
Median in a row-wise sorted Matrix
Boolean Parenthesization
Smallest Positive Integer that can not be represented as Sum
Min Chars to Add for Palindrome
Reverse an Array
Search in a 2D Matrix
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 !