Tutorials
Courses
Go Premium
Data Structure
Java
Python
HTML
Interview Preparation
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
A
kumaravnish792
Current POTD Streak
STREAK
00
/1460
days
Longest streak/Global longest streak
Language Used
C++, C, Python
Coding Score
1192
Problem Solved
520
Contest Rating
__
585 points
Contributor
585 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 (2)
BASIC (81)
EASY (217)
MEDIUM (197)
HARD (23)
Sorting Elements of an Array by Frequency
Rearrange characters
Nearly Sorted Algorithm
The Conversion To One
Get the Shadow
Without Adjacent
Sum Array
Rotate a Linked List
Sort a linked list of 0s, 1s and 2s
Add Number Linked Lists
Rearrange a linked list
Add 1 to a Linked List Number
Detect Loop in linked list
Insert in Sorted Circular Linked List
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
Sum Tree
Connect Nodes of Levels
Flattening a Linked List
Tree Boundary Traversal
Delete a node from BST
Directed Graph Cycle
Undirected Graph Cycle
LCA in Binary Tree
Maximum difference between node and its ancestor
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
Gas Station
Linked List to Binary Tree
Check if subtree
Remove loop in Linked List
Dijkstra Algorithm
Minimum Spanning Tree
Sorted subsequence of size 3
Implement Atoi
Palindrome Linked List
Strongly Connected
Rat in a Maze Problem - I
Count distinct elements in every window
k-Anagram
Merge k Sorted Arrays
Top View of Binary Tree
Find Common Nodes in two BSTs
Peak element
Merge Sort for Linked List
Union of Two Linked Lists
Foldable Binary Tree
Vertical sum
Insert in Sorted way in a Sorted DLL
Maximum path sum from any node
Children Sum in a Binary Tree
Deletion and Reverse in Circular Linked List
ZigZag Tree Traversal
Count Number of SubTrees having given Sum
Vertical Width of a Binary Tree
Pairwise swap of nodes in Linked List
Swap Kth nodes from ends
Ceil in BST
Pair Sum in BST
Count set bits
Gray to Binary Conversion
Maximum AND Value
Tower Of Hanoi
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
Check if array is sorted and rotated
Kadane's Algorithm
Majority Element
Binary Array Sorting
Count Inversions
Two Repeated Elements
Unique BST's
Union of 2 Sorted Arrays
Indexes of Subarray Sum
Make Matrix Beautiful
Boolean Matrix
Spirally traversing a matrix
Search in a sorted Matrix
Rotate by 90 degree
Determinant of a Matrix
Subarray with 0 sum
Subarray range with given sum
Longest Consecutive Subsequence
Stock span problem
Next Greater Element
K Sized Subarray Maximum
Kth largest element
Kth smallest element
Kth largest element in a stream
K Most occurring elements
Nearly sorted
Rearrange characters
Activity Selection
Fractional Knapsack
Job Sequencing Problem
Minimum Platforms
M-Coloring Problem
Optimal Strategy For A Game
Minimum number of jumps
Longest Increasing Subsequence
Longest Common Subsequence
0 - 1 Knapsack Problem
K nearest Points
Find the Average
Find jth element in ith row of a pascal triangle
Range Sum Queries
Sort according to an Array
Allocate Minimum Pages
Zero Sum Subarrays
Find whether path exist
Implement Trie
Shortest Common Supersequence
Rotten Oranges
Most frequent word in an array of strings
Count only Repeated
Add a Digit
Lazy Kid
Shortest Distance to Every Character
Maximize The Cut Segments
Print Anagrams Together
Rotate by 90 degree
Overlapping Intervals
Game of Corners
Hannah and her Cookie Box
Distorted Needle in Haystack
Mandatory Flip Bit
String Reduction Game
Sort 0s, 1s and 2s
Maximum Sub Array
Flip Bits
Longest Span in two Binary Arrays
Single Among Doubles in a Sorted
Consecutive 1's not allowed
Pythagorean Triplet
Pair Sum Closest to 0
Search in Rotated Sorted Array
Form the Largest Number
Add Binary Strings
Longest subarray with sum divisible by K
Row with max 1s
Swapping pairs make sum equal
Check if frequencies can be equal
Design a tiny URL or URL shortener
Form a palindrome
Nuts and Bolts Problem
Longest Subarray with Sum K
k largest elements
Longest Common Substring
Longest substring with distinct characters
Longest Palindrome in a String
Number of pairs
Missing element of AP
Minimize the Heights II
First and Last Occurrences
Palindrome in Alphanumeric String
Minimum Deletions
Permutations of a String
Game of XOR
Largest prime factor
3 Divisors
Minimum number of deletions and insertions
Max Sum Increasing Subsequence
Coin Change (Count Ways)
Sieve of Eratosthenes
Coin Change (Minimum Coins)
Find distinct elements
Maximum path sum in matrix
Array Pair Sum Divisibility Problem
Choose and Swap
Find nth root of m
Fraction to Repeating Decimal
Longest Repeating Subsequence
Stream First Non-repeating
Kth Largest in a Stream
Snake and Ladder Problem
Floyd Warshall
Shortest Source to Destination Path
Recursively Remove Adjacent Duplicates
String Ignorance
A Boolean Matrix Problem
Toggle The Middle
XOR Pair
Average of String
Closest friends!
Pairing the brackets
Matrix - Destination
Maximum Integer Value
Triangle and Square
M and N
Minimum Cost of Gas
Tower Construction
Continuous Series
Maximize The Profit
The Manipulator
Facebook friend or not?
Scalene or Not
Reverse a linked list
Delete N nodes after M nodes of a linked list
Pairwise swap elements of a linked list
Node at a given index in linked list
Remove duplicates from an unsorted linked list
Split a Linked List into two halves
Delete in a Doubly Linked List
Inorder Traversal
Bubble 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
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
Level Order in spiral form
Reverse Level Order Traversal
Stack using Linked List
Insert a node in a BST
BFS of graph
Identical Trees
Root to leaf path sum
Square Root
Insertion at doubly linked list
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
Unique rows in boolean matrix
Remove every k'th node
Josephus problem
Longest Consecutive Subsequence
Delete in a Singly Linked List
Array Duplicates
Level order traversal
Intersection of Two Linked Lists
Insert in a Sorted List
More than n/k Occurrences
Reverse Using Stack
Symmetric Tree
Huffman Decoding-1
Find length of Loop
Reverse first K of a Queue
Rotate doubly Linked List
Learning Macros
Back to Front
Pair Sum in Vector
Repetitive Printing - Python
Operators in Python
Split the input - Python
Comment in Python
Logical Operators - Python
Increment and Decrement - Python
Bitwise Operators - Python
Mean Finder
Is and In Operator
sep and end in Print()
Max and Second Max
Hashing for pair - 1
Hashing for pair - 2
First Set Bit
Rightmost different bit
Check K-th Bit
Factorial Of Number
Digits In Factorial
GP Term
Primality Test
Longest Consecutive 1's
Exactly 3 Divisors
Mean And Median of Array
Modular Inverse
Power of 2
Swap odd and even bits
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
Roof Top
Sum of upper and lower triangles
Print Matrix in snake Pattern
Transpose of Matrix
Interchanging the rows of a Matrix
Reversing the columns of a Matrix
Exchange matrix columns
Separate chaining in Hashing
Naive Pattern Search
Linear Probing in Hashing
Quadratic Probing in Hashing
Check if a string is Isogram or not
Count Non-Repeated Elements
Print Non-Repeated Elements
Anagram
Winner of an election
String Rotated by 2 Places
Strings Rotations of Each Other
Isomorphic Strings
Most Frequent Character
Reverse Words
Minimum indexed character
Panagram Checking
Repeating Character
Non Repeating Character
Parenthesis Checker
K largest elements
Minimum Cost of ropes
N meetings in one room
Count number of hops
Doubly Linked List Conversion
Single Appearance
Compress String
First Repeating Element
Union of Arrays with Duplicates
Check Equal Arrays
Positive Negative Pair
Missing in Array
Product array puzzle
Roman Number to Integer
Intersection of Arrays with Distinct
Spiral Matrix
StayHomeTask
LCP
Sum of XOR of all sub-arrays
Mario & Pauline
Perfect Pair Sum
Equal Distribution
Rotate Clockwise
Count Triplets
Next element with greater frequency
Missing And Repeating
Non-Repeating Element
Find Kth Rotation
Common in 3 Sorted Arrays
Search in a Row-Column sorted matrix
Move All Zeroes to End
Chocolate Distribution Problem
Count the triplets
Remove Duplicates
Nearest multiple of 10
Facing the sun
Greater on right side
Jumping Caterpillars
Second Largest
Convert array into Zig-Zag fashion
Two Sum - Pair with Given Sum
Rotate Bits
Second most repeated string in a sequence
Find all pairs with a given sum
Number of occurrence
Find missing in second array
Longest Common Prefix of Strings
First Repeated Character
Two sum -Pairs with 0 Sum
At Least K Occurrences
Element with left side smaller and right side greater
Four Elements
Pair with given sum in a sorted array
Shop in Candy Store
Odd Even Problem
Colorful Strings
Minimum Operations
Number of 1 Bits
Armstrong Numbers
Reverse Bits
Max Sum Subarray of size K
Swap two nibbles in a byte
Toggle bits in the given range
Prime Number
Party of Couples
Minimum number of Coins
Number Of Open Doors
Perfect Numbers
Pair cube count
Maximize Toys
Largest number possible
Trailing zeroes in factorial
Sum of all prime numbers between 1 and n
Series GP
Triangular Number
Row with Minimum 1s
Multiply two polynomials
Print Pattern
Kth Smallest Difference
Linked List Group Reverse
Reorder List
Box Stacking
Maximum subset XOR
Merge Sort on Doubly Linked List
Trapping Rain Water
Max Circular Subarray Sum
Pattern Search
Smallest window containing all characters
Find median in a stream
Solve the Sudoku
Minimum Cost Path
Median of Two sorted arrays
Merge Without Extra Space
Count Smaller elements
Edit Distance
Minimum sum partition
Median in a row-wise sorted Matrix
Longest valid Parentheses
Word Break - 2
N-Queen Problem
Geek collects the balls
Rotate Array
Print Linked List
Find Length of Linked List
Count Leaves in Binary Tree
Postorder Traversal
Queue using Linked List
Add two fractions
Replace all 0's with 5
Count zeros in a sorted matrix
Preorder Traversal
First Occurence
Sum Except First and Last
Search a node in BST
Minimum element in BST
Anagram of String
Circular Linked List Traversal
Identical Linked Lists
Sum of Binary Tree
Insert in Middle of Linked List
Alternates in an Array
Sort and Reverse Vector
Start Coding - Python
Space Seperated - Python
Concatenating Strings - Python
Taking input and typecasting - Python
Taking input - Python
Comparison Operators - Python
Two digit Sum
Who has the majority?
Strongest Neighbour
Array insert at index
Array insert at end
Reversing an Array
Absolute Value
Convert Celsius To Fahrenheit
Quadratic Equation Roots
Bit Difference
Number is sparse or not
Binary To Gray Code Conversion
Array Search
Sorted Array Search
Left Index
Adding two matrices
Multiply the matrices
Binary String
Remove common characters and concatenate
Minimum At Pop
First n Fibonacci
Searching in an Array
Sort the Half Sorted
Anagram Palindrome
Check for subsequence
Immediate Smaller Element
Uncommon characters
Repeated Character
First 1 in a Sorted Binary Array
Last index of One
Sort the string in descending order
One odd Occuring
Array Subset
Remove Duplicates from unsorted array
Min and Max in Array
Good or Bad string
GCD of Array
Find position of set bit
Set kth bit
LCM And GCD
House Robber
Sort first half in ascending and second half in descending
Factorial
Sum of Digit is Palindrome or not
Binary number to decimal number
Series AP
Count Squares
Height of Heap
Repetitive Addition Of Digits
Half N by M
Pattern Jumping
Minimum difference pair
nPr
Squares in a Matrix
Reverse an Array
Search in a 2D 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 !