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
souvikm02
Current POTD Streak
STREAK
32
/1488
days
Longest streak/Global longest streak
Institution
Indian Institute of Technology Kharagpur (IIT Kharagpur)
72 Rank
Institute Rank
Language Used
C++
Coding Score
1805
Problem Solved
572
Contest Rating
__
Apply for Campus Mantri
303 points
Contributor
303 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
January
February
March
April
May
June
July
August
SCHOOL (0)
BASIC (17)
EASY (151)
MEDIUM (352)
HARD (52)
COVID19
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
Detect Loop in linked list
Count BST nodes that lie in a given range
Merge Sort
Quick Sort
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
Directed Graph Cycle
Undirected Graph Cycle
LCA in Binary Tree
Two Stacks in an Array
The Celebrity Problem
Topological sort
Vertical Tree Traversal
Merge K sorted linked lists
Find the number of islands
Get Min from Stack
Gas Station
Generate IP Addresses
Check if subtree
Kth smallest element in a Matrix
Validate an IP Address
Remove loop in Linked List
Dijkstra Algorithm
Minimum Spanning Tree
Largest BST
Count Palindromic Subsequences
Minimum Swaps to Sort
Implement Atoi
Count of distinct substrings
Palindrome Linked List
Strongly Connected
Rat in a Maze Problem - I
Bipartite Graph
Pots of Gold Game
Merge two BST 's
Count distinct elements in every window
Trie | (Delete)
Merge k Sorted Arrays
Bridge edge in a graph
k-th Smallest in BST
Polynomial Addition
Euler circuit and Path
Pair Sum in BST
Counting elements in two arrays
Foldable Binary Tree
Leftmost and rightmost nodes of binary tree
Leaves to DLL
Sum of nodes on the longest path
Kth Ancestor in a Tree
Swap Kth nodes from ends
Maximum sum of Non-adjacent nodes
Mother Vertex
Ceil in BST
Count set bits
Tower Of Hanoi
Reverse array in groups
Maximum occured integer
Wave Array
Rearrange Array Alternately
Stock buy and sell
Kadane's Algorithm
Count Inversions
Indexes of Subarray Sum
Number of pairs
Merge Without Extra Space
Possible paths between 2 vertices
Make Matrix Beautiful
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
Stock span problem
Next Greater Element
K Sized Subarray Maximum
Minimum Cost of ropes
Nearly sorted
Fractional Knapsack
Job Sequencing Problem
Minimum Platforms
Black and White
Unique Subsets
M-Coloring Problem
Minimum Jumps
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
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
Count subsequences of type a^i, b^j, c^k
Maximize The Cut Segments
Word Break
Stock Buy and Sell – Multiple Transaction Allowed
Word Search
Prerequisite Tasks
4 Sum - All Quadruples
Excel Sheet | Part - 1
Sort 0s, 1s and 2s
Count Increasing Subsequences
Sum of Middle elements of two sorted arrays
Equivalent Sub-Arrays
Single Among Doubles in a Sorted
Search in Rotated Sorted Array
Smallest number with at least n trailing zeroes in factorial
Maximize The Array
Form the Largest Number
Alternate Vowel and Consonant String
Super Primes
Longest subarray with sum divisible by K
Max value after m range operation
Swapping pairs make sum equal
Column name from a given column number
Substrings with K Distinct
Form a palindrome
Longest Subarray with Sum K
Transform String
Number of positive integral solutions
Cutting Binary String
Equal 0, 1 and 2
Remove leading zeros from an IP address
k largest elements
Magnet Array Problem
Longest Common Substring
Smallest distinct window
Longest substring with distinct characters
Longest Palindrome in a String
Cut rope to maximise product
K-th element of two Arrays
String formation from substring
Rod Cutting
Maximize the sum of selected numbers from a sorted array to make it empty
Smallest Absolute Difference
Longest Palindromic Subsequence
Longest Common Increasing Subsequence
Build the smallest
Minimize the Heights II
Reaching the heights
Smaller on Left
Permutations of a String
Previous number in one swap
Friends Pairing Problem
Lexicographically smallest string
Largest prime factor
3 Divisors
Modified Game of Nim
Max Sum Increasing Subsequence
Coin Change (Count Ways)
Dice throw
Perfect Sum Problem
Longest subsequence-1
Number of ways
Subsets with XOR value
Maximum path sum in matrix
Special Keyboard
Partition Equal Subset Sum
XOR Game
Min Coin
Handshakes
Count possible ways to construct buildings
Count digit groupings of a number
Array Pair Sum Divisibility Problem
Brain Game
Killing Spree
N Digit numbers with digits in increasing order
Fill the Tank
Number of paths
Knight Walk
Permutation with Spaces
Choose and Swap
Return two prime numbers
Fact Digit Sum
Find Prime numbers in a range
Party in Town
Multiply 2 matrices
Next Permutation
Smaller on Left
Rotate matrix elements clockwise
Filling Bucket
Matrix Exponentiation
Longest Repeating Subsequence
Finding Profession
Decode the string
Preorder Traversal and BST
Stream First Non-repeating
Maximum Sub-String after at most K changes
Print leaf nodes from preorder traversal of BST
Tricky Subset Problem
Rat Maze With Multiple Jumps
Snake and Ladder Problem
Pairs of Non Coinciding Points
The Smurfs
Product of Primes
Eulerian Path in an Undirected Graph
Find all distinct subset (or subsequence) sums
Check Mirror in N-ary tree
Queries on Strings
Special Matrix
Queries on a Matrix
Broken blocks
Traverse All Edges And Vertices
Find the string in grid
Shortest Uncommon Subsequence
Nodes at even distance
Biconnected Graph
Help a Thief!!!
Count the paths
Floyd Warshall
Negative weight cycle
Flood fill Algorithm
Form coils in a matrix
Shortest Source to Destination Path
Shortest Path between Cities
Moving on grid
Height Using Parent Array
Save Your Life
Hamiltonian Path
Recursively Remove Adjacent Duplicates
Theft at World Bank
Coins of Geekland
Dam of Candies
Transfiguration
Repeated String Match
Spidey Sense
Project Manager
Escape the Forbidden Forest
Jump Game
Iterative Postorder
Subset Sum Problem
Longest Palindromic Substring
Form a palindrome
Covid Spread
Bellman-Ford
Partition a Linked List around a given value
Minimum XOR value pair
Capacity To Ship Packages Within D Days
Rearrange characters
Substrings of length k with k-1 distinct elements
Clone a stack without using extra space
Count pairs in array divisible by K
Binary Matrix with at most K 1s
Maximum GCD of siblings of a binary tree
BST to greater sum tree
Find rectangle with corners as 1
Cousins of a given node
Sort for Singly Linked List
Minimize the Heights I
Subsets
Flatten binary tree to linked list
Rank The Permutations
IPL 2021 - Match Day 2
Course Schedule
Find and Replace in String
Minimum times A has to be repeated such that B is a substring of it
Bitwise AND of the Array
Overlapping Intervals
Unlock the Lock
Minimum number of merge operations to make an array palindrome
Maximize sum of K corner elements in Array
Frequency of a string in a given string.
Longest substring with equal number of 0's and 1's
Minimum number of operation to make palindromic array
Minimum number of operations to make all the array element equal
Minimize the largest group
Next Permutation
Container With Most Water
Maximum Sum Component
Minimum number of jumps
Row with max 1s
Print Anagrams Together
Vertical Traversal of Binary Tree
Stepping Numbers
Implementing Dijkstra Algorithm
Coin Change
Kadane's Algorithm
Find missing in second array
The Celebrity Problem
Count the Reversals
Find all distinct subset (or subsequence) sums
Job Sequencing Problem
Find all distinct subset (or subsequence) sums
Search Pattern (KMP-Algorithm)
Smallest window in a string containing all the characters of another string
Maximum Value
Minimize the largest group
Maximum Index
Unit Area of largest region of 1's
Maximum number of events that can be attended
Longest Possible Route in a Matrix with Hurdles
Reverse a Stack
Farthest number
Robots
Hit most Balloons
Concatenate Equal to Target
Exactly one swap
Maximum Winning score
Compute Before Matrix
Levels Of Game
Smallest sum contiguous subarray
Minimum Cost to cut a board into squares
Stack Permutations
Graph is Tree or Not
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
Number of Distinct Islands
Shortest Distance in a Binary Maze
Number Of Enclaves
Eventual Safe States
Number Of Islands
Geekland Colosseum
Number of Ways to Arrive at Destination
Shortest path in Directed Acyclic Graph
Aggressive Cows
Floor in BST
Maximum Intersecting Lines
Maximum Length
Find Number
Subtree In N-ary Tree
Add Minimum Characters
Fraction pairs with sum 1
Linked List Group Reverse
Binary Tree to DLL
Serialize and deserialize a binary tree
Box Stacking
Maximum subset XOR
Alien Dictionary
Max Path Sum 2 Special Nodes
Huffman Decoding
Number of Turns in Binary Tree
String Permutations
Trapping Rain Water
Smallest window containing all characters
Histogram Max Rectangular Area
Find median in a stream
Minimum Cost Path
Word Ladder I
Median of 2 Sorted Arrays of Different Sizes
Next Smallest Palindrome
Distinct palindromic substrings
Search Pattern
Longest Prefix Suffix
Number of distinct subsequences
Circle of strings
Print all LCS sequences
Edit Distance
Minimum sum partition
Matrix Chain Multiplication
Median in a row-wise sorted Matrix
Boolean Parenthesization
Bike Racing
Word Break - 2
N-Queen Problem
Adventure in a Maze
Articulation Point - II
Optimal binary search tree
Travelling Salesman Problem
Longest Path in a matrix
Word Wrap
Maximum sum Rectangle
Huffman Encoding
Corona Vaccine
Search Pattern (Rabin-Karp Algorithm)
Minimum X (xor) A
Sorted Linked List to BST
Reverse a sublist of a linked list
Word Ladder II
Shortest Path by Removing K walls
Articulation Point - I
Number of subarray with m odd numbers
Number of subarray with m odd numbers
Minimum time to fulfil all orders
Geek in a Maze
Geek and New Job
Reverse a linked list
Pairwise swap elements of a linked list
Delete nodes having greater value on right
Check for BST
Height of Binary Tree
Kth from End of Linked List
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
BFS of graph
Identical Trees
Lowest Common Ancestor in a BST
Binary Search
Convert to Roman No
Kth largest element in BST
Inorder Successor in BST
Intersection of Two Linked Lists
Insert in a Sorted List
Reverse Using Stack
Symmetric Tree
Huffman Decoding-1
Next Right Node
Find length of Loop
Median of BST
Queue Reversal
Reverse first K of a Queue
Move all zeros to the front of the linked list
Frequency Game
First Set Bit
Check K-th Bit
Longest Consecutive 1's
Swap odd and even bits
Equilibrium Point
Array Leaders
Minimum Number in a sorted rotated array
Print adjacency list
Anagram
String Rotated by 2 Places
Reverse Words
N meetings in one room
Largest number with given sum
Union-Find
Count number of hops
Pattern searching
Check Equal Arrays
Positive Negative Pair
Missing in Array
Roman Number to Integer
Missing And Repeating
Sort by Set Bit Count
Maximum no of 1's row
Sum of elements between k1'th and k2'th smallest elements
Min sum formed by digits
Minimize the sum of product
Punish the Students
Alternate Positive Negative
1[0]1 Pattern Count
Convert a sentence into its equivalent mobile numeric keypad sequence
Rearrange a string
Remove Duplicates
Sum of two numbers represented as arrays
Convert array into Zig-Zag fashion
Two Sum - Pair with Given Sum
Find all pairs with a given sum
Number of occurrence
Counts Zeros Xor Pairs
Two sum -Pairs with 0 Sum
Hungry Pizza Lovers
Find the closest pair from two arrays
Maximum sum of increasing order elements from n arrays
Merge two binary Max heaps
Maximum average subarray
Smallest greater elements in whole array
Fitting The Array
Shop in Candy Store
Last Match
Partition a number into two divisible parts
Adding Array Elements
Nth Fibonacci Number
Change Bits
Shortest path from 1 to n
The Bit Game
Swap bits
Perfect Numbers
Nth item through sum
Smallest number with sum of digits as N and divisible by 10^N
Maximize Toys
Largest number possible
Page Faults in LRU
Tom and Jerry
Increasing Sub Sequence
Maximum Diamonds
Help Ishaan
Next sparse binary number
Sequence Fun
Help the Old Man!!!
Print the pattern
Chicks in a Zoo
K-Ary Tree
Check if it is possible to convert one string into another with given constraints
Earthquake and the Paint Shop
Array to BST
Sum of dependencies in a graph
Ball coloring
Rearrange Geek and his Classmates
Fraction Trouble
Sum of k smallest elements in BST
Print Diagonally
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
Largest value in each level
Geek and Snow Fighting
Geek and Co-Prime Numbers
Check if a line passes through the origin
Ascending Descending Array
Maximum number of buckets
Reorder an array according to given indexes
Find all possible paths from top to bottom
Next greater number set digits
Parenthesis Checker
Find duplicates in an array
Max Level Sum in Binary Tree
Stickler Thief
Largest Gap
Max Level Sum in Binary Tree
Nodes at Odd Levels
Parenthesis Checker
Minimum Distinct Ids
Geek and Bridges
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
Can Make Triangle
Matrix Operations
Find pairs with given sum in doubly linked list
Assign Tasks
Prefix Min
Triangle and Square
Minimum product
Police Station
Make the array beautiful
String Mirror
Binary Modulo
Count Leaves in Binary Tree
Queue using Linked List
Sum Except First and Last
Anagram of String
Bit Difference
Sort a String
Immediate Smaller Element
Game with nos
Ishaan Loves Chocolates
Addition of Two Numbers
Binary representation
Find position of set bit
Set kth bit
Binary number to decimal number
Max Min
Convert array into Zig-Zag fashion
Evaluate the expression
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 !