Tutorials
Courses
Data Structure
Java
Python
HTML
Interview Preparation
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
H
delta_ranger
Current POTD Streak
STREAK
00
/1431
days
Longest streak/Global longest streak
Language Used
C++, Java, C
Coding Score
1058
Problem Solved
631
Contest Rating
__
202 points
Contributor
202 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
2018
2017
2016
January
February
March
April
May
June
July
SCHOOL (3)
BASIC (110)
EASY (277)
MEDIUM (224)
HARD (17)
Longest Even Length Substring
Sorting Elements of an Array by Frequency
Rearrange characters
Nearly Sorted Algorithm
Find the Maximum sum
Reverse alternate nodes in Link List
Sort a linked list of 0s, 1s and 2s
Rearrange a linked list
Merge 2 sorted linked list in reverse order
Linked List in Zig-Zag fashion
Detect Loop in linked list
Count BST nodes that lie in a given range
Merge Sort
Quick Sort
Intersection in Y Shaped Lists
Diameter of a Binary Tree
Heap Sort
Merge two sorted linked lists
Add all greater values to every node in a BST
Connect Nodes of Levels
Flattening a Linked List
Delete a node from BST
Absolute List Sorting
The Celebrity Problem
Largest subarray with 0 sum
Max sum in the configuration
Gas Station
Linked List to Binary Tree
Extreme nodes in alternate order
Is Binary Tree Heap
Clone a Binary Tree
Remove loop in Linked List
Dijkstra Algorithm
Minimum Spanning Tree
Sorted subsequence of size 3
Minimum Swaps to Sort
Implement Atoi
Maximum Difference
Palindrome Linked List
Closest in BST
Delete keys in a Linked list
Merge two BST 's
Count distinct elements in every window
Merge k Sorted Arrays
Root to leaf paths sum
Longest Palindrome in Linked List
Find triplets with zero sum
Sort a stack
Top View of Binary Tree
k-th Smallest in BST
Find Common Nodes in two BSTs
Polynomial Addition
Union of Two Linked Lists
Pair Sum in BST
Occurences of 2 as a digit
Counting elements in two arrays
Linked List that is Sorted Alternatingly
Foldable Binary Tree
Leftmost and rightmost nodes of binary tree
Arrange Consonants and Vowels
Vertical sum
Pairs violating BST property
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
Convert Level Order Traversal to BST
ZigZag Tree Traversal
Count Number of SubTrees having given Sum
Maximum sum of Non-adjacent nodes
Smallest Positive Missing
Rotate and delete
Rearrange Array Alternately
Stock buy and sell
Kadane's Algorithm
Majority Element
Unique BST's
Indexes of Subarray Sum
Triplet Sum in Array
Possible paths between 2 vertices
Spirally traversing a matrix
Unit Area of largest region of 1's
Subarray with 0 sum
Longest Consecutive Subsequence
Case-specific Sorting of Strings
Stock span problem
Next Greater Element
Infix to Postfix
K Sized Subarray Maximum
Kth smallest element
Activity Selection
Minimum Platforms
Stickler Thief
Ways to Reach the n'th Stair
Egg Dropping Puzzle
Minimum number of jumps
Longest Increasing Subsequence
Longest Common Subsequence
Lucky Numbers
Number of Unique Paths
Sort according to an Array
Preorder to BST
X Total Shapes
Zero Sum Subarrays
Shortest Common Supersequence
Rotten Oranges
Most frequent word in an array of strings
Count subsequences of type a^i, b^j, c^k
Print Anagrams Together
Overlapping Intervals
4 Sum - All Quadruples
Excel Sheet | Part - 1
Sort 0s, 1s and 2s
Pascal Triangle
Top k numbers in a stream
Maximize Number of 1's
Sum of Middle elements of two sorted arrays
Pair array product sum
Mr. Modulo and Arrays
Single Among Doubles in a Sorted
Consecutive 1's not allowed
Single Among Doubles
Pythagorean Triplet
Pair Sum Closest to 0
Search in Rotated Sorted Array
Sum of bit differences
Maximum Intervals Overlap
Max absolute difference
Max Score from Subarray Mins
Form the Largest Number
Efficiently sorting numbers in range from 0 to n^2 - 1
Water Collection
Add Binary Strings
Subarray Sum Divisible By K
Remove minimum elements
Check if a string is repetition of its substring of k-length
Row with max 1s
Swapping pairs make sum equal
Concatenation of Zig-Zag String in n Rows
Design a tiny URL or URL shortener
Palindrome SubStrings
Form a palindrome
Nuts and Bolts Problem
Rotate a Matrix
Longest Subarray with Sum K
Transform String
Count the Reversals
Max Sum without Adjacents
Factorials of large numbers
Shuffle integers
Reverse each word in a given string
Length of the longest substring
k largest elements
Magnet Array Problem
Longest Common Substring
Smallest distinct window
Longest substring with distinct characters
Longest Substring with K Uniques
Longest Palindrome in a String
Look and Say Pattern
Integer to Words
K-th element of two Arrays
Arranging the array
String formation from substring
Possible groups
Triplets with Smaller Sum
Longest Palindromic Subsequence
First negative in every window of size k
Smallest Non-Zero Number
Find k-th character in string
Roll the characters of a String
Minimize the Heights II
Surpasser Count
First and Last Occurrences
Palindrome in Alphanumeric String
Valid Substring
Permutations of a String
Number following a pattern
Subsequence matching
Sum of Products
Unique Number II
Bleak Numbers
Game of XOR
Largest prime factor
Max Sum Increasing Subsequence
Sieve of Eratosthenes
Smallest number
Trail of ones
Count ways to N'th Stair(Order does not matter)
Number of ways
Maximum path sum in matrix
Minimum steps to destination
Special Keyboard
Maximum GCD Pair
Handshakes
Array Pair Sum Divisibility Problem
Digit multiplier
N Digit numbers with digits in increasing order
Last non-zero digit in factorial
Number of paths
Stepping Numbers
Return two prime numbers
Sum of Query II
Find Prime numbers in a range
Prime Factors and their Powers
Game with String
Numbers with alternative 1's
Smith Number
Next Permutation
Prime factorization and geek number
Smaller on Left
Finding Profession
Rotate Each Row of Matrix K Times
Preorder Traversal and BST
Total Decoding Messages
Stream First Non-repeating
Segregate even and odd nodes in a Linked List
Print leaf nodes from preorder traversal of BST
Largest square formed in a matrix
Water Overflow
Kth Largest in a Stream
Snake and Ladder Problem
String Ignorance
SP - Beautiful Pairs
Reverse a linked list
Frequency in a Linked List
Delete N nodes after M nodes 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
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
Delete without head pointer
Height of Binary Tree
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
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
Insert a node in a BST
BFS of graph
Identical Trees
Square Root
Nodes without a Sibling
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
Print all possible strings
Remove duplicates in array
Odd even level difference
Equilibrium index of an array
Remove every k'th node
Third largest element
Convert to Roman No
Multiply two linked lists
Josephus problem
You and your books
Max distance between same elements
Longest Consecutive Subsequence
Generate Grey Code Sequences
Delete in a Singly Linked List
Kth largest element in BST
Minimum distance in an Array
Array Duplicates
Max Level Sum in Binary Tree
Special Stack
Level order traversal
Inorder Successor in BST
Index of an Extra Element
Convert Ternary Expression to Binary Tree
Intersection of Two Linked Lists
Insert in a Sorted List
Split Linked List Alternatingly
Sum of leaf nodes in BST
More than n/k Occurrences
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
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 Leaf Nodes
Closest Neighbour in BST
Brothers From Different Roots
Sum of Leaf Nodes at Min Level
Delete Mid of a Stack
Java Collections | Set 7 (LinkedList)
BigInteger Multiply
Pair Sum in Vector
Frequency in Queue
Operations on PriorityQueue
Frequency Game
First Set Bit
Power of 2
Wave Array
Frequencies in a Limited Array
Array Leaders
Floor in a Sorted Array
Print Matrix in snake Pattern
Winner of an election
String Rotated by 2 Places
Strings Rotations of Each Other
Reverse Words
Minimum indexed character
Non Repeating Character
Parenthesis Checker
Generate Binary Numbers
K largest elements
Minimum Cost of ropes
Largest number with given sum
Count ways to N'th Stair
Count number of hops
First Repeating Element
Unique Substrings
Common Elements
Check Equal Arrays
Numbers containing 1, 2 and 3
Missing in Array
Product array puzzle
Roman Number to Integer
Intersection of Arrays with Distinct
Excel Sheet | Part - 2
Max Value Permutation
Missing And Repeating
Buildings receiving sunlight
Non-Repeating Element
Pairs of equals Sum
Max value
Count the elements
Maximum Gap
Minimum Energy
Pairs which are Divisible by 4
Find Maximum Sum Strictly Increasing Subarray
Greedy Fox
Sorted and Rotated Minimum
Maximum no of 1's row
Sum of elements between k1'th and k2'th smallest elements
Search in a Row-Column sorted matrix
Move All Zeroes to End
String Duplicates Removal
Equal Sum and Product
Min sum formed by digits
Min Subsets with Consecutive Numbers
Minimize the sum of product
Move all negative elements to end
String Manipulation
Chocolate Distribution Problem
Minimum Distinct Ids
Count the triplets
Punish the Students
Find Pair Given Difference
Pairs with difference k
Pair with greatest product in array
Drive the car
Bitonic Point
Bird and maximum fruit gathering
Find Duplicate Element
Left most and right most index
Smallest subarray with sum greater than x
Amend The Sentence
Closest Strings
Single Number
Largest Even Number
Remove Consecutive Characters
Common Subsequence
Remove b and ac from a given string
Palindrome Sentence
Addition of submatrix
Sort in specific order
Rearrange a string
Form largest number from digits
Remove Duplicates
Sorting Employees
Sum of two numbers represented as arrays
Facing the sun
Greater on right side
Jumping Caterpillars
Count Substrings
Twice Counter
Second Largest
Convert array into Zig-Zag fashion
Two Sum - Pair with Given Sum
Second most repeated string in a sequence
Check if array contains contiguous integers
Equal point in a string of brackets
Number of occurrence
Maximum repeating number
Divisible by 8
Does array represent Heap
Find missing in second array
String's Count
Largest Fibonacci Subsequence
Meta Strings
Maximum difference Indexes
Substrings with same first and last characters
Two sum -Pairs with 0 Sum
Sum of f(a[i], a[j]) over all pairs in an array of n integers
Maximum number of zeroes
Large number division
Decreasing Sequence
Three Great Candidates
Digits in a set
Element with left side smaller and right side greater
Merging two unsorted arrays in sorted order
Count the Zeros
Transform the array
Sum of Lengths of Non-Overlapping SubArrays
Sort the pile of cards
Four Elements
Palindrome String
Missing ranges of numbers
Total count
Left out candies
Chocolate Station
Smallest greater elements in whole array
Print Bracket Number
Does robot moves circular
Odd Even Problem
Convertible string
Colorful Strings
Is Binary Number Multiple of 3
Swap bits in byte
Number of 1 Bits
Find the Highest number
Lucky Number
Pairs with Positive Negative values
Reverse Bits
Star elements
Palindrome
Element that appears once where every element occurs twice
Party of Couples
Find sum of divisors
Element in a Sequence
Magic Number
Count numbers containing 4
Largest power of prime
Reach the Nth point
Number of Groups
Numbers with same first and last digit
Perfect Numbers
Pair cube count
Nth item through sum
Forming Rectangle
Day of the week
Kth Prime Factor
Class Average
Increment
Maximize Toys
Recamans sequence
Deficient Number
Number of ways to find two numbers
Total number of Strings
Least Prime Factor
Number of 1's in smallest repunits
Sum of First N Natural Numbers
Find nth root of m
Largest Product Pallindrome
Prime Factors
Juggler Sequence
Sphenic Number
Maximum Diamonds
Find the highest occurring digit in prime numbers in a range
Prime number of set bits
Inorder Traversal and BST
Sum of Divisors in an array
Print Pattern
Primes sum
Array to BST
Sum of dependencies in a graph
Count all possible paths from top left to bottom right
Rotate Array
Sort String
Print Linked List
Count Linked List Nodes
Size of Binary Tree
Count Leaves in Binary Tree
Postorder Traversal
Implement stack using array
Queue using Linked List
Queue Using Array
Doubly linked list Insertion at given position
Replace all 0's with 5
Preorder Traversal
First Occurence
Search a node in BST
HashMap Operations
Palindromic Array
Peak element
Linked List Insertion At End
Play with an array
Minimum element in BST
Anagram of String
Circular Linked List Traversal
Is Linked List Length Even?
Identical Linked Lists
Modular Node
Sum of Binary Tree
Insert in Middle of Linked List
longest substring containing '1'
Count Non-Leaf Nodes in Tree
Bit Difference
Binary Array Sorting
Binary String
Remove common characters and concatenate
Sum of numbers in string
Reverse a String
Binary Array Sorting
Rearranging array
Count number of elements between two given elements in array
Mega Sale
Doubling the value
Elements before which no element is bigger
Balanced Array
Maximum product of two numbers
Value equal to index value
Check for subsequence
Segregate Even and Odd numbers
Remove vowels from string
Fighting the darkness
Reverse sub array
Sum of distinct elements
Count the characters
Uncommon characters
Swap kth elements
Reversing the vowels
Remove Spaces
Repeated Character
Replace the Bit
First 1 in a Sorted Binary Array
Merge two strings
String with numbers at its end
Last duplicate element in a sorted array
Exceptionally odd
Array Subset
Positive and negative elements
Extract Maximum
Print first letter of every word in the string
Remove character
Maximum Integer Value
Betting game
GCD of Array
Check set bits
The AND Gate
Binary representation
Check for Power
Find position of set bit
Odd Divisors
XOR Count Zero and One
Find the fine
Strong Numbers
Check if divisible by 5
Check if a number can be expressed as x^y
LCM And GCD
House Robber
Longest Increasing Subarray
Fibonacci to N
Binary number to decimal number
Tough Competitors
Absolute Difference of 1
Closest Number
Common Divisors
Sum of divisors
Multiples Power
Angle between hour and minute hand
Check if the door is open or closed
Tidy Number
Ways To Tile A Floor
Disarium Number
Count Squares
Sum of Digits Divisibility
Print the Kth Digit
Numbers containing 0's from 1 to N
Unique Numbers
Repetitive Addition Of Digits
Half N by M
Pairs of prime number
Minimum difference pair
Thief trying to escape
Finding Position
Sum of primes
Maximum and Minimum Of Array Elements
Sum of Digits Multiple - copy
Search in a 2D Matrix
Linked List Group Reverse
Max rectangle
Fixing Two nodes of a BST
Huffman Decoding
Trapping Rain Water
Histogram Max Rectangular Area
Find median in a stream
Count Pairs in an Array
The Painter's Partition Problem-II
Distinct palindromic substrings
Edit Distance
Minimum sum partition
Palindromic Partitioning
Matrix Chain Multiplication
Longest valid Parentheses
Longest Zig-Zag Sub Sequence
Let's Play!!!
close
H
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 !