Tutorials
Courses
Data Structure
Java
Python
HTML
Interview Preparation
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Ambassadors
Campus Ambassador
shashikumahiar
Current POTD Streak
STREAK
12
/1425
days
Longest streak/Global longest streak
Institution
Birla Institute of Technology, Mesra (BIT Mesra)
96 Rank
Institute Rank
Language Used
Java, C++
Coding Score
1159
Problem Solved
392
Contest Rating
__
Campus Ambassador
shashikumahiar
1 submissions in current year
Current
2024
2023
January
February
March
April
May
June
SCHOOL (0)
BASIC (55)
EASY (136)
MEDIUM (177)
HARD (24)
Smaller on Right
The Conversion To One
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
Count BST nodes that lie in a given range
Quick Sort
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
Construct Binary Tree from Parent Array
Connect Nodes of Levels
Tree Boundary Traversal
Delete a node from BST
Directed Graph Cycle
Undirected Graph Cycle
LCA in Binary Tree
Maximum difference between node and its ancestor
Two Stacks in an Array
The Celebrity Problem
Topological sort
Vertical Tree Traversal
Merge K sorted linked lists
Find the number of islands
Serialize and deserialize a binary tree
Gas Station
Linked List to Binary Tree
Check if subtree
Remove loop in Linked List
Dijkstra Algorithm
Minimum Spanning Tree
Palindrome Linked List
Strongly Connected
Rat in a Maze Problem - I
Bipartite Graph
Closest in BST
Merge two BST 's
Count distinct elements in every window
Find triplets with zero sum
Top View of Binary Tree
k-th Smallest in BST
Find Common Nodes in two BSTs
Merge Sort for Linked List
Binary Tree to CDLL
Foldable Binary Tree
Count the nodes at distance K from leaf
Vertical sum
Insert in Sorted way in a Sorted DLL
Maximum path sum from any node
Children Sum in a Binary Tree
Convert Level Order Traversal to BST
ZigZag Tree Traversal
Count Number of SubTrees having given Sum
Vertical Width of a Binary Tree
Pairwise swap of nodes in LinkedList
Swap Kth nodes from ends
Add two numbers represented by Linked List
Maximum sum of Non-adjacent nodes
Rabin Karp - Pattern Searching
Floor in BST
Ceil in BST
Pair Sum in BST
Count total set bits
Gray to Binary equivalent
Maximum AND Value
Tower Of Hanoi
Smallest Positive Missing
Power Of Numbers
Maximum occured integer
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
Count Inversions
Two Repeated Elements
Union of 2 Sorted with Duplicates
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
Possible paths between 2 vertices
Level of Nodes
Make Matrix Beautiful
Boolean Matrix
Spirally traversing a matrix
Search in a sorted Matrix
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
Sort Elements by Decreasing Frequency
Longest Consecutive Subsequence
Case-specific Sorting of Strings
Lexicographic Rank Of A String
Postfix Evaluation
Stock span problem
Next Greater Element
Infix to Postfix
Kth smallest element
Activity Selection
Fractional Knapsack
Job Sequencing Problem
Minimum Platforms
Combination Sum
M-Coloring Problem
Ways to write n as sum
Ways to Reach the n'th Stair
Lucky Numbers
Sort according to an Array
Allocate Minimum Pages
Preorder to BST
X Total Shapes
Zero Sum Subarrays
Find whether path exist
Kth Smallest
Rotten Oranges
Steps by Knight
Count only Repeated
Longest Subarray Of Evens And Odds
Prerequisite Tasks
Maximum Water Between Two Buildings
Pythagorean Triplet
Longest subarray with sum divisible by K
Largest Sum Subarray of Size at least K
Permutations of a String
Power Set
nCr
Count possible ways to construct buildings
Array Pair Sum Divisibility Problem
Subset Sums
Fraction Trouble
Replace O's with X's
Two numbers with odd occurrences
Floyd Warshall
Flood fill Algorithm
Techfest and the Queue
Iterative Inorder
Preorder traversal (Iterative)
All Palindromic Partitions
Bellman-Ford
Remove K Digits
Number of Provinces
Check if a String is Subsequence of Other
Unique Number III
All Unique Permutations of an array
Course Schedule
Number of Distinct Islands
Shortest Distance in a Binary Maze
Minimum Multiplications to reach End
Number Of Enclaves
Eventual Safe States
City With the Smallest Number of Neighbors at a Threshold Distance
Number Of Islands
Number of Ways to Arrive at Destination
Path With Minimum Effort
Cheapest Flights Within K Stops
Connecting the graph
Shortest Path in Undirected Graph
Maximum Stone Removal
Shortest path in Directed Acyclic Graph
Subset II
Combination Sum II
Shortest Path in Weighted undirected graph
Find Kth permutation
Rearrange characters
Reverse a linked list
Remove duplicates from an unsorted linked list
Delete in a Doubly Linked List
Inorder Traversal
Bubble Sort
Selection Sort
Insertion Sort
Check for BST
Right View of Binary Tree
Mirror Tree
Maximum Width of Tree
Delete without head pointer
Height of Binary Tree
Balanced Tree Check
Kth from End of Linked List
Left View of Binary Tree
Queue using two Stacks
Remove Duplicates from a Sorted Linked List
Stack using two queues
Level Order in spiral form
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
Level Order Line by Line
BST Keys in a Range
Josephus problem
Array Duplicates
Three way partitioning
Level order traversal
More than n/k Occurrences
Counting Sort
Max and min element in Binary Tree
Find length of Loop
Queue Reversal
Reverse first K of a Queue
Delete Mid of a Stack
Get min at pop
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
Levelorder traversal of a BST
First Set Bit
Rightmost different bit
K-th Bit is Set or Not
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 all odd and even bits
Minimum adjacent difference in a circular array
Wave 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
Rotate by 90 degree
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
Quadratic 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
N meetings in one room
Largest number with given sum
Count Total Digits in a Number
Digital Root
Power Set Using Recursion
Level them All!
First Repeating Element
Union of Arrays with Duplicates
Check Equal Arrays
Nth number made of prime digits
Numbers containing 1, 2 and 3
Positive Negative Pair
Missing in Array
Is Linked List Sorted
Join Two Linked Lists
Is The Doubly Linked List Circular
Find Middle of Circular Doubly Linked List
Intersection of Arrays with Distinct
Second Largest
Nth Fibonacci Number
Count Digits
Sieve of Eratosthenes
Palindrome numbers
Print Pattern
Minimum Difference in an Array
Smallest window containing 0, 1 and 2
Toggle The Middle
Without Adjacent
K Sum
XOR Pair
Kth Smallest Difference
Average of String
Closest friends!
Pairing the brackets
Alternate Leaf Nodes Sum
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
Peak element
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 equivalent
Print 1 To N Without Loop
Reverse array in groups
Array Search
Sorted Array Search
Left Index
Binary Array Sorting
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
Keypad typing
Display Linked List
Exceptionally odd
Betting game
GCD of two numbers
Factorial
Binary Tree to DLL
Clone List with Next and Random
LRU Cache
Alien Dictionary
Merge Sort on Doubly Linked List
Fixing Two nodes of a BST
Huffman Decoding
Pattern Search KMP
Trapping Rain Water
Max Circular Subarray Sum
Pattern Search
Smallest window containing all characters of another string
Histogram Max Rectangular Area
Max of min for every window size
Solve the Sudoku
Median of Two sorted arrays
Word Ladder I
Burning Tree
Search Pattern (KMP-Algorithm)
N-Queen Problem
Word Ladder II
Split Array Largest Sum
Maximum Connected group
Account Merge
0 points
Contributor
0 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
close
S
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 !