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
sks1312
Current POTD Streak
STREAK
38
/1459
days
Longest streak/Global longest streak
Institution
Delhi Technological University (DTU)
255 Rank
Institute Rank
Language Used
C++, C
Coding Score
1391
Problem Solved
540
Contest Rating
__
Campus Mantri
nikhilkuc904
10 points
Contributor
10 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
6 submissions in current year
Current
2024
2023
2022
January
February
March
April
May
June
July
SCHOOL (1)
BASIC (65)
EASY (232)
MEDIUM (216)
HARD (26)
The Conversion To One
Reverse alternate nodes in Link List
Rotate a Linked List
Sort a linked list of 0s, 1s and 2s
Add Number Linked Lists
Merge 2 sorted linked list in reverse order
Detect Loop in linked list
Quick Sort
Binary Tree from Inorder and Postorder
Intersection in Y Shaped Lists
Diameter of a Binary Tree
Heap Sort
Merge two sorted linked lists
Delete a node from BST
Undirected Graph Cycle
LCA in Binary Tree
Two Stacks in an Array
Binary Heap Operations
Max sum path in two arrays
The Celebrity Problem
Merge K sorted linked lists
Find kth element of spiral matrix
Get Min from Stack
Serialize and deserialize a binary tree
Gas Station
Remove loop in Linked List
Additive sequence
Implement Atoi
Palindrome Linked List
Closest in BST
BST with Dead End
Merge k Sorted Arrays
Find triplets with zero sum
Duplicate Subtree
Find Common Nodes in two BSTs
Peak element
Merge Sort for Linked List
Euler Circuit in an Undirected Graph
Euler circuit and Path
Root to Leaf Paths
Linked List that is Sorted Alternatingly
K Sum Paths
Leftmost and rightmost nodes of binary tree
Arrange Consonants and Vowels
Vertical sum
Isomorphic Trees
Children Sum in a Binary Tree
Normal BST to Balanced BST
Sum of nodes on the longest path
ZigZag Tree Traversal
Pairwise swap of nodes in LinkedList
Swap Kth nodes from ends
Mother Vertex
Rabin Karp - Pattern Searching
Floor in BST
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
Possible Words From Phone Digits
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
Two Repeated Elements
Union of 2 Sorted Arrays
Indexes of Subarray Sum
Count the number of possible triangles
Triplet Sum in Array
Merge Without Extra Space
Merge three sorted arrays
Closer to sort
Level of Nodes
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
Subarray with 0 sum
Subarray range with given sum
Subarrays with equal 1s and 0s
Longest Consecutive Subsequence
Case-specific Sorting of Strings
Lexicographic Rank Of A String
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
Nearly sorted
Black and White
Combination Sum
Unique Subsets
Minimum Jumps
Detect Cycle using DSU
Stickler Thief
Ways to Reach the n'th Stair
Egg Dropping Puzzle
Optimal Strategy For A Game
Longest Increasing Subsequence
Longest Common Subsequence
0 - 1 Knapsack Problem
Lucky Numbers
Sort according to an Array
Zero Sum Subarrays
Find whether path exist
Kth Smallest
Implement Trie
Shortest Common Supersequence
Rotten Oranges
Steps by Knight
Count only Repeated
Longest Subarray Of Evens And Odds
Rotate by 90 degree
Top K Frequent in Array
Word Break
4 Sum - All Quadruples
Maximum Water Between Two Buildings
Sort 0s, 1s and 2s
Paths to reach origin
Pascal Triangle
Number of subarrays with maximum values in given range
Search in Rotated Sorted Array
Form the Largest Number
Longest subarray with sum divisible by K
Column name from a given column number
Substrings with K Distinct
Max Sum without Adjacents
Shuffle integers
k largest elements
Longest substring with distinct characters
Minimize the Heights II
Transform to prime
First and Last Occurrences
Print N-bit binary numbers having more 1s than 0s
Sum of Products
Unique Number II
Game of XOR
Largest prime factor
Minimum number of deletions and insertions
Maximize dot product
Max Sum Increasing Subsequence
Coin Change (Count Ways)
Sequence of Sequence
Sieve of Eratosthenes
Perfect Sum Problem
Minimum steps to destination
Partition Equal Subset Sum
Longest Bitonic subsequence
Count possible ways to construct buildings
Array Pair Sum Divisibility Problem
Matchsticks game
Game with String
Smith Number
Multiply 2 matrices
Smaller on Left
Maximum sum of hour glass
How Many X's?
Exit Point in a Matrix
Stream First Non-repeating
Segregate even and odd nodes in a Linked List
Number of Rectangles in a Circle
Replace O's with X's
Rohan's Love for Matrix
Techfest and the Queue
Jump Game
Iterative Inorder
Preorder traversal (Iterative)
Searching an element in a sorted array (Ternary Search)
Remove K Digits
Check if a String is Subsequence of Other
Find duplicate rows in a binary matrix
Sort for Singly Linked List
Anti Diagonal Traversal of Matrix
Unique Number III
Overlapping Intervals
Maximum Meetings in One Room
Buy Maximum Stocks
Find shortest safe route in a matrix
Minimum Multiplications to reach End
Number Of Enclaves
City With the Smallest Number of Neighbors at a Threshold Distance
Shortest Path in Undirected Graph
Combination Sum II
Minimum Absolute Difference In BST
Maximum Sum Combination
Count Number of Nodes in a Binary Tree
Floor in BST
Number of Good Components
Maximum Length
Smaller Sum
Nearest smaller tower
New Year Resolution
Grinding Geek
K-Subarray with Maximum Sum
Minimize the Difference
Pairs violating the BST property
Kth common ancestor in BST
Height of Tower
Implement Pow
Nearest Perfect Square
A Boolean Matrix Problem
Toggle The Middle
K Sum
XOR Pair
Reverse a linked list
Pairwise swap elements of a linked list
Delete nodes having greater value on right
Remove duplicates from an unsorted 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
Maximum Width of Tree
Delete without head pointer
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
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
Insert a node in a BST
BFS of graph
Identical Trees
Square Root
Nodes without a Sibling
Binary Search
Remove Duplicates Sorted Array
Level Order Line by Line
Binary Tree to BST
Remove every k'th node
Josephus problem
Delete in a Singly Linked List
Kth largest element in BST
Minimum distance in an Array
Array Duplicates
Three way partitioning
Level order traversal
Index of an Extra Element
Insert in a Sorted List
Sum of leaf nodes in BST
More than n/k Occurrences
Max and min element in Binary Tree
Symmetric Tree
Count Pairs whose sum is equal to X
Find length of Loop
Leaf under budget
Queue Reversal
Reverse first K of a Queue
Closest Neighbour in BST
Brothers From Different Roots
Delete Mid of a Stack
Swap the array elements
Xoring and Clearing
Get min at pop
Deque Implementations
Max and Second Max
Hashing for pair - 1
Hashing for pair - 2
Fibonacci Numbers - Top Down DP
Fibonacci Numbers - Bottom Up DP
Inorder traversal of a BST
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
Intersection of two sorted arrays
Closet 0s 1s and 2s
Print adjacency list
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
Matrix Boundary Traversal
Exchange matrix columns
Separate chaining in Hashing
Naive Pattern Search
Linear Probing in Hashing
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
The Modified String
Reverse Words
Minimum indexed character
Panagram Checking
Non Repeating Character
Removing consecutive duplicates
Removing consecutive duplicates - 2
Parenthesis Checker
Generate Binary Numbers
K largest elements
Minimum Cost of ropes
N meetings in one room
Count Digits in a Number
Digital Root
Power Set Using Recursion
Union-Find
Count ways to N'th Stair
Count number of hops
Doubly Linked List Conversion
Pattern searching
Rotate Deque By K
First Repeating Element
Union of Arrays with Duplicates
Common Elements
Check Equal Arrays
Nth number made of prime digits
Numbers containing 1, 2 and 3
Positive Negative Pair
Search Query for Strings
Missing in Array
Roman Number to Integer
Intersection of Arrays with Distinct
Missing And Repeating
Non-Repeating Element
Count the elements
Common in 3 Sorted Arrays
Move All Zeroes to End
String Duplicates Removal
Move all negative elements to end
Chocolate Distribution Problem
Count pairs Sum in matrices
Find Pair Given Difference
Second Largest
Convert array into Zig-Zag fashion
Two Sum - Pair with Given Sum
Rotate Bits
Number of occurrence
Reversing the equation
Does array represent Heap
Convert an array to reduced form
Check if array is sorted
Sum Pair closest to target
Find missing in second array
String's Count
First Repeated Character
At Least K Occurrences
Find the closest pair from two arrays
Palindrome String
Number of 1 Bits
Reverse Bits
Nth Fibonacci Number
Party of Couples
Shortest path from 1 to n
Minimum number of Coins
Number Of Open Doors
Perfect Numbers
Number Game
Maximize Toys
Largest number possible
Recamans sequence
Least Prime Factor
Juggler Sequence
Arithmetic Number
Row with Minimum 1s
Surround the 1's
Inorder Traversal and BST
Print Pattern
Sum of dependencies in a graph
Plus One
Minimum Difference in an Array
Smallest window containing 0, 1 and 2
Insert an Element at the Bottom of a Stack
Fibonacci series up to Nth term
Divisor Game
Search in Linked List
Balloon Everywhere
Save Civilians
Min Jump
Equal Left and Right Subarray Sum
Make the array beautiful
Refueling
Ticket Counter
Unique Number of Occurrences
Lead Engineer
Maximum occurring digit
Geek's Plants
Strong Students in School
Minimise the Expression
Is it a Leap Year
Dominating Geek
Minimize Array Score
Substrings with same value
Candy shop I
Minimum Distance
Count Indices
Average of String
Closest friends!
Pairing the brackets
Maximum Distance
Return To Root
Magic Array
Chocolate Distribution
Minimum Number of Elements
Prefix Distinct
Frequency of every Element
Count Linked List Nodes
Size of Binary Tree
Count Leaves in Binary Tree
Postorder Traversal
Implement stack using array
Queue using Linked List
Queue Using Array
Doubly linked list Insertion at given position
Preorder Traversal
First Occurence
Search a node in BST
Linked List Insertion At End
Minimum element in BST
Identical Linked Lists
Insert in Middle of Linked List
Who has the majority?
Strongest Neighbour
Array insert at index
Array insert at end
Operations on Stack
Operations on Queue
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
Left Index
Adding two matrices
Multiply the matrices
Check if a string is Isogram or not
Binary String
Most Frequent Character
Remove common characters and concatenate
Sum of numbers in string
Repeating Character - First Appearance Leftmost
Sum of Digits of a Number
Power Using Recursion
Fibonacci Using Recursion
Addition Under Modulo
Multiplication Under Modulo
Minimum At Pop
Reverse a String
Insertion in deque
Deque Traversal
Deque deletion
Keypad typing
First n Fibonacci
Value equal to index value
Reversing the vowels
Largest Element in Array
Rotate Array by One
Game with nos
Ishaan Loves Chocolates
Array Subset
Remove character
Betting game
C++ Data Types
Max Min
Friend of x
Valid Strings
Who has the majority?
Kth Smallest Difference
Linked List Group Reverse
Binary Tree to DLL
Max rectangle
Merge Sort on Doubly Linked List
Pattern Search KMP
String Permutations
Trapping Rain Water
Pattern Search
Smallest window containing all characters of another string
Histogram Max Rectangular Area
Find median in a stream
Solve the Sudoku
Median of Two sorted arrays
Median of 2 Sorted Arrays of Different Sizes
Burning Tree
Count Pairs in an Array
Search Pattern (KMP-Algorithm)
Number of distinct subsequences
Wildcard string matching
Edit Distance
Minimum Points To Reach Destination
Matrix Chain Multiplication
N-Queen Problem
Split Array Largest Sum
Better String
Reverse an 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 !