Tutorials
Courses
Data Structure
Java
Python
HTML
Interview Preparation
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
mr_coder9933
Current POTD Streak
STREAK
125
/1431
days
Longest streak/Global longest streak
Institution
Chitkara University Solan
12 Rank
Institute Rank
Language Used
C++, Python, C, Java
Coding Score
1682
Problem Solved
618
Contest Rating
__
Campus Mantri
shivam31454
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
2019
January
February
March
April
May
June
July
SCHOOL (2)
BASIC (93)
EASY (256)
MEDIUM (236)
HARD (31)
Sorting Elements of an Array by Frequency
Nearly Sorted Algorithm
Rotate a Linked List
Add Number Linked Lists
QuickSort on Doubly Linked List
Count BST nodes that lie in a given range
Merge Sort
Quick Sort
Binary Tree from Inorder and Postorder
Bottom View of Binary Tree
Intersection in Y Shaped Lists
Merge two sorted linked lists
Diagonal Tree Traversal
Tree Boundary Traversal
Delete a node from BST
Directed Graph Cycle
Undirected Graph Cycle
LCA in Binary Tree
Absolute List Sorting
Topological sort
Vertical Tree Traversal
Find the number of islands
Get Min from Stack
Serialize and deserialize a binary tree
Generate IP Addresses
Dijkstra Algorithm
Minimum Spanning Tree
Largest BST
Count Palindromic Subsequences
Multiply two strings
Palindrome Linked List
Bipartite Graph
Closest in BST
Pots of Gold Game
Root to leaf paths sum
Bridge edge in a graph
Sort a stack
Top View of Binary Tree
k-th Smallest in BST
Delete nodes greater than k
Root to Leaf Paths
Complete Binary Tree
Counting elements in two arrays
Foldable Binary Tree
Construct Tree from Inorder & Preorder
Predecessor and Successor
C++ Friend function
C++ Generic sort
Cat and Hat
Ceil in BST
Count set bits
Maximum AND Value
Rotate and delete
Rearrange Array Alternately
Rearrange an array with O(1) extra space
Maximum Index
Stock buy and sell
Rotate Array
Kadane's Algorithm
Majority Element
Count Inversions
Smallest Positive missing number
Union of 2 Sorted Arrays
Indexes of Subarray Sum
Count the number of possible triangles
Triplet Sum in Array
Merge Without Extra Space
Spirally traversing a matrix
Search in a sorted Matrix
Distance of nearest cell having 1
Unit Area of largest region of 1's
Longest Consecutive Subsequence
Case-specific Sorting of Strings
K Sized Subarray Maximum
Kth smallest element
Fractional Knapsack
Job Sequencing Problem
Black and White
M-Coloring Problem
Stickler Thief
Ways to Reach the n'th Stair
Egg Dropping Puzzle
0 - 1 Knapsack Problem
Number of Unique Paths
Allocate Minimum Pages
Preorder to BST
X Total Shapes
Zero Sum Subarrays
Kth Smallest
Nth Catalan Number
Rotten Oranges
Most frequent word in an array of strings
Maximize The Cut Segments
Container With Most Water
Print Anagrams Together
Top K Frequent in Array
Prerequisite Tasks
Sort 0s, 1s and 2s
Paths to reach origin
Complement
Maximum Sub Array
Large Factorial
Maximize Number of 1's
Count of Subarrays
Single Among Doubles
Sum of bit differences
Count Full Binary Trees
Efficiently sorting numbers in range from 0 to n^2 - 1
Water Collection
Alternate Vowel and Consonant String
Add Binary Strings
Sort the given array after applying the given equation
Row with max 1s
Form a palindrome
Nuts and Bolts Problem
Rotate a Matrix
Longest Subarray with Sum K
Sum of two large numbers
Reverse each word in a given string
The Tiny Miny
k largest elements
Sum of XOR of all pairs
K-th element of two Arrays
Rod Cutting
Missing element of AP
Maximize the sum of selected numbers from a sorted array to make it empty
Build the smallest
Minimize the Heights II
Reaching the heights
A difference of values and indexes
Nine Divisors
Find patterns
Friends Pairing Problem
Lexicographically smallest string
Unique Number II
3 Divisors
Coin Change (Count Ways)
Power Of 2 and Subsequences
Shreyansh and his bits
Knapsack with Duplicate Items
Longest Bitonic subsequence
Count distinct pairs with difference k
Array Pair Sum Divisibility Problem
Magic Triplets
Fill up buckets
Killing Spree
Unique partitions
Yes XOR No
Akku and Binary Numbers
Number of paths
Nth Natural Number
Knight Walk
Stepping Numbers
LCM Triplet
Fact Digit Sum
Jumping Numbers
A Game of LCM
Fraction to Repeating Decimal
Grouping Of Numbers
Find the Safe Position
Missing number in matrix
Smaller on Left
Geek and knots
Filling Bucket
Composite and Prime
Decode the string
Maximum Sub-String after at most K changes
2D Hopscotch
Print leaf nodes from preorder traversal of BST
Longest Perfect Piece
Geek and Strings
The Smurfs
Satisfy the equation
Replace O's with X's
Two numbers with odd occurrences
Find all distinct subset (or subsequence) sums
Queries on a Matrix
Floyd Warshall
Base Equivalence
Reverse Spiral Form of Matrix
Geek and Number String
Save Your Life
Hamiltonian Path
Jump Game
Max Diff Elements and Indexes
Iterative Inorder
Triplets with sum with given range
Preorder traversal (Iterative)
Iterative Postorder
Subset Sum Problem
Bellman-Ford
Player with max score
Sort a 2D vector diagonally
Remove K Digits
Substrings of length k with k-1 distinct elements
Number of Provinces
Maximum sum leaf to root path
Single valued subtree
BST to max heap
Flatten binary tree to linked list
IPL 2021 - Match Day 2
Unique Number III
Course Schedule
Enemy
Levels Of Game
Smallest sum contiguous subarray
Array Removals
Minimum Cost to cut a board into squares
Stack Permutations
Largest subtree sum in a tree
Replace every element with the least greater element on its right
Minimize connections
Minimum Swaps
Construct Binary Tree from String with bracket representation
Check if all levels of two trees are anagrams or not
Remove and Reverse
Jumping Towers
Number of Distinct Islands
Shortest Distance in a Binary Maze
Minimum Multiplications to reach End
Number Of Enclaves
Eventual Safe States
Alex Travelling
Number Of Islands
Merging Details
Geekland Colosseum
Number of Ways to Arrive at Destination
Path With Minimum Effort
Cheapest Flights Within K Stops
Maximum Stone Removal
Shortest path in Directed Acyclic Graph
Sum of Beauty of All Substrings
Asteroid Collision
Aggressive Cows
Shortest Path in Weighted undirected graph
Find minimum number of Laptops required
Reorder List
Binary Tree to DLL
Box Stacking
Partition array to k subsets
Alien Dictionary
Fixing Two nodes of a BST
Number of Turns in Binary Tree
Trapping Rain Water
Max Circular Subarray Sum
Word Ladder I
Burning Tree
Minimum sum partition
Number Formation
Matrix Chain Multiplication
Bit Difference
Median in a row-wise sorted Matrix
Phone directory
Articulation Point - II
Huffman Encoding
Smallest Positive Integer that can not be represented as Sum
Minimum X (xor) A
Count occurrences of a given word in a 2-d array
Word Ladder II
Split Array Largest Sum
Shortest Path by Removing K walls
Articulation Point - I
Min Chars to Add for Palindrome
Minimum time to fulfil all orders
Navigate Island Country
Maximum Connected group
MaxSkill
Sahil love good scorer
Reverse a linked list
Inorder Traversal
Reverse a Doubly Linked List
Bubble Sort
Selection Sort
Insertion Sort
Right View of Binary Tree
K distance from root
Mirror Tree
Maximum Width of Tree
Delete without head pointer
Height of Binary Tree
Middle of a Linked List
Left View of Binary Tree
Find Transition Point
Queue using two Stacks
Stack using two queues
DFS of Graph
Stack using Linked List
Insert a node in a BST
BFS of graph
Identical Trees
Square Root
Lowest Common Ancestor in a BST
Binary Search
Remove Duplicates Sorted Array
Minimum Depth of a Binary Tree
Equilibrium index of an array
Josephus problem
Expression Tree
Max distance between same elements
Count Occurrence of digit k
Array Duplicates
Inorder Successor in BST
Index of an Extra Element
Sum of leaf nodes in BST
Counting Sort
Reverse Using Stack
XOR of a given range
Symmetric Tree
Next Right Node
Count Pairs whose sum is equal to X
Queue Reversal
Reverse first K of a Queue
Sum of Leaf Nodes
Delete Mid of a Stack
Product of an Array
C++ Template
The New Line
Data Types
Taking input
Learn to Comment
GetLine and Ignore
Learning to be precise
Bitwise Operators
Even Odd
For Loop- primeCheck
While loop- printTable
Learning Macros
Step by Step Condition
Start Coding - Java
The New Line - Java
Data Types - Java
Taking input - Java
Learn to Comment - Java
nextLine and next
Precise Format - Java
logical Operators - Java
Bitwise Operators - Java
Even Odd - Java
For Loop- primeCheck - Java
While loop- printTable - Java
Step by Step Condition - Java
Swap the array elements
Count the Specials
Matrix Interchange
Predict the Column
Xoring and Clearing
Consonants and Vowels check
Even Subsets
Almost Equal
The Pattern Matcher
Count Odd Even - Java
The Pattern Matcher - Java
Need Some Change - Java
Count the Specials - Java
Even Subsets - Java
Matrix Interchange - Java
Consonants and Vowels check - Java
Predict the Column - Java
Xoring and Clearing - Java
Swap values using References
Swap the objects
Structs and Objects
Two Dimensional World
Learning Structs
Delete Array
Pair in Java
Maximum Area Rectangle
Sum of Big Integers
BigInteger Multiply
BigInteger mod
Find the Frequency
Back to Front
Pair Sum in Vector
Student of the Year
Java ArrayList Operation
Reverse an Array
Stack Operations
Frequency in Queue
Operations on PriorityQueue
Get min at pop
Deque Implementations
Min Heap implementation
Multiset Operations
Repetitive Printing - Python
Comment in Python
Increment and Decrement - Python
Bitwise Operators - Python
If conditional statement- Python
Mark Even and Odd - Python
For loop - Python
For Loop 2- Python
While loop in Python
Jumping through While - Python
Slicing in String - Python
Repeat the Strings - Python
String Functions - II - Python
String Functions I - Python
sep and end in Print()
First Set Bit
Rightmost different bit
Check K-th Bit
Digits In Factorial
GP Term
Primality Test
Longest Consecutive 1's
Exactly 3 Divisors
Power of 2
Swap odd and even bits
Wave Array
Frequencies in a Limited Array
Equilibrium Point
Array Leaders
Floor in a Sorted Array
Intersection of two sorted arrays
Transpose of Matrix
Rotate by 90 degree
Anagram
Strings Rotations of Each Other
Reverse Words
Non Repeating Character
Minimum indexed character
K largest elements
Minimum Cost of ropes
N meetings in one room
Reach a given score
First Repeating Element
Check Equal Arrays
Find Immediate Smaller Than X
Missing in Array
Product array puzzle
Search an element in sorted and rotated array
Adding Ones
Maximum no of 1's row
Sum of elements between k1'th and k2'th smallest elements
Next greater number set digits
Search in a Row-Column sorted matrix
Move All Zeroes to End
Find Pair Given Difference
Bitonic Point
Left most and right most index
Single Number
Alternate Positive Negative
Check if the number is balanced
Remove Duplicates
Nearest multiple of 10
Facing the sun
Count Substrings
Twice Counter
Second Largest
Convert array into Zig-Zag fashion
Two Sum - Pair with Given Sum
Rearrange to Make arr[i] = i
Sort Unsorted Subarray
Number of occurrence
Convert an array to reduced form
Find missing in second array
First Repeated Character
Counts Zeros Xor Pairs
Two sum -Pairs with 0 Sum
Segregate 0s and 1s
Play With OR
At Least K Occurrences
Count the Zeros
Fitting The Array
Balanced string
Is Binary Number Multiple of 3
Divisibility by 8
Adding Array Elements
Number of 1 Bits
Change Bits
Swap two nibbles in a byte
Toggle bits in the given range
Party of Couples
Shortest path from 1 to n
Compute (a*b)%c
The Bit Game
Minimum number of Coins
Number Of Open Doors
Break a number
Perfect Numbers
Smallest number with sum of digits as N and divisible by 10^N
Adjacents are not allowed
Maximize Toys
Largest number possible
Penalty Shooters
Trailing zeroes in factorial
Form a number divisible by 3 using array digits
Right angled triangles
Woodall Number
Tom and Jerry
Help Ishaan
Sequence Fun
Help the Old Man!!!
Primes sum
Print the pattern
Chicks in a Zoo
Maximum Sum LCM
Check if it is possible to convert one string into another with given constraints
Minimum Exchange
Earthquake and the Paint Shop
Count all possible paths from top left to bottom right
Ball coloring
Modified Numbers and Queries
Sum of k smallest elements in BST
Print Diagonally
Plus One
Sum of two numbers without using arithmetic operators
Search insert position of K in a sorted array
Binary Search in forest
Maximum number of 2X2 squares
Minimum Swaps
License Key Formatting
Find all possible paths from top to bottom
Smallest Subset with Greater Sum
Minimum Sum of Absolute Differences of Pairs
Move Last Element to Front of a Linked List
Find pairs with given sum in doubly linked list
Subsequence Mex
Again Permutation
Assign Tasks
Maximum Frequency
Even subarray sum
Police Station
Rotate Array
Sort String
Count Linked List Nodes
Size of Binary Tree
Count Leaves in Binary Tree
Postorder Traversal
Implement stack using array
Replace all 0's with 5
Count zeros in a sorted matrix
Preorder Traversal
C++ STL | Set 1 (vector)
Sum Except First and Last
Search a node in BST
Equal Sum and XOR
Smallest divisible number
Peak element
Minimum element in BST
Is Linked List Length Even?
Sum of Binary Tree
Start Coding
The Size of
Logical Operators
Count Odd and Even
Sort and Reverse Vector
Front to Back
Stack designer
Queue Push & Pop
Start Coding - Python
Space Seperated - Python
Concatenating Strings - Python
Taking input and typecasting - Python
Taking input - Python
Zero Converter - Python
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
Reverse array in groups
Array Search
Binary Array Sorting
Adding two matrices
Most Frequent Character
Addition Under Modulo
First n Fibonacci
C++ Hello World
Searching in an Array
Immediate Smaller Element
Repeated Character
Max and Min Product from 2 Arrays
Last index of One
Largest Element in Array
Game with nos
Exceptionally odd
Rotating an Array
Minimum number to form the sum even
Min and Max in Array
Multiply left and right array sum
GCD of Array
GCD of two numbers
Find unique element
1s Complement
Odd or Even
One's Complement
XOR of all elements
The OR Gate
The AND Gate
Binary representation
Check for Power
Even Odd Sum
Find position of set bit
Set kth bit
Smallest power of 2 greater than or equal to n
XOR Count Zero and One
Find the fine
LCM And GCD
Maximum Area
Celsius to Fahrenheit Conversion
Factorial
Reverse digits
Check if two given circles touch each other
Ways To Tile A Floor
Anshuman's Favourite Number
Print the Kth Digit
Unique Numbers
Doctors Clinic
Repetitive Addition Of Digits
Maximum Handshakes
Finding Position
Squares Difference
Max Min
Search in a 2D Matrix
Arrays (Sum of array)
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 !