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
saurabh1975
Current POTD Streak
STREAK
47
/1482
days
Longest streak/Global longest streak
Institution
Lakshmi Narain College of Technology & Science (LNCTS) Bhopal
25 Rank
Institute Rank
Language Used
C++, C, Python, Java
Coding Score
1997
Problem Solved
873
Contest Rating
__
Apply for Campus Mantri
29 points
Contributor
29 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
January
February
March
April
May
June
July
August
SCHOOL (2)
BASIC (188)
EASY (371)
MEDIUM (289)
HARD (23)
Reverse a linked list
Frequency in 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
Linked list of strings forms a palindrome
Compare two linked lists
Delete nodes having greater value on right
Remove duplicates from an unsorted linked list
Split a Linked List into two halves
Delete in a Doubly Linked List
Inorder Traversal
Reverse a Doubly Linked List
Bubble Sort
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
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
Delete Middle of Linked List
Decimal Equivalent of Binary Linked List
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
Implement stack using array
Insert a node in a BST
BFS of graph
Identical Trees
Root to leaf path sum
Square Root
Nodes without a Sibling
Lowest Common Ancestor in a BST
Binary Search
Run Length Encoding
Largest subarray of 0's and 1's
Remove Duplicates Sorted Array
Level Order Line by Line
BST Keys in a Range
Minimum Depth of a Binary Tree
Remove Duplicates from an array
Equilibrium index of an array
Unique rows in boolean matrix
Remove every k'th node
Leaves at Same Level or Not
Third largest element
Multiply two linked lists
Josephus problem
Max distance between same elements
Count Occurrence of digit k
Delete in a Singly Linked List
Kth largest element in BST
Minimum distance in an Array
Array Duplicates
Special Stack
Three way partitioning
Inorder Successor in BST
Index of an Extra Element
Operating an array
Increment a variable
Intersection of Two Linked Lists
Insert in a Sorted List
Split Linked List Alternatingly
Play with an array
More than n/k Occurrences
Max and min element in Binary Tree
Reverse Using Stack
Symmetric Tree
Delete Alternate Nodes
Merge Lists Alternatingly
Find the Sum of Last N nodes of the Linked List
Count Pairs whose sum is equal to X
Find length of Loop
Median of BST
Find n/k th node in Linked list
Maximum Pairwise Computed Value
Queue Reversal
Reverse first K of a Queue
Magical Number
Sum of Leaf Nodes
Sum of Right Leaf Nodes
Sum of Left Leaf Nodes
C++ STL Priority Queue
Move all zeros to the front of the linked list
Delete Mid of a Stack
Product of an Array
C++ Multi-level inheritance
C++ Function overloading
The New Line
Data Types
Taking input
Learn to Comment
GetLine and Ignore
Learning to be precise
For Loop- primeCheck
While loop- printTable
Learning Macros
Step by Step Condition
Start Coding - Java
Taking input - Java
nextLine and next
Swap the array elements
Count the Specials
Consonants and Vowels check
Almost Equal
Count Odd Even - Java
Swap values using References
Two Dimensional World
Delete Array
Find the Frequency
Back to Front
Pair Sum in Vector
Java ArrayList Operation
Stack Operations
Frequency in Queue
Get min at pop
Deque Implementations
Multiset Operations
Decimal to binary
First Set Bit
Rightmost different bit
Check K-th Bit
Longest Consecutive 1's
Modular Inverse
Power of 2
Swap odd and even bits
Frequencies in a Limited Array
Equilibrium Point
Array Leaders
Floor in a Sorted Array
Minimum Number in a sorted rotated array
Roof Top
Print adjacency list
Sum of upper and lower triangles
Transpose of Matrix
Matrix Boundary Traversal
Check if a string is Isogram or not
Anagram
Winner of an election
String Rotated by 2 Places
Isomorphic Strings
Most Frequent Character
Reverse Words
Sum of numbers in string
Minimum indexed character
Panagram Checking
Non Repeating Character
Parenthesis Checker
Minimum indexed character
Generate Binary Numbers
K largest elements
Minimum Cost of ropes
Largest number with given sum
Count ways to N'th Stair
Pattern searching
First Repeating Element
Union of Arrays with Duplicates
Common Elements
Check Equal Arrays
Numbers containing 1, 2 and 3
Positive Negative Pair
Missing in Array
Product array puzzle
Roman Number to Integer
Search an element in sorted and rotated array
Intersection of Arrays with Distinct
Adding One
Max Value Permutation
Missing And Repeating
Find Index
Non-Repeating Element
Pairs of equals Sum
Max value
Count the elements
Find Kth Rotation
Find the closest number
Finding-Pairs
Pairs with certain difference
Common in 3 Sorted Arrays
Sorted and Rotated Minimum
Search in a Row-Column sorted matrix
Move All Zeroes to End
String Duplicates Removal
Min sum formed by digits
Missing number
Move all negative elements to end
String Manipulation
Chocolate Distribution Problem
Count the triplets
Find Pair Given Difference
Bitonic Point
Find Duplicate Element
Left most and right most index
Smallest subarray with sum greater than x
Sort Array II
Closest Strings
Single Number
Alternate Positive Negative
Remaining String
Closing bracket index
Remove Consecutive Characters
Convert a sentence into its equivalent mobile numeric keypad sequence
Remove b and ac from a given string
Check if the number is balanced
Rearrange a string
Remove Duplicates
Compete the skills
Convert the string
Sorting Employees
Nearest multiple of 10
Add two numbers represented by two arrays
Reorganize The Array
Sum of two numbers represented as arrays
Facing the sun
Greater on right side
Count Substrings
Twice Counter
Second Largest
Convert array into Zig-Zag fashion
Two Sum - Pair with Given Sum
Rotate Bits
Second most repeated string in a sequence
Check if array contains contiguous integers
Sort Unsorted Subarray
Find all pairs with a given sum
Number of occurrence
Maximum repeating number
K-Pangrams
Find the left over element
Reversing the equation
Divisibility by 999
Does array represent Heap
Longest common prefix
Modify the Array
Convert an array to reduced form
Check if array is sorted
Sum Pair closest to target
Find missing in second array
Longest Common Prefix of Strings
First Repeated Character
Special array reversal
Even and odd elements at even and odd positions
Two sum -Pairs with 0 Sum
Segregate 0s and 1s
Maximum number of zeroes
Play With OR
Hungry Pizza Lovers
Three Great Candidates
At Least K Occurrences
Element with left side smaller and right side greater
Find the closest pair from two arrays
Merging two unsorted arrays in sorted order
Count the Zeros
Merge two binary Max heaps
Four Elements
First and Second Smallests
Palindrome String
Total count
Search array with adjacent diff at most k
Fitting The Array
K-th missing element
Pair with given sum in a sorted array
Pattern Searching
Count number of words
Print Bracket Number
Easy string
Divisible by 7
Shop in Candy Store
Partition a number into two divisible parts
Common Subsequence OldP
Is Binary Number Multiple of 3
Extract the Number from the String
Minimum Operations
Adding Array Elements
Number of 1 Bits
Armstrong Numbers
Pairs with Positive Negative values
Nth Fibonacci Number
Ceil The Floor
Count digits in a factorial
Copy Set Bits in Range
Count Digits
Sum Of Digits
Palindrome
Toggle bits in the given range
Prime Number
Count Odd Factors
Sum 1 to n Divisors
Number Of Open Doors
Perfect Numbers
Nth item through sum
Incomplete Array
Smallest number with sum of digits as N and divisible by 10^N
C++ Exception Handling
Largest number possible
Cutting Rectangles
Trailing zeroes in factorial
Form a number divisible by 3 using array digits
Sum of First N Natural Numbers
Boundary Elements of Matrix
Trace Path
Inorder Traversal and BST
Print Pattern
Primes sum
K-Ary Tree
Array to BST
Ball coloring
Fraction Trouble
Plus One
Sum of two numbers without using arithmetic operators
Even and Odd
Search insert position of K in a sorted array
Queue using stack
Maximum number of 2X2 squares
First and last occurrences of x
License Key Formatting
Count the Substrings
Smallest Subset with Greater Sum
Minimum Sum of Absolute Differences of Pairs
Move Last Element to Front of a Linked List
Insert an Element at the Bottom of a Stack
Triangle and Square
Pattern 2
Pattern 3
Pattern 4
Maximum Depth Of Binary Tree
Minimize the sum
Last modified ball
Find the first node of loop in linked list
Type it!
Balloon Everywhere
Reverse both parts
Frogs and Jumps
Make Array Elements Equal
Equal Left and Right Subarray Sum
Make the array beautiful
Remainder on dividing by 11
Is it Fibonacci
Taxi Booking
Max Level Sum in Binary Tree
Binary matrix having maximum number of 1s
Number of Subarrays of 0's
Maximum Identical Bowls
Bus Conductor
Wifi Range
Minimum Number
Minimum Integer
Seating Arrangement
String Mirror
Make Palindrome
Binary Modulo
Total Cuts
Bit Magic
Array Operations
Dominant Pairs
Total Traversal Time
Ticket Counter
Unique Number of Occurrences
Reverse alternate nodes in Link List
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
Merge 2 sorted linked list in reverse order
Detect Loop in linked list
Rearrange linked list in-place
Insert in Sorted Circular Linked List
Count BST nodes that lie in a given range
Merge Sort
Quick Sort
Delete without head pointer
Intersection in Y Shaped Lists
Diameter of a Binary Tree
Merge two sorted linked lists
Sum Tree
Connect Nodes of Levels
Flattening a Linked List
Delete a node from BST
Absolute List Sorting
Two Stacks in an Array
Binary Heap Operations
Largest subarray with 0 sum
Merge K sorted linked lists
Find kth element of spiral matrix
Get Min from Stack
Linked List to Binary Tree
Kth smallest element in a Matrix
Is Binary Tree Heap
Validate an IP Address
Remove loop in Linked List
Count Palindromic Subsequences
Multiply two strings
Implement Atoi
Maximum Difference
Palindrome Linked List
Closest in BST
Count distinct elements in every window
k-Anagram
Merge k Sorted Arrays
Find triplets with zero sum
Sort a stack
Duplicate Subtree
k-th Smallest in BST
Find Common Nodes in two BSTs
Level order traversal
Peak element
Merge Sort for Linked List
Union of Two Linked Lists
Binary Tree to CDLL
Counting elements in two arrays
Construct Tree from Inorder & Preorder
Insert in Sorted way in a Sorted DLL
Children Sum in a Binary Tree
Deletion and Reverse in Circular Linked List
Construct Tree from Preorder Traversal
ZigZag Tree Traversal
C++ Generic sort
Swap Kth nodes from ends
Ceil in BST
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
Kadane's Algorithm
Majority Element
Binary Array Sorting
Count Inversions
Two Repeated Elements
Union of 2 Sorted Arrays
Indexes of Subarray Sum
Count the number of possible triangles
Sort by Absolute Difference
Triplet Sum in Array
Merge Without Extra Space
Boolean Matrix
Search in a sorted Matrix
Rotate by 90 degree
Subarray with 0 sum
Subarray range with given sum
Subarrays with equal 1s and 0s
Sort Elements by Decreasing Frequency
Longest Consecutive Subsequence
Strings Rotations of Each Other
Case-specific Sorting of Strings
Postfix Evaluation
Stock span problem
Next Greater Element
Infix to Postfix
K Sized Subarray Maximum
Nearly sorted
Unique Subsets
Lucky Numbers
Sort according to an Array
Preorder to BST
Zero Sum Subarrays
Find whether path exist
Kth Smallest
Most frequent word in an array of strings
Container With Most Water
Print Anagrams Together
Rotate by 90 degree
Top K Frequent in Array
Closest Three Sum
Word Break
Stock Buy and Sell – Multiple Transaction Allowed
4 Sum - All Quadruples
Sort 0s, 1s and 2s
Pascal Triangle
Maximum Index
Sum of Subarrays
Equal Sum
Longest Span in two Binary Arrays
Maximize Number of 1's
Sum of Middle elements of two sorted arrays
Single Among Doubles in a Sorted
Count Occurences of Anagrams
Single Among Doubles
Pythagorean Triplet
Pair Sum Closest to 0
Search in Rotated Sorted Array
Print Binary Tree levels in sorted order
Maximize The Array
Max Score from Subarray Mins
Water Collection
Super Primes
Subarray Sum Divisible By K
Maximum Product Subarray
Longest subarray with sum divisible by K
Sort the given array after applying the given equation
Row with max 1s
Swapping pairs make sum equal
Column name from a given column number
Concatenation of Zig-Zag String in n Rows
Design a tiny URL or URL shortener
Substrings with K Distinct
Sort in specific order
Nuts and Bolts Problem
Longest Subarray with Sum K
Transform String
Count the Reversals
Sum of two large numbers
Factorials of large numbers
Reverse each word in a given string
Length of the longest substring
Remove leading zeros from an IP address
k largest elements
Sum of XOR of all pairs
Longest substring with distinct characters
Longest Substring with K Uniques
Longest Palindrome in a String
Product Pair
Valid Expression
K-th element of two Arrays
Arranging the array
String formation from substring
Triplets with Smaller Sum
Missing element of AP
First negative in every window of size k
Find k-th character in string
First and Last Occurrences
Palindrome in Alphanumeric String
Smaller on Left
Valid Substring
Find patterns
Permutations of a String
Previous number in one swap
Find largest word in dictionary
Subarrays Product Less than K
Unique Number II
Modular Exponentiation
Largest prime factor
Power Of 2 and Subsequences
Find distinct elements
nCr
Subsets with XOR value
Min Coin
Probability of Knight
Matchsticks game
Killing Spree
Nth Natural Number
Permutation with Spaces
Find Prime numbers in a range
Party in Town
Game with String
Find the Safe Position
Multiply 2 matrices
Smaller on Left
Filling Bucket
How Many X's?
Stream First Non-repeating
Segregate even and odd nodes in a Linked List
Kth Largest in a Stream
Pairs of Non Coinciding Points
The Smurfs
Product of Primes
Eulerian Path in an Undirected Graph
Queries on Strings
Broken blocks
Negative weight cycle
Base Equivalence
Shortest Path between Cities
Moving on grid
Geek and Number String
Recursively Remove Adjacent Duplicates
Theft at World Bank
Repeated String Match
Triplets in Sorted Linked List
Restrictive Candy Crush
Help Classmates
Iterative Inorder
Preorder traversal (Iterative)
Iterative Postorder
Longest Palindromic Substring
Subarrays with sum K
Partition a Linked List around a given value
Substrings of length k with k-1 distinct elements
Clone a stack without using extra space
Count pairs in array divisible by K
Prefix match with other strings
Maximum GCD of siblings of a binary tree
Remove all occurences of duplicates in a linked list
Flatten binary tree to linked list
Unique Number III
Find and Replace in String
Overlapping Intervals
Remove and Reverse
Even Swap
Reverse a Stack
Farthest number
K-th Largest Sum Contiguous Subarray
Maximum Meetings in One Room
Interleave the First Half of the Queue with Second Half
Smallest sum contiguous subarray
Stack Permutations
Replace every element with the least greater element on its right
Special Keyboard 2
Maximum selections
LCP
Next element with greater frequency
Sum of nodes within k distance from target
Minimum increment/decrement to make array non-Increasing
Pattern
Asteroid Collision
Sum of subarray ranges
Task Scheduler
Lemonade Change
Replace elements by its rank in the array
Floor in BST
Flattening a Linked List
Absolute difference divisible by K
Make array elements unique
Next Greater Element in Circular Array
Carpet into Box
Geeks And The String
Find the longest string
Minimum repeat to make substring
Intersection Point in Y Shaped Linked Lists
Minimum Days
Prime List
Apple Sequences
Maximum Intersecting Lines
Shy Geek
Count Special Numbers
Minimum Steps Required
Maximum Triplet product
Maximum Possible Value
Distinct Difference
Anagrams in Linked List
Yet another query problem
Maximum Length
Remove the balls
Unequal Arrays
Prefix Suffix String
Smaller Sum
BST Maximum Difference
Nearest smaller tower
Powerful Integer
Easy Task
Add Minimum Characters
Print Linked List
Find Length of Linked List
Check for Binary String
Size of Binary Tree
Count Leaves in Binary Tree
Postorder Traversal
Queue using Linked List
Queue Using Array
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)
C++ STL | Set 3 (map)
C++ STL | Set 5 (queue)
Search a node in BST
Remainder with 7
HashMap Operations
Palindromic Array
Linked List Insertion At End
C++ Functions (Sum of numbers) | Set 1
Minimum element in BST
Anagram of String
Is Linked List Length Even?
Identical Linked Lists
Modular Node
Triplet Family
Sum of Binary Tree
Insert in Middle of Linked List
Pairwise Consecutive Elements
Alternates in an Array
C++ Inheritance introduction
Start Coding
The Size of
Logical Operators
Count Odd and Even
Sort and Reverse Vector
Front to Back
Stack designer
Queue Push & Pop
Set Operations
Map Operations
Bit Difference
Number is sparse or not
Print 1 To N Without Loop
Array Search
Sorted Array Search
Binary String
Remove common characters and concatenate
Reverse a String
Keypad typing
First n Fibonacci
C++ Hello World
Find second largest element
Merge and Sort
Palindrome Array
Sum of Array
Sum of Natural Numbers
Searching in an Array
Doubling the value
Count pair sum
Print Elements of Array
Remove consonants from a string
Balanced Array
Sort the Half Sorted
At least two greater elements
Type of array
Sort a String
Anagram Palindrome
Alternative Sorting
Check if divisible by 4
Change the string
Maximum product of two numbers
Value equal to index value
Check for subsequence
Check String
Convert a list of characters into a String
Segregate Even and Odd numbers
Odd to Even
Count of camel case characters
Remove vowels from string
Fighting the darkness
Reverse sub array
Immediate Smaller Element
Sum of distinct elements
Count the characters in each word in a given sentence
Count the characters
Count type of Characters
Uncommon characters
Quick Left Rotation
Swap kth elements
Reversing the vowels
Rock Paper Scissors!
Lower case to upper case
Smaller and Larger
Remove repeated digits in a given number
Remove Spaces
Repeated Character
First 1 in a Sorted Binary Array
Max and Min Product from 2 Arrays
The Penalty Shootout
Elements in the Range
Display longest name
Find element at a given Index
Last index of One
Upper Case Conversion
Floating point number even or odd
Sort the string in descending order
Merge two strings
Message decoding
Crazy String
String with numbers at its end
Largest Element in Array
Rotate Array by One
Game with nos
One odd Occuring
Ishaan Loves Chocolates
Split Strings
Array Subset
Rotating an Array
Product is even or odd?
Remove Duplicates from unsorted array
C++ Strings
Count of smaller elements
Min and Max in Array
Multiply left and right array sum
Positive and negative elements
Extract Maximum
Smallest number repeating K times
Print first letter of every word in the string
Extraction of secret message
Last index of a character in the string
Minimize string value
Remove character
Red OR Green
Convert String to LowerCase
Snake Case
The Muskteers
Delete alternate characters
Reverse a String
Sort the fest
C++ Basic Data types
Java Substring
Difference between highest and lowest occurrence
GCD of two numbers
Find unique element
C++ if-else (Decision Making)
Addition of Two Numbers
C++ Input / Output
Odd or Even
C++ Switch Case Statement
C++ Operators | Set 1 (Arithmetic)
Find position of set bit
Set kth bit
Java Hello World
Find the fine
LCM And GCD
Leap Year
Median of an Array
Celsius to Fahrenheit Conversion
Factorial
Automorphic Number
Sum of Digit is Palindrome or not
Greatest of three numbers
Reverse digits
Binary number to decimal number
Series AP
Sum of elements in a matrix
Multiplication Table
Remainder Evaluation
Print 1 to n without using loops
Middle of Three
Print the Kth Digit
Swap two numbers
Unique Numbers
String of Commons
Minimum difference pair
Reading books
Finding Position
Addition of two square matrices
Java Iterator
Sorted matrix
Pattern 1
Pattern 5
Pattern 6
Pattern 7
Pattern 8
Linked List Group Reverse
Reorder List
Binary Tree to DLL
AVL Tree Deletion
Trapping Rain Water
Max Circular Subarray Sum
Median of 2 Sorted Arrays of Different Sizes
Count Smaller elements
Longest Prefix Suffix
Next Happy Number
Median in a row-wise sorted Matrix
Kill Captain America
Longest valid Parentheses
Closest Palindrome
Word Wrap
Maximum sum Rectangle
Smallest Positive Integer that can not be represented as Sum
Search Pattern (Rabin-Karp Algorithm)
Sorted Linked List to BST
Array Partition
Minimum time to fulfil all orders
Geek in a Maze
Shortest Path Using Atmost One Curved Edge
Search in a 2D Matrix
Arrays (Sum of array)
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 !