Tutorials
Courses
Data Structure
Java
Python
HTML
Interview Preparation
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Ambassadors
A
annianni
Current POTD Streak
STREAK
00
/1426
days
Longest streak/Global longest streak
Institution
National Institute of Technology, Patna (NIT Patna)
231 Rank
Institute Rank
Language Used
C++, C, Java
Coding Score
1495
Problem Solved
579
Contest Rating
__
Campus Ambassador
sksinha2410
1797 points
Contributor
1797 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
SCHOOL (2)
BASIC (49)
EASY (229)
MEDIUM (272)
HARD (27)
Rearrange characters
Reverse alternate nodes in Link List
Rotate a Linked List
Sort a linked list of 0s, 1s and 2s
Add Number Linked Lists
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
Count BST nodes that lie in a given range
Binary Tree from Inorder and Postorder
Bottom View of Binary Tree
Intersection in Y Shaped Lists
Diameter of a Binary Tree
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
Directed Graph Cycle
Undirected Graph Cycle
LCA in Binary Tree
Absolute List Sorting
Two Stacks in an Array
Binary Heap Operations
Max sum path in two arrays
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
Get Min from Stack
Serialize and deserialize a binary tree
Gas Station
Wildcard Pattern Matching
Linked List to Binary Tree
Check if subtree
Kth element in Matrix
Clone a Binary Tree
Validate an IP Address
Remove loop in Linked List
Minimum Spanning Tree
Largest BST
Interleaved Strings
Sorted subsequence of size 3
Multiply two strings
Minimum Swaps to Sort
Implement Atoi
Palindrome Linked List
Strongly Connected
Print matrix in diagonal pattern
Rat in a Maze Problem - I
BST with Dead End
Merge two BST 's
Count distinct elements in every window
k-Anagram
Merge k Sorted Arrays
Root to leaf paths sum
Longest Palindrome in Linked List
Bridge edge in a graph
Sort a stack
Duplicate Subtree
Top View of Binary Tree
k-th Smallest in BST
Polynomial Addition
Merge Sort for Linked List
Union of Two Linked Lists
Euler Circuit in an Undirected Graph
Binary Tree to CDLL
Populate Inorder Successor for all nodes
Counting elements in two arrays
Construct expression tree
Linked List that is Sorted Alternatingly
K Sum Paths
Leftmost and rightmost nodes of binary tree
Construct Tree from Inorder & Preorder
Arrange Consonants and Vowels
Count the nodes at distance K from leaf
Vertical sum
Isomorphic Trees
Predecessor and Successor
Largest Independent Set Problem
Diagonal sum in binary tree
Normal BST to Balanced BST
Duplicate Subtrees
Construct Tree from Preorder Traversal
Sum of nodes on the longest path
ZigZag Tree Traversal
Count Number of SubTrees having given Sum
Diagonal Sum
Coin Change - Minimum number of coins
Swap Kth nodes from ends
Maximum sum of Non-adjacent nodes
Ceil in BST
Smallest Positive Missing
Possible Words From Phone Digits
Rearrange an array with O(1) extra space
Maximum Index
Stock buy and sell
Rotate Array
Kadane's Algorithm
Majority Element
Count Inversions
Unique BST's
Union of 2 Sorted with Duplicates
Indexes of Subarray Sum
Count the number of possible triangles
Triplet Sum in Array
Merge Without Extra Space
Boolean Matrix
Spirally traversing a matrix
Search in a sorted 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
Longest Consecutive Subsequence
Postfix Evaluation
Stock span problem
Next Greater Element
Infix to Postfix
K Sized Subarray Maximum
Rearrange characters
Activity Selection
Fractional Knapsack
Job Sequencing Problem
Minimum Platforms
Largest number in K swaps
Combination Sum
Unique Subsets
M-Coloring Problem
Minimum Jumps
Stickler Thief
Ways to Reach the n'th Stair
Egg Dropping Puzzle
Optimal Strategy For A Game
Minimum number of jumps
Longest Increasing Subsequence
Longest Common Subsequence
0 - 1 Knapsack Problem
Lucky Numbers
Number of Unique Paths
Equal Sum Partition
Sort according to an Array
Preorder to BST
X Total Shapes
Zero Sum Subarrays
Find whether path exist
Kth Smallest
Shortest Common Supersequence
Nth Catalan Number
Rotten Oranges
Steps by Knight
Count subsequences of type a^i, b^j, c^k
Maximize The Cut Segments
Container With Most Water
Print Anagrams Together
Rotate by 90 degree
Overlapping Intervals
Top K Frequent in Array
Maximum Subarray Sum
Word Break
Stock Buy and Sell – Multiple Transaction Allowed
Word Search
Parcel Store
Word Boggle
Maximum Path Sum from Root to Leaf when flipped
Hard Arrangement
Prerequisite Tasks
4 Sum - All Quadruples
Excel Sheet | Part - 1
Sort 0s, 1s and 2s
Paths to reach origin
Top k numbers in a stream
Maximize Number of 1's
Painting the Fence
Form the Largest Number
Water Collection
Maximum Product Subarray
Longest subarray with sum divisible by K
Row with max 1s
Swapping pairs make sum equal
Design a tiny URL or URL shortener
Palindrome SubStrings
Nuts and Bolts Problem
Longest Subarray with Sum K
Count the Reversals
Max Sum without Adjacents
Reverse each word in a given string
Length of the longest substring
k largest elements
Longest Common Substring
Longest Palindrome in a String
Valid Expression
String formation from substring
Rod Cutting
Pick Values
LCS of three strings
First negative in every window of size k
Maximum difference of zeros and ones in binary string
Minimum sum
Roll the characters of a String
Minimize the Heights II
First and Last Occurrences
Minimum Deletions
Valid Substring
Permutations of a String
Number following a pattern
Friends Pairing Problem
Unique Number II
Minimum number of deletions and insertions
Max Sum Increasing Subsequence
Minimum cost to fill given weight in a bag
Coin Change (Count Ways)
String Subsequence
Coin Change (Minimum Coins)
Number of subsequences in a string divisible by n
Palindromic Strings
Smallest number
Longest subsequence-1
Power Set
Count ways to N'th Stair(Order does not matter)
Minimum Cost To Make Two Strings Identical
Knapsack with Duplicate Items
nCr
Maximum path sum in matrix
Partition Equal Subset Sum
Longest Bitonic subsequence
Min Coin
Array Pair Sum Divisibility Problem
Count the number of ways to tile the floor of size n x m using 1 x m size tiles
Number of paths
Permutation with Spaces
Coins and Game
Number of paths in a matrix with k coins
Choose and Swap
Game with String
Fraction to Repeating Decimal
Find the Safe Position
Next Permutation
Longest Repeating Subsequence
Longest alternating subsequence
Is Sudoku Valid
Stream First Non-repeating
Segregate even and odd nodes in a Linked List
Largest square formed in a matrix
Check Mirror in N-ary tree
Special Matrix
Floyd Warshall
Flood fill Algorithm
Shortest Source to Destination Path
Maximum sum Rectangle
Hamiltonian Path
Recursively Remove Adjacent Duplicates
Jump Game
Iterative Inorder
Preorder traversal (Iterative)
Iterative Postorder
Form a palindrome
Covid Spread
Bellman-Ford
Subarrays with sum K
Partition a Linked List around a given value
Rearrange characters
Anti Diagonal Traversal of Matrix
Odd Triplets
Overlapping Intervals
Reverse a Stack
All Primes
Linked List Group Reverse
Binary Tree to DLL
Min distance between two given nodes of a Binary Tree
Distinct occurrences
Partition array to k subsets
Fixing Two nodes of a BST
Max Path Sum 2 Special Nodes
String Permutations
Trapping Rain Water
Smallest window containing all characters of another string
Histogram Max Rectangular Area
Find median in a stream
Solve the Sudoku
Merge Without Extra Space
Longest Prefix Suffix
Print all LCS sequences
Edit Distance
Palindromic Partitioning
Stock Buy and Sell – Max K Transactions Allowed
Matrix Chain Multiplication
Word Break - 2
N-Queen Problem
Phone directory
Travelling Salesman Problem
Let's Play!!!
Huffman Encoding
Sort Matrix Rows
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
Delete nodes having greater value on right
Remove duplicates from an unsorted linked list
Split a Linked List into two halves
Inorder Traversal
Reverse a Doubly Linked List
Check for BST
Right View of Binary Tree
K distance from root
Mirror Tree
Two Mirror Trees
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
Check If Circular Linked List
Left View of Binary Tree
Delete Middle of 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
Insert a node in a BST
BFS of graph
Identical Trees
Root to leaf path sum
Square Root
Postorder from Inorder and Preorder
Lowest Common Ancestor in a BST
Binary Search
Run Length Encoding
Largest subarray of 0's and 1's
Minimum Depth of a Binary Tree
Remove duplicates in array
Odd even level difference
Binary Tree to BST
Equilibrium index of an array
Unique rows in boolean matrix
Leaves at Same Level or Not
Match specific pattern
Multiply two linked lists
Josephus problem
Expression Tree
Delete in a Singly Linked List
Kth largest element in BST
Array Duplicates
Max Level Sum in Binary Tree
Three way partitioning
String Modification
Level order traversal
Index of an Extra Element
Convert Ternary Expression to Binary Tree
Intersection of Two Linked Lists
Insert in a Sorted List
Level of a Node in Binary Tree
Reverse Using Stack
XOR of a given range
Symmetric Tree
Delete Alternate Nodes
Count Pairs whose sum is equal to X
Maximum Node Level
Find length of Loop
Maximum Pairwise Computed Value
Queue Reversal
Reverse first K of a Queue
Remove Half Nodes
Sum of Leaf Nodes
Sum of Left Leaf Nodes
Nodes at Odd Levels
Brothers From Different Roots
Move all zeros to the front of the linked list
Delete Mid of a Stack
Rotate doubly Linked List
The New Line
Controlled_Printing
Data Types
Learn to Comment
Learning to be precise
For Loop- primeCheck
While loop- printTable
Learning Macros
Swap the array elements
Matrix Interchange
Predict the Column
Swap values using References
Two Dimensional World
Delete Array
Cover the distance
BigInteger Multiply
Pair Sum in Vector
Frequency in Queue
Operations on PriorityQueue
Min Heap implementation
Multimap Operations
Power of 2
Wave Array
Frequencies in a Limited Array
Array Leaders
Rotate by 90 degree
Linear Probing in Hashing
Winner of an election
Isomorphic Strings
Reverse Words
Non Repeating Character
Parenthesis Checker
Minimum indexed character
K largest elements
Minimum Cost of ropes
N meetings in one room
Largest number with given sum
Reach a given score
Count ways to N'th Stair
Count number of hops
First Repeating Element
Union of Arrays with Duplicates
Check Equal Arrays
Positive Negative Pair
Two Sum
Missing in Array
First Non Repeating Character
Product array puzzle
Roman Number to Integer
Super Balanced Network
Exhausted Giant
Harry-The Clever Boy
Repeated Pattern Length
Parcel Distribution
Longest strictly increasing path in a binary tree
Password Decryption
Math Query
Counting Letters
Path in a golf course
Exploding Cars
Pizza Love
Algorithm Experts and Software Developers
Most efficient way to reach end of array
Intersection of Arrays with Distinct
Lexicographical smallest sub-sequence of k length in a string
Find the rankings
Count number of nodes of a Complete Binary Tree
Trapping Rain Water
Left View of Binary Tree
Count ways to reach the n'th stair
Trie | (Insert and Search)
Number of Rotations
Unique Words from Two Sentences
Sum of M elements after Kth smallest element in BST
Missing And Repeating
Buildings receiving sunlight
Non-Repeating Element
Pairs of equals Sum
Max value
Find Kth Rotation
Minimum Energy
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
Chocolate Distribution Problem
Maximum Sum Bitonic Subsequence
Bitonic Point
Find Duplicate Element
Smallest subarray with sum greater than x
Closest Strings
Single Number
Remove Consecutive Characters
Common Subsequence
Remove b and ac from a given string
Addition of submatrix
Remove Duplicates
Sum of two numbers represented as arrays
Facing the sun
Count Substrings
Twice Counter
Word with maximum frequency
Two Sum - Pair with Given Sum
Second most repeated string in a sequence
Check if array contains contiguous integers
Equal point in a string of brackets
Number of occurrence
Find missing in second array
String's Count
Min Number of Flips
Two sum -Pairs with 0 Sum
Segregate 0s and 1s
Merging two unsorted arrays in sorted order
Count the Zeros
Merge two binary Max heaps
Sum of Lengths of Non-Overlapping SubArrays
Four Elements
Palindrome String
Shop in Candy Store
Minimum Operations
Number of 1 Bits
Copy Set Bits in Range
Palindrome
Maximum Sum Problem
Shortest path from 1 to n
Reach the Nth point
Maximize Toys
Raju and coins
Page Faults in LRU
Letter Writer
Increasing Sub Sequence
Sum of average of all subsets
Arithmetic Number
Rotate a Matrix by 180 Counterclockwise
Row with Minimum 1s
LCS of '0' K Repeated String
Help the Old Man!!!
Print Pattern
Array to BST
Print Diagonally
Even and Odd
Virus Infection
Rotate Array
Count Linked List Nodes
Size of Binary Tree
Count Leaves in Binary Tree
Postorder Traversal
Queue using Linked List
Queue Using Array
Preorder Traversal
First Occurence
Sum Except First and Last
Palindromic Array
Multiply Matrices
Peak element
Minimum element in BST
Sum of Binary Tree
Insert in Middle of Linked List
Start Coding
The Size of
Logical Operators
Count Odd and Even
Filter the weeds
Volume of Cuboid
Bit Difference
Print 1 To N Without Loop
Binary Array Sorting
Check if a string is Isogram or not
Sum of numbers in string
Reverse a String
Binary Array Sorting
Sum of Array
Print Elements of Array
Balanced Array
Value equal to index value
Check for subsequence
Fighting the darkness
String Reversal
Rotate Array by One
Array Subset
Rotating an Array
Minimum number to form the sum even
Print first letter of every word in the string
Find position of set bit
Median of an Array
Finger Game
Count Squares
Middle of Three
Unique Numbers
Finding Position
Sorted matrix
Reverse an Array
Search in a 2D Matrix
close
A
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Ambassadors
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 !