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
sam007
Current POTD Streak
STREAK
00
/1460
days
Longest streak/Global longest streak
Language Used
C, C++
Coding Score
796
Problem Solved
385
Contest Rating
__
868 points
Contributor
868 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
August
SCHOOL (6)
BASIC (102)
EASY (155)
MEDIUM (111)
HARD (11)
Rotate Array
Print Linked List
Find Length of Linked List
Power of Four
Size of Binary Tree
Count Leaves in Binary Tree
Postorder Traversal
Replace all 0's with 5
Replace all 0's with 5
Count zeros in a sorted matrix
Preorder Traversal
First Occurence
C++ STL | Set 1 (vector)
Search a node in BST
Is Linked List Length Even?
Bit Difference
Number is sparse or not
Array Search
Binary String
Sum of numbers in string
Multiply Array
Rearranging array
Sum of Array
Sum of Natural Numbers
Searching in an Array
Doubling the value
Print Elements of Array
Sort a String
Sort The Array
Check if divisible by 4
Maximum product of two numbers
Value equal to index value
Remove characters from alphanumeric string
Reverse sub array
Sum of distinct elements
Swap kth elements
Lower case to upper case
String Reversal
Remove Spaces
Replace the Bit
Missing number in shuffled array
Last index of One
String with numbers at its end
One odd Occuring
Remove Duplicates from unsorted array
Even occurring elements
Minimize string value
Remove character
Magical String[Duplicate Problem]
GCD of Array
Addition of Two Numbers
1s Complement
Odd or Even
XOR of all elements
The OR Gate
The AND Gate
Binary representation
Find position of set bit
Check if divisible by 36
Odd Divisors
Vowel or Not
The XOR Gate
Sum of Consecutives
Strong Numbers
Check if divisible by 5
LCM And GCD
LCM of given array elements
Small Factorial
Cube root of a number
Leap Year
Find the remainder
Celsius to Fahrenheit Conversion
Factorial
Sum of Digit is Palindrome or not
Sum of an AP
Greatest of three numbers
Pairs with given XOR
Simple Interest
Reverse digits
Binary number to decimal number
Series AP
Sum of divisors
Multiples Power
Area of Rectangle, Right Angled Triangle and Circle
Count zero
Multiplication Table
Pattern Printing
Print 1 to n without using loops
Middle of Three
Euler Totient Sum and Divisors
Repeated sum of digits
Print the Kth Digit
Numbers containing 0's from 1 to N
Swap two numbers
Repetitive Addition Of Digits
Perfect Squares in a Range
Make a Distinct Digit Array
Perfect Cubes in a Range
Surface Area and Volume of Cuboid
nPr
2's Complement
Sum of primes
Rank of Matrix
Sorting Elements of an Array by Frequency
Rearrange characters
Nearly Sorted Algorithm
Reverse alternate nodes in Link List
Sort a linked list of 0s, 1s and 2s
Detect Loop in linked list
QuickSort on Doubly Linked List
Count BST nodes that lie in a given range
Merge Sort
Quick Sort
Delete without head pointer
Diameter of a Binary Tree
Heap Sort
Sum Tree
LCA in Binary Tree
Range Minimum Query
Absolute List Sorting
Linked List to Binary Tree
Kth smallest element in a Matrix
Is Binary Tree Heap
Sum of permutations
Implement Atoi
Palindrome Linked List
Delete keys in a Linked list
Merge two BST 's
Sort a stack
k-th Smallest in BST
Find Common Nodes in two BSTs
Count set bits
Wave Array
Rearrange Array Alternately
Rearrange an array with O(1) extra space
Kadane's Algorithm
Majority Element
Binary Array Sorting
Count Inversions
Two Repeated Elements
Unique BST's
Count the number of possible triangles
Triplet Sum in Array
Spirally traversing a matrix
Rotate by 90 degree
Longest Consecutive Subsequence
Next Greater Element
Kth smallest element
Minimum Platforms
Ways to Reach the n'th Stair
Minimum number of jumps
Longest Increasing Subsequence
Longest Common Subsequence
0 - 1 Knapsack Problem
Number of Unique Paths
Sort according to an Array
Word Break
Sort 0s, 1s and 2s
How many pizzas ?
Taking 1 out of 3 consecutives
Maximum Index
Count Increasing Subsequences
Large Factorial
Sum of Middle elements of two sorted arrays
Single Among Doubles in a Sorted
Consecutive 1's not allowed
Single Among Doubles
Pythagorean Triplet
Search in Rotated Sorted Array
Sum of bit differences
Form the Largest Number
Efficiently sorting numbers in range from 0 to n^2 - 1
Rotate a Matrix
Factorials of large numbers
Reverse each word in a given string
Length of the longest substring
k largest elements
Longest Common Substring
Longest Palindrome in a String
K-th element of two Arrays
Possible groups
Longest Palindromic Subsequence
Surpasser Count
Permutations of a String
Sum of Products
Unique Number II
Bleak Numbers
Modular Exponentiation
Max Sum Increasing Subsequence
Coin Change (Count Ways)
Sieve of Eratosthenes
Number of ways
Digit multiplier
Prime Pair with Target Sum
Count Numbers in Range
Return two prime numbers
Find Prime numbers in a range
Count Divisors of Factorial
Fraction to Repeating Decimal
Next Permutation
Smaller on Left
Stream First Non-repeating
Mathematical manipulation
Segregate even and odd nodes in a Linked List
Largest square formed in a matrix
Kth Largest in a Stream
Transitive closure of a Graph
Two odd Occuring
Rohan's Love for Matrix
Special Matrix
Floyd Warshall
Negative weight cycle
Reverse Spiral Form of Matrix
Reverse a linked list
Frequency in a Linked List
Node at a given index in linked list
Linked list of strings forms a palindrome
Compare two linked lists
Delete nodes having greater value on right
Inorder Traversal
Insertion Sort
Check for BST
K distance from root
Mirror Tree
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
Remove Duplicates from a Sorted Linked List
Reverse Level Order Traversal
DFS of Graph
Identical Trees
Square Root
Lowest Common Ancestor in a BST
Binary Search
Remove Duplicates Sorted Array
BST Keys in a Range
Remove Duplicates from an array
Remove every k'th node
Third largest element
Find Maximum value
Multiply two linked lists
Longest Consecutive Subsequence
Count Occurrence of digit k
Delete in a Singly Linked List
Kth largest element in BST
Level order traversal
Inorder Successor in BST
Index of an Extra Element
Sum of given range
More than n/k Occurrences
Counting Sort
Max and min element in Binary Tree
Reverse Using Stack
Full Binary Tree
Check K-th Bit
Longest Consecutive 1's
Power of 2
Swap odd and even bits
Frequencies in a Limited Array
Floor in a Sorted Array
Anagram
Most Frequent Character
Reverse Words
Panagram Checking
Non Repeating Character
Parenthesis Checker
Generate Binary Numbers
Count number of hops
First Repeating Element
Union of Arrays with Duplicates
Check Equal Arrays
Missing in Array
Intersection of Arrays with Distinct
Longest Increasing subarray
Adding One
Missing And Repeating
Buildings receiving sunlight
Max value
Maximum Gap
Sort by Set Bit Count
Common in 3 Sorted Arrays
Good Pairs
Sorted and Rotated Minimum
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
Min sum formed by digits
Minimize the sum of product
Move all negative elements to end
String Manipulation
Pairs with difference k
Finding Number
Fascinating Number
Bitonic Point
Amend The Sentence
Single Number
Alternate Positive Negative
Largest Even Number
Remove Consecutive Characters
Remove b and ac from a given string
Count Alphabets
Ordering of strings
Count Substrings
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
Divisible by 8
Does array represent Heap
Convert an array to reduced form
First Repeated Character
Maximum difference Indexes
Digits in a set
At Least K Occurrences
Count the Zeros
Distinct absolute array elements
Palindrome String
Total count
Pangram Strings
Pattern Searching
Lucas Number
Is Binary Number Multiple of 3
Minimum Operations
Number of 1 Bits
The Nth Fibonnaci
Armstrong Numbers
AND operation
Reverse Bits
Change Bits
Count digits in a factorial
Number of factors
Sum Of Digits
Element that appears once where every element occurs twice
Prime Number
Number of digits
Party of Couples
GCD and Fibonacci Numbers
Count Odd Factors
Find sum of divisors
Magic Number
Count numbers containing 4
Happy Number
Reach the Nth point
Minimum number of Coins
Numbers with same first and last digit
Perfect Numbers
Palindrome numbers
Number Game
Forming Rectangle
Magic numbers
Rectangles in N*N Board
Squares in N*N Chessboard
Number of Factors of N!
Product of two digit numbers
Sum of First N Natural Numbers
The Prime Twins
Increasing Sub Sequence
Coverage of all Zeros in a Binary Matrix
Lexicographically Previous Permutation
Collection of pens
Print Pattern
Sum of k smallest elements in BST
Print Diagonally
Reorder List
Binary Tree to DLL
Trapping Rain Water
Find median in a stream
Merge Without Extra Space
Search Pattern (KMP-Algorithm)
Longest Prefix Suffix
Edit Distance
Minimum sum partition
Bit Difference
Longest valid Parentheses
Reverse an Array
Maximum and Minimum Of Array Elements
a^b (Set 1)-(ambiguous)
All divisors of a natural number
Sum of Digits Multiple - copy
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 !