Tutorials
Courses
Go Premium
Data Structure
Java
Python
HTML
Interview Preparation
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
elitecoder
Current POTD Streak
STREAK
00
/1467
days
Longest streak/Global longest streak
Language Used
C++, Python
Coding Score
870
Problem Solved
328
Contest Rating
__
28 points
Contributor
28 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
1 submissions in current year
Current
2024
2023
2022
2021
2020
2019
January
February
March
April
May
June
July
August
SCHOOL (0)
BASIC (51)
EASY (122)
MEDIUM (134)
HARD (21)
Sort a linked list of 0s, 1s and 2s
Detect Loop in 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
Merge two sorted linked lists
Delete a node from BST
Directed Graph Cycle
Undirected Graph Cycle
Two Stacks in an Array
The Celebrity Problem
Topological sort
Vertical Tree Traversal
Merge K sorted linked lists
Find the number of islands
Gas Station
Remove loop in Linked List
Dijkstra Algorithm
Minimum Spanning Tree
Multiply two strings
Maximum Difference
Palindrome Linked List
Strongly Connected
Bipartite Graph
Max sum subarray by removing at most one element
Closest in BST
Count distinct elements in every window
Merge k Sorted Arrays
Top View of Binary Tree
Find Common Nodes in two BSTs
Peak element
Construct Tree from Inorder & Preorder
Children Sum in a Binary Tree
Coin Change - Minimum number of coins
Pairwise swap of nodes in Linked List
Rabin Karp - Pattern Searching
Floor in BST
Ceil in BST
Pair Sum in BST
Count set bits
Reverse array in groups
Smallest Positive Missing
Power Of Numbers
Maximum occured integer
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
Count Inversions
Indexes of Subarray Sum
Triplet Sum in Array
Boolean Matrix
Spirally traversing a matrix
Search in a sorted Matrix
Subarray with 0 sum
Subarrays with equal 1s and 0s
Sort Elements by Decreasing Frequency
Longest Consecutive Subsequence
Strings Rotations of Each Other
Postfix Evaluation
Stock span problem
Next Greater Element
K Sized Subarray Maximum
Kth largest element
Kth smallest element
Nearly sorted
Activity Selection
Fractional Knapsack
Job Sequencing Problem
Minimum Platforms
Largest number in K swaps
Combination Sum
Stickler Thief
Longest Increasing Subsequence
Longest Common Subsequence
Tie Breaker
The Pendulum Swings
Lexicographical Rank Of String
Minimum Vertical Sum
Subarray sum
Minimum Step Destination
Sort according to an Array
Allocate Minimum Pages
Zero Sum Subarrays
Shortest Common Supersequence
Nth Catalan Number
Longest Subarray Of Evens And Odds
Maximize The Cut Segments
Print Anagrams Together
Overlapping Intervals
Word Break
4 Sum - All Quadruples
Maximum Water Between Two Buildings
Sort 0s, 1s and 2s
Pascal Triangle
Count Occurences of Anagrams
Pythagorean Triplet
Search in Rotated Sorted Array
Form the Largest Number
Maximum Product Subarray
Longest subarray with sum divisible by K
Longest Subarray with Sum K
Factorials of large numbers
Length of the longest substring
Longest Palindrome in a String
K-th element of two Arrays
Number of pairs
Permutations of a String
Subsequence matching
Pallindrome Patterns
Largest prime factor
Max Sum Increasing Subsequence
Sieve of Eratosthenes
Coin Change (Minimum Coins)
Perfect Sum Problem
nCr
Longest Bitonic subsequence
Return two prime numbers
Find Prime numbers in a range
Rank The Permutations
Longest Repeating Subsequence
Segregate even and odd nodes in a Linked List
Negative weight cycle
Police and Thieves
Continuous Series
The Manipulator
Triangle and Square
M and N
Continuous Series
Valid String
Reverse a linked list
Remove duplicates from an unsorted linked list
Inorder Traversal
Check for BST
Right View of Binary Tree
Balanced Tree Check
Kth from End of Linked List
Middle of a Linked List
Left View of Binary Tree
Queue using two Stacks
Remove Duplicates from a Sorted Linked List
Stack using two queues
Level Order in spiral form
DFS of Graph
Implement stack using array
Insert a node in a BST
BFS of graph
Identical Trees
Square Root
Binary Search
Level Order Line by Line
Binary Tree to BST
Array Duplicates
Special Stack
Level order traversal
Symmetric Tree
Find length of Loop
Reverse first K of a Queue
Find the Frequency
Back to Front
Get min at pop
Deque Implementations
Min Heap implementation
Multiset Operations
Multimap Operations
Max and Second Max
Fibonacci Numbers - Top Down DP
Fibonacci Numbers - Bottom Up DP
Coin Change - Number of ways
Inorder traversal of a BST
Levelorder traversal of a BST
First Set Bit
Rightmost different bit
Check K-th Bit
GP Term
Primality Test
Mean And Median of Array
Modular Inverse
Power of 2
Minimum adjacent difference in a circular array
Frequencies in a Limited Array
Equilibrium Point
Array Leaders
Count 1's in binary array
Floor in a Sorted Array
Minimum Number in a sorted rotated array
Print adjacency list
Print Matrix in snake Pattern
Transpose of Matrix
Matrix Boundary Traversal
Naive Pattern Search
Anagram
Winner of an election
Reverse Words
Non Repeating Character
Removing consecutive duplicates
Removing consecutive duplicates - 2
Parenthesis Checker
Generate Binary Numbers
N meetings in one room
Largest number with given sum
Count Digits in a Number
Power Set Using Recursion
Corresponding pair
Elected candidate
Vector min_element
Vector Accumulate
Find element in Set using Count
Rotate vector by K places
Check if Arrays are Permutations
Pattern searching
Odd The Even Out
Greater Permutations
Are They Anagrams?
Longest Consecutive 1s
Merge Sorted Arrays Using Minheap
Rotate Deque By K
Elements Less Than K
Print Different Characters In Sorted Manner
Unique Substrings
Union of Arrays with Duplicates
Positive Negative Pair
Sum Unique Elements
Missing in Array
Intersection of Arrays with Distinct
Rob The Houses
Missing And Repeating
Find Kth Rotation
Adding Ones
Common in 3 Sorted Arrays
Sorted and Rotated Minimum
Move All Zeroes to End
Count the triplets
Two Sum - Pair with Given Sum
First Repeated Character
Maximum number of characters between any two same character
Four Elements
Padovan Sequence
The Nth Fibonnaci
Nth Fibonacci Number
Prime Number
Shortest path from 1 to n
Perfect Numbers
Number Game
Magic numbers
Least Prime Factor
Reorder List
Binary Tree to DLL
Clone List with Next and Random
LRU Cache
Merge Sort on Doubly Linked List
Nodes at given distance in binary tree
Fixing Two nodes of a BST
Trapping Rain Water
Max Circular Subarray Sum
Pattern Search
Histogram Max Rectangular Area
Solve the Sudoku
First Greater Height
Minimum Cost Path
Median of Two sorted arrays
Merge Without Extra Space
The Painter's Partition Problem-II
Ugly Numbers
Edit Distance
Matrix Chain Multiplication
N-Queen Problem
Count Leaves in Binary Tree
Postorder Traversal
Preorder Traversal
First Occurence
Search a node in BST
Minimum element in BST
Insert in Middle of Linked List
Sort and Reverse Vector
Front to Back
Queue Push & Pop
Set Operations
Map Operations
Strongest Neighbour
Array insert at index
Array insert at end
Absolute Value
Bit Difference
Number is sparse or not
Print 1 To N Without Loop
Array Search
Sorted Array Search
Left Index
Binary String
Pairing elements
Make pair
Vector insertion
Distinct Sorted
Sorted Frequency
Vector max_element
Find element in Set using find
Vector fill
upper and lower bounds of an element
Heapify the vector
Permutations of string
Remove from vector
Sort and reverse
Set bits in N
Rotation
Vector Erase and Clear
Deque Traversal
Deque deletion
Vector Shrink To Fit
Vector Sum
Anagram Palindrome
Sort Array II
GCD of Array
LCM And GCD
Longest Increasing Subarray
Factorial
Count Squares
Make a Distinct Digit Array
close
T
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 !