Tutorials
Courses
Go Premium
Data Structure
Java
Python
HTML
Interview Preparation
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
ashishkumargupta054
Current POTD Streak
STREAK
264
/1472
days
Longest streak/Global longest streak
Institution
NIT patna
Language Used
C++, C, Java, Python
Coding Score
3847
Problem Solved
1214
Contest Rating
__
Apply for Campus Mantri
78 points
Contributor
78 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 (3)
BASIC (127)
EASY (476)
MEDIUM (519)
HARD (89)
Implement input/output
Geek and his Marks
Valid String
Contest Score
Geek and Books
Geek and Contest ||
K Subarray Sum
Good Numbers
The Hiring Contest
3 Data structures
Ticket Counter
Geek and New Job
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
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
DFS of Graph
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
Insertion at doubly linked list
Lowest Common Ancestor in a BST
Binary Search
Run Length Encoding
Remove Duplicates Sorted Array
Level Order Line by Line
BST Keys in a Range
Minimum Depth of a Binary Tree
Odd even level difference
Binary Tree to BST
Equilibrium index of an array
Unique rows in boolean matrix
Remove every k'th node
Leaves at Same Level or Not
Third largest element
Convert to Roman No
Match specific pattern
Multiply two linked lists
C++ STL | Set 2 (pair)
Josephus problem
Expression Tree
Max distance between same elements
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
Three way partitioning
Inorder Successor in BST
Index of an Extra Element
Intersection of Two Linked Lists
Insert in a Sorted List
Split Linked List Alternatingly
Level of a Node in Binary Tree
Sum of leaf nodes in BST
More than n/k Occurrences
Counting Sort
Max and min element in Binary Tree
Perfect Binary Tree
Reverse Using Stack
XOR of a given range
Symmetric Tree
Delete Alternate Nodes
Construct BST from Postorder
Merge Lists Alternatingly
Find the Sum of Last N nodes of the Linked List
Next Right Node
Count Pairs whose sum is equal to X
Depth of node
Maximum Node Level
Find length of Loop
Change of Key in BST
Median of BST
Leaf under budget
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
Sum of Leaf Nodes
Sum of Right Leaf Nodes
Sum of Left Leaf Nodes
Nodes at Odd Levels
Closest Neighbour in BST
Brothers From Different Roots
Exchange the Leaf Nodes
Sum of Leaf Nodes at Min Level
C++ STL Priority Queue
Tilt of Binary Tree
Move all zeros to the front of the linked list
Delete Mid of a Stack
C++ Function overloading
C++ complex number addition (operator overloading)
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
Learn to Comment - 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
Matrix Interchange - Java
Swap values using References
Swap the objects
Structs and Objects
Two Dimensional World
Learning Structs
Delete Array
Find the Frequency
Back to Front
Pair Sum in Vector
Student of the Year
Stack Operations
Frequency in Queue
Operations on PriorityQueue
Get min at pop
Deque Implementations
Min Heap implementation
Frequency Game
Multiset Operations
Multimap Operations
Inorder traversal of a BST
Levelorder traversal of a BST
Decimal to binary
Queue using circular array
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
Modular Inverse
Power of 2
Swap odd and even bits
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
Intersection of two sorted arrays
Sort by Absolute Difference
Print adjacency list
Sum of upper and lower triangles
Print Matrix in snake Pattern
Transpose of Matrix
Matrix Boundary Traversal
Naive Pattern Search
Check if a string is Isogram or not
Print Non-Repeated Elements
Anagram
Winner of an election
String Rotated by 2 Places
Isomorphic Strings
Most Frequent Character
The Modified String
Reverse Words
Sum of numbers in string
Minimum indexed character
Panagram Checking
Repeating Character
Non Repeating Character
Parenthesis Checker
Generate Binary Numbers
K largest elements
Minimum Cost of ropes
N meetings in one room
Largest number with given sum
Count Digits in a Number
Digital Root
Reach a given score
Union-Find
Count number of hops
Pattern searching
First Repeating Element
Union of Arrays with Duplicates
Check Equal Arrays
Positive Negative Pair
Find Immediate Smaller Than X
Two Sum
Missing in Array
Product array puzzle
Roman Number to Integer
Search an element in sorted and rotated array
Circular Linked List Delete at Position
Intersection of Arrays with Distinct
Mean of range in array
Max Value Permutation
Missing And Repeating
Non-Repeating Element
Pairs of equals Sum
Find Kth Rotation
Find the closest number
Sort by Set Bit Count
Professor and Parties
k sorted array
Maximize sum after K negations
Adding Ones
Pairs with certain difference
Common in 3 Sorted Arrays
Sorted and Rotated Minimum
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
String Duplicates Removal
Min sum formed by digits
Minimize the sum of product
Missing number
Move all negative elements to end
Unusual String Sort
String Manipulation
Chocolate Distribution Problem
Count the triplets
Sort the way !
Find Pair Given Difference
Swap and Maximize
Bitonic Point
Left most and right most index
Smallest subarray with sum greater than x
Closest Strings
Alternate Positive Negative
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
Sort in specific order
Rearrange a string
Remove Duplicates
Nearest multiple of 10
Toppers Of Class
Facing the sun
Greater on right side
Twice Counter
Bitonic Generator Sort
Second Largest
Two Sum - Pair with Given Sum
Rotate Bits
Second most repeated string in a sequence
Check if array contains contiguous integers
Find all pairs with a given sum
Number of occurrence
Reversing the equation
Does array represent Heap
Longest common prefix
C++ Visible Numbers
Convert an array to reduced form
Check if array is sorted
Consecutive Array Elements
Find missing in second array
String's Count
Longest Common Prefix of Strings
First Repeated Character
Prime String
String comparison
Min Number of Flips
Counts Zeros Xor Pairs
Two sum -Pairs with 0 Sum
Segregate 0s and 1s
Play With OR
Hungry Pizza Lovers
Find the closest pair from two arrays
Maximum sum of increasing order elements from n arrays
Merging two unsorted arrays in sorted order
Count the Zeros
Length of longest subarray
Merge two binary Max heaps
Four Elements
First and Second Smallests
Palindrome String
Maximum average subarray
Maximum number of partitions that can be sorted individually to make sorted
Search array with adjacent diff at most k
Sorting all array elements except one
Delete Array Elements
Smallest greater elements in whole array
Fitting The Array
Pair with given sum in a sorted array
Pattern Searching
Print Bracket Number
Easy string
Shop in Candy Store
Partition a number into two divisible parts
Encrypt the string - 2
Is Binary Number Multiple of 3
Minimum Operations
Adding Array Elements
Number of 1 Bits
Find the Highest number
The Nth Fibonnaci
Midori and chocolates
Max Sum Subarray of size K
Nth Fibonacci Number
Change Bits
Swap two nibbles in a byte
Count digits in a factorial
Copy Set Bits in Range
Toggle bits in the given range
Prime Number
Shortest path from 1 to n
Sum 1 to n Divisors
Find maximum number
Swap bits
Number Of Open Doors
Right most non zero digit
Perfect Numbers
Nth item through sum
Palindrome numbers
Maximize Toys
Largest number possible
Print this pattern!
Trailing zeroes in factorial
Form a number divisible by 3 using array digits
Permutations and Sum
Circular Prime Number
Summed Matrix
Maximum Diamonds
Arithmetic Number
Row with Minimum 1s
Make Zeroes
Surround the 1's
Count Primes In Range
Boundary Elements of Matrix
Coverage of all Zeros in a Binary Matrix
Lexicographically Previous Permutation
Inorder Traversal and BST
Sequence Fun
Letters Collection
Game of digits
Minimise the maximum difference
Rearrange Geek and his Classmates
Bit Difference
Repeated String Match
Rotate Clockwise
Count Triplets
Array Arrangement
Kronecker Product
Help the Old Man!!!
Inverted triangle of stars
Print Pattern
Y shaped pattern
Primes sum
Print the pattern
Maximum Sum LCM
K-Ary Tree
Binary Tree K level sum
Array to BST
Ball coloring
Rearrange Geek and his Classmates
Fraction Trouble
Shortest distance in infinite tree
Sum of k smallest elements in BST
CPH - Count Set Bit
Print Diagonally
CPH - Count Digits
CPH - Count Distinct Elements
CPH - Sort the List
CPH - Find GCD
CPH - Maximize Number of Items
Gadgets of Doraland
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
Largest value in each level
Design HashMap
First and last occurrences of x
Geek and Snow Fighting
Count the Substrings
Fast Lookups
Most frequent
Minimum-Maximum Sorting
Can Nobita meet Sizuka?
Will Dekisugi prove his intelligence?
Will Sizuka be impressed?
Count the Subarrays
Find all possible paths from top to bottom
Split the binary string into substrings with equal number of 0s and 1s
Smallest Subset with Greater Sum
Minimum Sum of Absolute Differences of Pairs
Smallest window containing 0, 1 and 2
Move Last Element to Front of a Linked List
Insert an Element at the Bottom of a Stack
Can Make Triangle
Matrix Operations
Triangle and Square
String Matching
Geek and Buildings
Problem Setting at GFG
Beautiful Number
Maximum Number
Complete the Staircase
Count the Substrings
Maximum Depth Of Binary Tree
Minimize the sum
CBA Subsequence
Transform to Sum Tree
Parent of Max GCD Siblings in a Binary Tree
Find the first node of loop in linked list
Type it!
Min operations
Last cell in a Matrix
Reverse both parts
Cutting Rectangles
Make the array beautiful
Max Level Sum in Binary Tree
Binary matrix having maximum number of 1s
Wifi Range
Dominant Pairs
Ticket Counter
Unique Number of Occurrences
Beautiful Number
Strong Students in School
Nearly Sorted Algorithm
Smaller on Right
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
Linked List in Zig-Zag fashion
Detect Loop in linked list
Rearrange linked list in-place
Quick Sort on Linked List
Insert in Sorted Circular Linked List
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
Delete without head pointer
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
Sum Tree
Connect Nodes of Levels
Flattening a Linked List
Diagonal Tree Traversal
Tree Boundary Traversal
Reverse alternate levels of a perfect binary tree
Delete a node from BST
Directed Graph Cycle
Undirected Graph Cycle
LCA in Binary Tree
Maximum difference between node and its ancestor
Absolute List Sorting
Two Stacks in an Array
Binary Heap Operations
The Celebrity Problem
Largest subarray with 0 sum
Topological sort
Vertical Tree Traversal
Merge K sorted linked lists
Find the number of islands
Find kth element of spiral matrix
Max sum in the configuration
Get Min from Stack
Linked List to Binary Tree
Check if subtree
Extreme nodes in alternate order
Kth smallest element in a Matrix
Is Binary Tree Heap
Validate an IP Address
Remove loop in Linked List
Dijkstra Algorithm
Minimum Spanning Tree
Largest BST
Interleaved Strings
Multiply two strings
Minimum Swaps to Sort
Implement Atoi
Maximum Difference
Palindrome Linked List
Print matrix in diagonal pattern
Rat in a Maze Problem - I
Bipartite Graph
Number of root to leaf paths
Closest in BST
BST with Dead End
Pots of Gold Game
Merge two BST 's
Count distinct elements in every window
k-Anagram
Trie | (Delete)
Merge k Sorted Arrays
Root to leaf paths sum
Longest Palindrome in Linked List
Bridge edge in a graph
Find triplets with zero sum
Sort a stack
Duplicate Subtree
Top View of Binary Tree
k-th Smallest in BST
Find Common Nodes in two BSTs
Level order traversal
Peak element
Polynomial Addition
Delete nodes greater than k
Merge Sort for Linked List
Union of Two Linked Lists
Ancestors in Binary Tree
Binary Tree to CDLL
Pair Sum in BST
Root to Leaf Paths
Complete Binary Tree
Populate Inorder Successor for all nodes
XOR Linked List
Counting elements in two arrays
Construct expression tree
Linked List that is Sorted Alternatingly
Foldable Binary Tree
Leftmost and rightmost nodes of binary tree
Construct Tree from Inorder & Preorder
Arrange Consonants and Vowels
Vertical sum
Mirror of a given node
Pairs violating BST property
Insert in Sorted way in a Sorted DLL
Isomorphic Trees
Maximum path sum from any node
Predecessor and Successor
Leaves to DLL
Children Sum in a Binary Tree
Diagonal sum in binary tree
Deletion and Reverse in Circular Linked List
Normal BST to Balanced BST
Duplicate Subtrees
Construct Tree from Preorder Traversal
Sum of nodes on the longest path
Kth Ancestor in a Tree
Check if two Nodes are Cousins
Convert Level Order Traversal to BST
ZigZag Tree Traversal
Count Number of SubTrees having given Sum
Vertical Width of a Binary Tree
C++ Friend function
C++ Generic sort
Swap Kth nodes from ends
Add two numbers represented by Linked List
Maximum sum of Non-adjacent nodes
Mother Vertex
Floor in BST
Ceil in BST
Pair Sum in BST
Count set bits
Gray to Binary Conversion
Reverse array in groups
Smallest Positive Missing
Power Of Numbers
Wave Array
Possible Words From Phone Digits
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
Two Repeated Elements
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
Possible paths between 2 vertices
Level of Nodes
Make Matrix Beautiful
Boolean Matrix
Spirally traversing a matrix
Search in a sorted Matrix
Rotate by 90 degree
Determinant of a Matrix
Distance of nearest cell having 1
Unit Area of largest region of 1's
Subarray with 0 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
Kth largest element
Kth smallest element
Kth largest element in a stream
K Most occurring elements
Nearly sorted
Rearrange characters
Activity Selection
Minimum Platforms
Largest number in K swaps
Combination Sum
Unique Subsets
M-Coloring Problem
Minimum Jumps
Stickler Thief
Egg Dropping Puzzle
Longest Increasing Subsequence
Longest Common Subsequence
0 - 1 Knapsack Problem
Lucky Numbers
Number of Unique Paths
Sort according to an Array
Allocate Minimum Pages
Preorder to BST
X Total Shapes
Zero Sum Subarrays
Find whether path exist
Kth Smallest
Implement Trie
Shortest Common Supersequence
Nth Catalan Number
Rotten Oranges
Steps by Knight
Most frequent word in an array of strings
Count subsequences of type a^i, b^j, c^k
Print Anagrams Together
Rotate by 90 degree
Top K Frequent in Array
Radix Sort
Word Break
Stock Buy and Sell – Multiple Transaction Allowed
Prerequisite Tasks
4 Sum - All Quadruples
Excel Sheet | Part - 1
Sort 0s, 1s and 2s
Paths to reach origin
Maximum Index
Number of subarrays with maximum values in given range
Flip Bits
Sum of Subarrays
Equal Sum
Top k numbers in a stream
Maximize Number of 1's
Sum of Middle elements of two sorted arrays
Equivalent Sub-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
Smallest number with at least n trailing zeroes in factorial
Print Binary Tree levels in sorted order
Maximize The Array
Max Score from Subarray Mins
Form the Largest Number
Add Binary Strings
Super Primes
Maximum Product Subarray
Longest subarray with sum divisible by K
Row with max 1s
Column name from a given column number
Concatenation of Zig-Zag String in n Rows
Substrings with K Distinct
Form a palindrome
Nuts and Bolts Problem
Rotate a Matrix
Longest Subarray with Sum K
Transform String
Count the Reversals
Number of positive integral solutions
Sum of two large numbers
Max Sum without Adjacents
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
Magnet Array Problem
Smallest distinct window
Longest substring with distinct characters
Longest Substring with K Uniques
Longest Palindrome in a String
Look and Say Pattern
Find the position
Valid Expression
Integer to Words
K-th element of two Arrays
String formation from substring
Triplets with Smaller Sum
Greater tower sum
Number of pairs
Missing element of AP
Min Swaps to Group 1s
Minimum swaps and K together
Smallest Absolute Difference
LCS of three strings
Longest Palindromic Subsequence
First negative in every window of size k
Maximum difference of zeros and ones in binary string
Number of palindromic strings
Minimum sum
First and Last Occurrences
Reaching the heights
Palindrome in Alphanumeric String
Smaller on Left
Minimum Deletions
Maximum Product of Increasing Subsequence of Size 3
Nine Divisors
Valid Substring
Minimum Swaps for Bracket Balancing
Permutations of a String
Missing Intervals
Number following a pattern
Previous number in one swap
Unique Number II
Bleak Numbers
Largest prime factor
Max Sum Increasing Subsequence
Coin Change (Count Ways)
Sieve of Eratosthenes
Coin Change (Minimum Coins)
Perfect Sum Problem
Fibonacci Sum
Kth Smallest Factor
Firing employees
Find distinct elements
Knapsack with Duplicate Items
nCr
Number of ways
Count of sum of consecutives
Subsets with XOR value
Geek and its Game of Coins
Maximum path sum in matrix
Partition Equal Subset Sum
XOR Game
Min Coin
Lucky alive person in a circle
Handshakes
Count possible ways to construct buildings
Count digit groupings of a number
Probability of Knight
Brain Game
Money Distributions
Find Last Digit Of a^b for Large Numbers
Killing Spree
N Digit numbers with digits in increasing order
Yes XOR No
Fill the Tank
Number of paths
Nth Natural Number
Permutation with Spaces
Choose and Swap
Return two prime numbers
Find nth root of m
Sum of Query II
Find Prime numbers in a range
Party in Town
Game with String
Dudeney's Cow Problem
Rotate a Matrix by 180 Counterclockwise
Next Permutation
Smaller on Left
Rotate matrix elements clockwise
Geek and knots
Matrix Exponentiation
Longest Repeating Subsequence
Finding Profession
Decode the string
Preorder Traversal and BST
Stream First Non-repeating
Villain Con
Possible paths
Segregate even and odd nodes in a Linked List
Valid Pair Sum
Ruling Pair
String Reduction Game
Help Classmates
Print leaf nodes from preorder traversal of BST
Tricky Subset Problem
Rat Maze With Multiple Jumps
Pairs of Non Coinciding Points
7 Segment Display
Product of Primes
Make it Colorful
Eulerian Path in an Undirected Graph
Transitive closure of a Graph
Replace O's with X's
nCr mod M | Part 2
Mail System Design
Check Mirror in N-ary tree
Queries on Strings
Special Matrix
Broken blocks
Find the string in grid
Shortest Uncommon Subsequence
Number of Palindromic paths in a Matrix
Nodes at even distance
Biconnected Graph
Help a Thief!!!
Count the paths
Floyd Warshall
Negative weight cycle
Form coils in a matrix
Shortest Source to Destination Path
Shortest Path between Cities
Moving on grid
Height Using Parent Array
Reverse Spiral Form of Matrix
Geek and Number String
Image Multiplication
Recursively Remove Adjacent Duplicates
Theft at World Bank
Number of minimum picks to get 'k' pairs of socks from a drawer
Spiral Matrix
Coins of Geekland
Valid Pair Sum
Dam of Candies
Transfiguration
Repeated String Match
Ruling Pair
Triplets in Sorted Linked List
Restrictive Candy Crush
Help Classmates
Restricted Pacman
Lucy's Neighbours
Spidey Sense
Project Manager
Escape the Forbidden Forest
Jump Game
Iterative Inorder
Triplets with sum with given range
Preorder traversal (Iterative)
Iterative Postorder
Longest Palindromic Substring
Form a palindrome
All Palindromic Partitions
Bellman-Ford
Subarrays with sum K
Remove BST keys outside given range
Partition a Linked List around a given value
Searching an element in a sorted array (Ternary Search)
Capacity To Ship Packages Within D Days
Sort a 2D vector diagonally
Coin Piles
Distribute N candies among K people
Clone a stack without using extra space
Count pairs in array divisible by K
Number of Provinces
Binary Matrix with at most K 1s
Maximum sum leaf to root path
Find duplicate rows in a binary matrix
Maximum GCD of siblings of a binary tree
BST to max heap
BST to greater sum tree
Find rectangle with corners as 1
Paths from root with a specified sum
Cousins of a given node
Division without using multiplication, division and mod operator
Sort for Singly Linked List
Remove all occurences of duplicates in a linked list
Minimize the Heights I
Subsets
Flatten binary tree to linked list
Rank The Permutations
Design Twitter
IPL 2021 - Match Day 2
All Unique Permutations of an array
Course Schedule
Find and Replace in String
Min Cost Climbing Stairs
Minimum times A has to be repeated such that B is a substring of it
Bitwise AND of the Array
Distinct Elements
Overlapping Intervals
Bitwise AND of the Array
Maximum number of events that can be attended
Longest Possible Route in a Matrix with Hurdles
Find k-th smallest element in given n ranges
Reverse a Stack
Farthest number
Robots
Hit most Balloons
Max Equal sum of 3 Stacks
Concatenate Equal to Target
Exactly one swap
Maximum Winning score
Compute Before Matrix
Interleave the First Half of the Queue with Second Half
Levels Of Game
Smallest sum contiguous subarray
Stack Permutations
Largest subtree sum in a tree
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
Sort a k sorted doubly linked list
Check if all levels of two trees are anagrams or not
Minimum Multiplications to reach End
Number Of Enclaves
Eventual Safe States
Pattern
Shortest path in Directed Acyclic Graph
Asteroid Collision
Minimum Absolute Difference In BST
Maximum Sum Combination
Floor in BST
Maximum Value
Flattening a Linked List
Make array elements unique
Next Greater Element in Circular Array
Geeks And The String
Find the longest string
Minimum repeat to make substring
Intersection Point in Y Shaped Linked Lists
BST Downward Traversal
Count number of free cell
Apple Sequences
Connect Nodes at Same Level
Fill the Matrix
Maximum Intersecting Lines
Remove the balls
Nearest smaller tower
Powerful Integer
Modify Linked List-1
Fraction pairs with sum 1
Linked List Group Reverse
Reorder List
Binary Tree to DLL
Clone List with Next and Random
Min distance between two given nodes of a Binary Tree
Max rectangle
Subtraction in Linked List
Partition array to k subsets
Maximum subset XOR
Alien Dictionary
Smallest range in K lists
AVL Tree Deletion
Merge Sort on Doubly Linked List
Nodes at given distance in binary tree
Max Path Sum 2 Special Nodes
Pattern Search KMP
String Permutations
Trapping Rain Water
Pattern Search
Histogram Max Rectangular Area
Max of min for every window size
Find median in a stream
Solve the Sudoku
Strongly connected component (Tarjans's Algo)
Minimum Cost Path
Median of Two sorted arrays
Median of 2 Sorted Arrays of Different Sizes
Merge Without Extra Space
Next Smallest Palindrome
The Painter's Partition Problem-II
Distinct palindromic substrings
Search Pattern
Count Smaller elements
Largest rectangle of 1s with swapping of columns allowed
Number of distinct subsequences
Minimum number to make median X
RegEx matching
All numbers with specific difference
Maximum XOR subset
Edit Distance
Doctor Strange
Palindromic Partitioning
Stock Buy and Sell – Max K Transactions Allowed
Check Tree Traversal
Median in a row-wise sorted Matrix
Kill Captain America
Longest valid Parentheses
Bike Racing
Word Break - 2
N-Queen Problem
Brackets in Matrix Chain Multiplication
nCr mod M | Part 1
Adventure in a Maze
Closest Palindrome
Optimal binary search tree
Assignment Problem
Longest Path in a matrix
Word Wrap
Maximum sum Rectangle
Huffman Encoding
Water Connection Problem
Find the Maximum Flow
Smallest Positive Integer that can not be represented as Sum
Secret Cipher
Corona Vaccine
Shortest Range In BST
Elixir of Life
Search Pattern (Z-algorithm)
Number of subsets with product less than k
Maximum XOR subarray
Longest substring to form a Palindrome
Minimum X (xor) A
Minimum operations to convert array A to B
Sorted Linked List to BST
Palindrome Pairs
Array Partition
Number of distinct words with K maximum contiguous vowels
Reverse a sublist of a linked list
Word Ladder II
Shortest Unique prefix for every word
IPL 2021 - Final
Count the number of subarrays
Find the String
Kth Smallest Number in Multiplication Table
Geek in a Maze
Candy
Better String
Median of the Subarrays
Making A Large Island
Rotate Array
In new line
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
Count zeros in a sorted matrix
Preorder Traversal
First Occurence
C++ STL | Set 1 (vector)
C++ STL | Set 3 (map)
C++ STL | Set 4 (stack)
C++ STL | Set 5 (queue)
C++ STL | Set 6 (set)
Search a node in BST
Equal Sum and XOR
C++ STL | Set 7 (unordered map)
C++ STL | Set 8 (unordered set)
Smallest divisible number
Remainder with 7
Linked List Insertion At End
Minimum element in BST
Anagram of String
Is Linked List Length Even?
Identical Linked Lists
Modular Node
Sum of Binary Tree
Insert in Middle of Linked List
Pairwise Consecutive Elements
Count Non-Leaf Nodes in Tree
C++ STL List
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
Who has the majority?
Array insert at end
Storage classes in C
Start coding - C
Input/Output - C
Sum of diagonals
Absolute Value
Convert Celsius To Fahrenheit
Quadratic Equation Roots
Bit Difference
Number is sparse or not
Binary To Gray Code Conversion
Print 1 To N Without Loop
Array Search
Sorted Array Search
Adding two matrices
Multiply the matrices
Binary String
Sum of Digits of a Number
Power Using Recursion
Fibonacci Using Recursion
Addition Under Modulo
Multiplication Under Modulo
Reverse a String
Missing Characters in Panagram
Keypad typing
First n Fibonacci
Binary Array Sorting
C++ Hello World
Find second largest element
Searching in an Array
Doubling the value
Remove consonants from a string
Balanced Array
At least two greater elements
Sort Array II
Maximum product of two numbers
Fighting the darkness
The problem of identical arrays
Immediate Smaller Element
Uncommon characters
String Reversal
Repeated Character
First 1 in a Sorted Binary Array
Length of Last word
Max and Min Product from 2 Arrays
Elements in the Range
Last index of One
Upper Case Conversion
String with numbers at its end
Largest Element in Array
Rotate Array by One
Game with nos
One odd Occuring
Ishaan Loves Chocolates
Array Subset
Rotating an Array
Minimum number to form the sum even
Min and Max in Array
Multiply left and right array sum
Addition of Two Numbers
1s Complement
Find position of set bit
Set kth bit
Factor OR Multiple
set-bits and number
Binary Shift to Divide
Median of an Array
Find N-th term in the series
Factorial
Binary number to decimal number
Total digits
Sum of elements in a matrix
Count Squares
Middle of Three
Anshuman's Favourite Number
Height of Heap
Minimum difference pair
Sorted matrix
C++ | A Speed Breaker
Variance of the array
Jumble datatype
Algebra expression
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 !