Tutorials
Go Premium
Data Structure
Java
Python
HTML
Interview Preparation
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
A
amarjeet_singh
Current POTD Streak
STREAK
00
/1456
days
Longest streak/Global longest streak
Language Used
C++, Python, C
Coding Score
1058
Problem Solved
359
Contest Rating
__
312 points
Contributor
312 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
SCHOOL (0)
BASIC (35)
EASY (111)
MEDIUM (177)
HARD (36)
Sorting Elements of an Array by Frequency
Rearrange characters
Add Number Linked Lists
Detect Loop in linked list
Quick Sort on Linked List
Insert in Sorted Circular Linked List
QuickSort on Doubly Linked List
Count BST nodes that lie in a given range
Merge Sort
Quick Sort
Bottom View of Binary Tree
Intersection in Y Shaped Lists
Diameter of a Binary Tree
Heap Sort
Merge two sorted linked lists
Sum Tree
Construct Binary Tree from Parent Array
Connect Nodes of Levels
Flattening a Linked List
Directed Graph Cycle
Undirected Graph Cycle
LCA in Binary Tree
Binary Heap Operations
The Celebrity Problem
Largest subarray with 0 sum
Topological sort
Vertical Tree Traversal
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
Validate an IP Address
Remove loop in Linked List
Dijkstra Algorithm
Largest BST
Interleaved Strings
Count Palindromic Subsequences
Multiply two strings
Minimum Swaps to Sort
Strongly Connected
Pots of Gold Game
Merge two BST 's
Count distinct elements in every window
Merge k Sorted Arrays
Root to leaf paths sum
Find triplets with zero sum
Sort a stack
Duplicate Subtree
Top View of Binary Tree
k-th Smallest in BST
Delete nodes greater than k
Vertical sum
Isomorphic Trees
Children Sum in a Binary Tree
Normal BST to Balanced BST
Kth Ancestor in a Tree
ZigZag Tree Traversal
Swap Kth nodes from ends
Ceil in BST
Count set bits
Gray to Binary Conversion
Tower Of Hanoi
Reverse array in groups
Wave Array
Rearrange an array with O(1) extra space
Stock buy and sell
Rotate Array
Kadane's Algorithm
Majority Element
Count Inversions
Smallest Positive missing number
Unique BST's
Union of 2 Sorted Arrays
Indexes of Subarray Sum
Triplet Sum in Array
Merge Without Extra Space
Spirally traversing a matrix
Search in a sorted Matrix
Determinant of a Matrix
Unit Area of largest region of 1's
Subarray with 0 sum
Sort Elements by Decreasing Frequency
Postfix Evaluation
Stock span problem
Next Greater Element
Infix to Postfix
K Sized Subarray Maximum
Kth largest element
K Most occurring elements
Nearly sorted
Activity Selection
Minimum Platforms
Stickler Thief
Egg Dropping Puzzle
Optimal Strategy For A Game
Minimum number of jumps
Longest Increasing Subsequence
Longest Common Subsequence
0 - 1 Knapsack Problem
Lucky Numbers
Number of Unique Paths
Equal Sum Partition
Sort according to an Array
Allocate Minimum Pages
X Total Shapes
Zero Sum Subarrays
Find whether path exist
Rotten Oranges
Steps by Knight
Longest Substring Without Repeating Characters
Longest Palindrome Substring
Maximize The Cut Segments
Print Anagrams Together
Overlapping Intervals
Top K Frequent in Array
Word Break
Word Boggle
4 Sum - All Quadruples
Excel Sheet | Part - 1
Sort 0s, 1s and 2s
Valid Pair Sum
Smallest factorial number
Max absolute difference
Add Binary Strings
Row with max 1s
Form a palindrome
Rotate a Matrix
Count the Reversals
Cutting Binary String
Factorials of large numbers
k largest elements
Longest Common Substring
Smallest distinct window
Longest Substring with K Uniques
Longest Palindrome in a String
Look and Say Pattern
K-th element of two Arrays
Triplets with Smaller Sum
Minimum swaps and K together
Largest Sum Subarray of Size at least K
Minimize the Heights II
Surpasser Count
First and Last Occurrences
Palindrome in Alphanumeric String
Minimum Swaps for Bracket Balancing
Permutations of a String
Number following a pattern
Find largest word in dictionary
Combination Sum - Part 2
Unique Number II
Modular Exponentiation
Max Sum Increasing Subsequence
Distinct Transformations
Coin Change (Count Ways)
Sieve of Eratosthenes
Knapsack with Duplicate Items
Maximum path sum in matrix
Special Keyboard
Count distinct pairs with difference k
Number of paths
Knight Walk
Jumping Numbers
Longest Repeating Subsequence
Decode the string
Is Sudoku Valid
Total Decoding Messages
Stream First Non-repeating
Print leaf nodes from preorder traversal of BST
Kth Largest in a Stream
Snake and Ladder Problem
Replace O's with X's
Floyd Warshall
Flood fill Algorithm
Shortest Source to Destination Path
Recursively Remove Adjacent Duplicates
Linked List Group Reverse
Binary Tree to DLL
Clone List with Next and Random
Min distance between two given nodes of a Binary Tree
Max rectangle
LRU Cache
Box Stacking
Maximum subset XOR
Alien Dictionary
Merge Sort on Doubly Linked List
Fixing Two nodes of a BST
Max Path Sum 2 Special Nodes
Number of Turns in Binary Tree
String Permutations
Trapping Rain Water
Smallest window containing all characters of another string
Histogram Max Rectangular Area
Max of min for every window size
Find median in a stream
Minimum Cost Path
Median of Two sorted arrays
Merge Without Extra Space
The Painter's Partition Problem-II
Ugly Numbers
Wildcard string matching
Circle of strings
Edit Distance
Min cut Square
Minimum sum partition
Bit Difference
Median in a row-wise sorted Matrix
Longest valid Parentheses
Word Break - 2
Assignment Problem
Travelling Salesman Problem
Word Wrap
Reverse a linked list
Frequency in a Linked List
Pairwise swap elements of a linked list
Split a Linked List into two halves
Check for BST
Right View of Binary Tree
Mirror Tree
Two Mirror Trees
Maximum Width of Tree
Delete without head pointer
Height of Binary Tree
Balanced Tree Check
Kth from End of Linked List
Middle of a Linked List
Left View of Binary Tree
Delete Middle of Linked List
Transform to Sum Tree
Find Transition Point
Queue using two Stacks
Stack using two queues
Level Order in spiral form
DFS of Graph
BFS of graph
Identical Trees
Root to leaf path sum
Square Root
Lowest Common Ancestor in a BST
Binary Search
Remove Duplicates Sorted Array
Minimum Depth of a Binary Tree
K-Palindrome
Convert to Roman No
Josephus problem
Max distance between same elements
Longest Consecutive Subsequence
Kth largest element in BST
Three way partitioning
Convert Ternary Expression to Binary Tree
Reverse Using Stack
Symmetric Tree
Construct BST from Postorder
Huffman Decoding-1
Change of Key in BST
Reverse first K of a Queue
Deletion in a Binary Tree
Closest Neighbour in BST
Queue using circular array
First Set Bit
Rightmost different bit
Check K-th Bit
Digits In Factorial
GP Term
Primality Test
Exactly 3 Divisors
Modular Inverse
Power of 2
Swap odd and even bits
Equilibrium Point
Array Leaders
Intersection of two sorted arrays
Transpose of Matrix
Rotate by 90 degree
Print Non-Repeated Elements
Anagram
String Rotated by 2 Places
Strings Rotations of Each Other
Isomorphic Strings
Reverse Words
Parenthesis Checker
Generate Binary Numbers
Minimum Cost of ropes
Power Set Using Recursion
First Repeating Element
Check Equal Arrays
Maximium Sum
Find Immediate Smaller Than X
Two Sum
Missing in Array
Product array puzzle
Roman Number to Integer
Search an element in sorted and rotated array
Circular Linked List Delete at Position
Game of digits
Minimize Max difference between adjacent elements by inserting k new elements
Missing And Repeating
Sort by Set Bit Count
Common in 3 Sorted Arrays
Chocolate Distribution Problem
Count the triplets
Find Pair Given Difference
Bird and maximum fruit gathering
Smallest subarray with sum greater than x
Remove Consecutive Characters
Remove b and ac from a given string
Palindrome Sentence
Rearrange a string
Remove Duplicates
Two Sum - Pair with Given Sum
Second most repeated string in a sequence
Find all pairs with a given sum
String's Count
Largest Fibonacci Subsequence
Meta Strings
Min Number of Flips
Two sum -Pairs with 0 Sum
Generate binary string
Minimum Operations
Happy Number
Minimum number of Coins
Number of subsets and mean
Arithmetic Number
Print Linked List
Check for Binary String
Count Leaves in Binary Tree
Postorder Traversal
Preorder Traversal
First Occurence
Sum Except First and Last
Smallest divisible number
Remainder with 7
Palindromic Array
Peak element
Minimum element in BST
Queue Push & Pop
Who has the majority?
Absolute Value
Convert Celsius To Fahrenheit
Quadratic Equation Roots
Bit Difference
Number is sparse or not
Binary To Gray Code Conversion
Print 1 To N Without Loop
Adding two matrices
Multiply the matrices
Most Frequent Character
Sum of Digits of a Number
Fibonacci Using Recursion
Addition Under Modulo
Missing Characters in Panagram
Value equal to index value
Array Subset
Maximum Integer Value
Median of an Array
Count Squares
Middle of Three
Sorted matrix
close
A
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 !