Tutorials
Courses
Go Premium
Data Structure
Java
Python
HTML
Interview Preparation
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
ekakbasu12
Current POTD Streak
STREAK
269
/1469
days
Longest streak/Global longest streak
Institution
Narula Institute of Technology (NIT) Kolkata
24 Rank
Institute Rank
Language Used
C++, Python
Coding Score
1896
Problem Solved
609
Contest Rating
__
Campus Mantri
souvik2364
13 points
Contributor
13 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
14 submissions in current year
Current
2024
2023
2022
2021
January
February
March
April
May
June
July
August
SCHOOL (0)
BASIC (47)
EASY (235)
MEDIUM (279)
HARD (48)
Reverse alternate nodes in Link List
Rotate a Linked 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
Insert in Sorted Circular Linked List
Count BST nodes that lie in a given range
Merge Sort
Quick Sort
Binary Tree from Inorder and Postorder
Bottom View of Binary Tree
Delete without head pointer
Intersection in Y Shaped Lists
Diameter of a Binary Tree
Heap Sort
Sum Tree
Diagonal Tree Traversal
Tree Boundary Traversal
Delete a node from BST
Directed Graph Cycle
Undirected Graph Cycle
LCA in Binary Tree
Two Stacks in an Array
Max sum path in two arrays
The Celebrity Problem
Largest subarray with 0 sum
Topological sort
Vertical Tree Traversal
Find the number of islands
Get Min from Stack
Serialize and deserialize a binary tree
Gas Station
Wildcard Pattern Matching
Linked List to Binary Tree
Check if subtree
Validate an IP Address
Remove loop in Linked List
Dijkstra Algorithm
Additive sequence
Sorted subsequence of size 3
Multiply two strings
Implement Atoi
Maximum Difference
Palindrome Linked List
Print matrix in diagonal pattern
Rat in a Maze Problem - I
Bipartite Graph
BST with Dead End
k-Anagram
Root to leaf paths sum
Find triplets with zero sum
Duplicate Subtree
Top View of Binary Tree
k-th Smallest in BST
Find Common Nodes in two BSTs
Level order traversal
Peak element
Euler Circuit in an Undirected Graph
Euler circuit and Path
Binary Tree to CDLL
Root to Leaf Paths
Linked List that is Sorted Alternatingly
K Sum Paths
Leftmost and rightmost nodes of binary tree
Construct Tree from Inorder & Preorder
Arrange Consonants and Vowels
Count the nodes at distance K from leaf
Vertical sum
Isomorphic Trees
Maximum path sum from any node
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
Check if two Nodes are Cousins
ZigZag Tree Traversal
Maximum sum of Non-adjacent nodes
Mother Vertex
Ceil in BST
Gray to Binary Conversion
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
Rotate Array
Kadane's Algorithm
Majority Element
Binary Array Sorting
Count Inversions
Two Repeated Elements
Union of 2 Sorted Arrays
Indexes of Subarray Sum
Triplet Sum in Array
Number of pairs
Merge Without Extra Space
Level of Nodes
Make Matrix Beautiful
Boolean Matrix
Spirally traversing a matrix
Search in a sorted Matrix
Determinant of a Matrix
Distance of nearest cell having 1
Subarray with 0 sum
Sort Elements by Decreasing Frequency
Longest Consecutive Subsequence
Strings Rotations of Each Other
Stock span problem
Next Greater Element
Infix to Postfix
K Sized Subarray Maximum
Fractional Knapsack
Job Sequencing Problem
Minimum Jumps
Detect Cycle using DSU
Stickler Thief
Optimal Strategy For A Game
Sum of all substrings of a number
0 - 1 Knapsack Problem
Lucky Numbers
Allocate Minimum Pages
Preorder to BST
Kth Smallest
Implement Trie
Shortest Common Supersequence
Rotten Oranges
Maximize The Cut Segments
Rotate by 90 degree
Top K Frequent in Array
Word Break
Stock Buy and Sell – Multiple Transaction Allowed
Prerequisite Tasks
4 Sum - All Quadruples
Sort 0s, 1s and 2s
Paths to reach origin
Maximum Sub Array
Pascal Triangle
Number of subarrays with maximum values in given range
Top k numbers in a stream
Sum of Middle elements of two sorted arrays
Single Among Doubles in a Sorted
Consecutive 1's not allowed
Count Occurences of Anagrams
Single Among Doubles
Pythagorean Triplet
Painting the Fence
Search in Rotated Sorted Array
Count pairs Sum in matrices
Sum of bit differences
Form the Largest Number
Longest subarray with sum divisible by K
Check if a string is repetition of its substring of k-length
Row with max 1s
Check if frequencies can be equal
Column name from a given column number
Substrings with K Distinct
Form a palindrome
Longest Subarray with Sum K
Max Sum without Adjacents
Shuffle integers
Find the N-th character
k largest elements
Sum of XOR of all pairs
Longest Common Substring
Longest substring with distinct characters
Longest Substring with K Uniques
Look and Say Pattern
Product Pair
K-th element of two Arrays
Maximize the sum of selected numbers from a sorted array to make it empty
LCS of three strings
Largest Sum Subarray of Size at least K
First negative in every window of size k
Maximum difference of zeros and ones in binary string
Minimize the Heights II
Transform to prime
First and Last Occurrences
Palindrome in Alphanumeric String
Minimum Deletions
Print N-bit binary numbers having more 1s than 0s
Minimum Swaps for Bracket Balancing
Permutations of a String
Number following a pattern
Sum of Products
Bleak Numbers
Game of XOR
Modified Game of Nim
Minimum number of deletions and insertions
Maximize dot product
Max Sum Increasing Subsequence
Sequence of Sequence
Gold Mine Problem
Perfect Sum Problem
Power Set
Count ways to N'th Stair(Order does not matter)
Knapsack with Duplicate Items
nCr
Minimum steps to destination
Partition Equal Subset Sum
Count possible ways to construct buildings
Count digit groupings of a number
Array Pair Sum Divisibility Problem
Number of paths
Nth Natural Number
Number of paths in a matrix with k coins
Find nth root of m
Game with String
Smith Number
Next Permutation
Smaller on Left
Maximum sum of hour glass
How Many X's?
Exit Point in a Matrix
Stream First Non-repeating
Transitive closure of a Graph
Replace O's with X's
Rohan's Love for Matrix
Traverse All Edges And Vertices
Find the string in grid
Flood fill Algorithm
Techfest and the Queue
Largest subsquare surrounded by X
Iterative Inorder
Preorder traversal (Iterative)
Iterative Postorder
Capacity To Ship Packages Within D Days
Remove K Digits
Number of Provinces
Find duplicate rows in a binary matrix
Paths from root with a specified sum
Shortest Prime Path
Sort for Singly Linked List
Anti Diagonal Traversal of Matrix
Unique Number III
All Unique Permutations of an array
Course Schedule
Clone an Undirected Graph
Overlapping Intervals
K-th Largest Sum Contiguous Subarray
Maximum Meetings in One Room
Buy Maximum Stocks
Find shortest safe route in a matrix
Graph is Tree or Not
Number of Distinct Islands
Minimum Multiplications to reach End
Number Of Enclaves
Eventual Safe States
City With the Smallest Number of Neighbors at a Threshold Distance
Path With Minimum Effort
Shortest Path in Undirected Graph
Shortest path in Directed Acyclic Graph
Koko Eating Bananas
Search in Rotated Array 2
Aggressive Cows
Smallest Divisor
Combination Sum II
Shortest Path in Weighted undirected graph
Prefix to Infix Conversion
Prefix to Postfix Conversion
Minimum days to make M bouquets
Postfix to Prefix Conversion
Minimum Absolute Difference In BST
Maximum Sum Combination
Shortest Job first
Count Number of Nodes in a Binary Tree
Floor in BST
Water the plants
Number of Good Components
New Year Resolution
Grinding Geek
Flatten BST to sorted list
Minimize the Difference
Pairs violating the BST property
Kth common ancestor in BST
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
Inorder Traversal
Reverse a Doubly Linked List
Bubble Sort
Selection Sort
Insertion Sort
Check for BST
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
Decimal Equivalent of Binary 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
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
Insertion at doubly linked list
Lowest Common Ancestor in a BST
Binary Search
Run Length Encoding
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
Binary Tree to BST
Equilibrium index of an array
Remove every k'th node
Leaves at Same Level or Not
Match specific pattern
Delete in a Singly Linked List
Kth largest element in BST
Minimum distance in an Array
Array Duplicates
Three way partitioning
Index of an Extra Element
Insert in a Sorted List
Level of a Node in Binary Tree
Sum of leaf nodes in BST
More than n/k Occurrences
Reverse Using Stack
Symmetric Tree
Find the Sum of Last N nodes of the Linked List
Count Pairs whose sum is equal to X
Find length of Loop
Leaf under budget
Reverse first K of a Queue
Sum of Left Leaf Nodes
Closest Neighbour in BST
Brothers From Different Roots
Delete Mid of a Stack
The New Line
Swap the array elements
Predict the Column
Xoring and Clearing
First Set Bit
Rightmost different bit
Check K-th Bit
Power of 2
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
Matrix Boundary Traversal
Check if a string is Isogram or not
Anagram
Winner of an election
String Rotated by 2 Places
Isomorphic Strings
Most Frequent Character
Reverse Words
Sum of numbers in string
Minimum indexed character
Panagram Checking
Non Repeating Character
Parenthesis Checker
Minimum indexed character
Minimum Cost of ropes
N meetings in one room
Largest number with given sum
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
Numbers containing 1, 2 and 3
Missing in Array
Product array puzzle
Roman Number to Integer
Search an element in sorted and rotated array
Intersection of Arrays with Distinct
Max Value Permutation
Missing And Repeating
Subarrays with given sum
Buildings receiving sunlight
Non-Repeating Element
Count the elements
Find Kth Rotation
Common in 3 Sorted Arrays
Sorted and Rotated Minimum
Maximum no of 1's row
Search in a Row-Column sorted matrix
Move All Zeroes to End
String Duplicates Removal
Missing number
Move all negative elements to end
Chocolate Distribution Problem
Count the triplets
Bitonic Point
Left most and right most index
Smallest subarray with sum greater than x
Closest Strings
Single Number
Alternate Positive Negative
Remaining String
Remove Consecutive Characters
Remove b and ac from a given string
Rearrange a string
Remove Duplicates
Nearest multiple of 10
Sum of two numbers represented as arrays
Facing the sun
Twice Counter
Word with maximum frequency
Second Largest
Convert array into Zig-Zag fashion
Two Sum - Pair with Given Sum
Rotate Bits
Second most repeated string in a sequence
Sort Unsorted Subarray
Find all pairs with a given sum
Number of occurrence
K-Pangrams
Reversing the equation
Does array represent Heap
Modify the Array
Check if array is sorted
Find missing in second array
String's Count
Longest Common Prefix of Strings
First Repeated Character
Special array reversal
Meta Strings
Min Number of Flips
Two sum -Pairs with 0 Sum
Segregate 0s and 1s
Play With OR
At Least K Occurrences
Element with left side smaller and right side greater
Find the closest pair from two arrays
Count the Zeros
Merge two binary Max heaps
Palindrome String
Fitting The Array
K-th missing element
Count number of words
Print Bracket Number
Odd Even Problem
Extract the Number from the String
Minimum Operations
Divisibility by 8
Reverse Bits
Max Sum Subarray of size K
Nth Fibonacci Number
Prime Number
Maximum Sum Problem
Party of Couples
Shortest path from 1 to n
Sum 1 to n Divisors
Count numbers containing 4
Reach the Nth point
Perfect Numbers
Largest number possible
Recamans sequence
Form a number divisible by 3 using array digits
Recursive sequence
Juggler Sequence
Row with Minimum 1s
Make Zeroes
Surround the 1's
Inorder Traversal and BST
Letters Collection
Print Pattern
Array to BST
Sum of dependencies in a graph
Plus One
Search insert position of K in a sorted array
Queue using stack
First and last occurrences of x
Smallest window containing 0, 1 and 2
Insert an Element at the Bottom of a Stack
Pattern 2
Pattern 3
Pattern 4
Fibonacci series up to Nth term
Outermost Parentheses
Maximum Depth Of Binary Tree
Divisor Game
Search in Linked List
Find the first node of loop in linked list
Frogs and Jumps
Equal Left and Right Subarray Sum
Wifi Range
Make Palindrome
Weird Island
Construction of a string
Split an array into two equal Sum subarrays
Linked List Group Reverse
Binary Tree to DLL
Clone List with Next and Random
Min distance between two given nodes of a Binary Tree
Subtraction in Linked List
Distinct occurrences
AVL Tree Insertion
Alien Dictionary
AVL Tree Deletion
Merge Sort on Doubly Linked List
Nodes at given distance in binary tree
Smallest window containing all characters
Minimum Cost Path
Word Ladder I
Median of 2 Sorted Arrays of Different Sizes
Burning Tree
Count Pairs in an Array
The Painter's Partition Problem-II
Search Pattern
Longest Prefix Suffix
Number of distinct subsequences
Wildcard string matching
Circle of strings
Longest repeating and non-overlapping substring
Sum-string
Edit Distance
Minimum Points To Reach Destination
Palindromic Partitioning
Strictly Increasing Array
Generalised Fibonacci numbers
Boolean Parenthesization
Possible Paths in a Tree
N-Queen Problem
Brackets in Matrix Chain Multiplication
Search Pattern (Rabin-Karp Algorithm)
Find all Critical Connections in the Graph
Reverse a sublist of a linked list
Distribute candies in a binary tree
Split Array Largest Sum
Find the String
Stock Buy and Sell – Max 2 Transactions Allowed
Largest rectangular sub-matrix whose sum is 0
Vertex Cover
Candy
Account Merge
Better String
Geekina Hate 1s
Making A Large Island
Print Linked List
Find Length of Linked List
Size of Binary Tree
Count Leaves in Binary Tree
Postorder Traversal
Queue using Linked List
Queue Using Array
Preorder Traversal
First Occurence
Search a node in BST
Linked List Insertion At End
Minimum element in BST
Anagram of String
Is Linked List Length Even?
Identical Linked Lists
Sum of Binary Tree
Insert in Middle of Linked List
Count Non-Leaf Nodes in Tree
Number is sparse or not
Array Search
Sorted Array Search
Binary String
Remove common characters and concatenate
Reverse a String
First n Fibonacci
C++ Hello World
Sum of Natural Numbers
Searching in an Array
Immediate Smaller Element
Uncommon characters
Repeated Character
Largest Element in Array
Rotate Array by One
Array Subset
Rotating an Array
Min and Max in Array
Print first letter of every word in the string
Factorial
Count Squares
Sorted matrix
Max Min
Pattern 1
Pattern 5
Pattern 6
Pattern 7
Pattern 8
Pattern 11
close
E
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 !