Tutorials
Courses
Data Structure
Java
Python
HTML
Interview Preparation
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Ambassadors
G
bleedin_maroon
star
star
Current POTD Streak
STREAK
540
/1426
days
Longest streak/Global longest streak
Institution
National Institute of Technology, Patna (NIT Patna)
29 Rank
Institute Rank
Language Used
C++, Python
Coding Score
2887
Problem Solved
835
Contest Rating
1492
Campus Ambassador
sksinha2410
261 points
Contributor
261 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
January
February
March
April
May
June
SCHOOL (0)
BASIC (25)
EASY (290)
MEDIUM (433)
HARD (87)
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
Detect Loop in linked list
Quick Sort on Linked List
Insert in Sorted Circular Linked List
Quick Sort
Binary Tree from Inorder and Postorder
Bottom View of Binary Tree
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
Construct Binary Tree from Parent Array
Connect Nodes of Levels
Diagonal Tree Traversal
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
Absolute List Sorting
Two Stacks in an Array
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
Max sum in the configuration
Serialize and deserialize a binary tree
Wildcard Pattern Matching
Linked List to Binary Tree
Check if subtree
Extreme nodes in alternate order
Is Binary Tree Heap
Clone a Binary Tree
Validate an IP Address
Remove loop in Linked List
Dijkstra Algorithm
Additive sequence
Largest BST
Interleaved Strings
Sorted subsequence of size 3
Multiply two strings
Implement Atoi
Maximum Difference
Palindrome Linked List
Strongly Connected
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
Merge two BST 's
Root to leaf paths sum
Bridge edge in a graph
Print Nodes having K leaves
Find triplets with zero sum
Sort a stack
Duplicate Subtree
Top View of Binary Tree
Find Common Nodes in two BSTs
Delete nodes greater than k
Union of Two Linked Lists
Euler Circuit in an Undirected Graph
Euler circuit and Path
Ancestors in Binary Tree
Binary Tree to CDLL
Root to Leaf Paths
Complete Binary Tree
Populate Inorder Successor for all nodes
XOR Linked List
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
Insert in Sorted way in a Sorted DLL
Isomorphic Trees
Maximum path sum from any node
Predecessor and Successor
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
Sum of nodes on the longest path
Kth Ancestor in a Tree
ZigZag Tree Traversal
Vertical Width of a Binary Tree
Maximum sum of Non-adjacent nodes
Mother Vertex
Ceil in BST
Gray to Binary equivalent
Smallest Positive Missing
Power Of Numbers
Maximum occured integer
Rotate and delete
Rearrange an array with O(1) extra space
Maximum Index
Kadane's Algorithm
Majority Element
Two Repeated Elements
Union of 2 Sorted with Duplicates
Indexes of Subarray Sum
Number of pairs
Merge Without Extra Space
Possible paths between 2 vertices
Level of Nodes
Make Matrix Beautiful
Boolean Matrix
Spirally traversing a matrix
Determinant of a Matrix
Distance of nearest cell having 1
Subarray with 0 sum
Subarray range with given sum
Sort Elements by Decreasing Frequency
Longest Consecutive Subsequence
K Sized Subarray Maximum
Fractional Knapsack
Job Sequencing Problem
Minimum Jumps
Detect Cycle using DSU
Stickler Thief
Optimal Strategy For A Game
Sum of all substrings of a number
Longest Increasing Subsequence
Longest Common Subsequence
0 - 1 Knapsack Problem
Lucky Numbers
Preorder to BST
Zero Sum Subarrays
Kth Smallest
Implement Trie
Shortest Common Supersequence
Nth Catalan Number
Rotten Oranges
Maximize The Cut Segments
Rotate by 90 degree
Top K Frequent in Array
Closest Three Sum
Word Break
Stock Buy and Sell – Multiple Transaction Allowed
Word Search
Prerequisite Tasks
4 Sum - All Quadruples
Sort 0s, 1s and 2s
Paths to reach origin
Pascal Triangle
Maximum Index
Number of subarrays with maximum values in given range
Flip Bits
Top k numbers in a stream
Sum of Middle elements of two sorted arrays
Consecutive 1's not allowed
Split the Array
Single Among Doubles
Pythagorean Triplet
Painting the Fence
Search in Rotated Sorted Array
Sum of bit differences
Max Score from Subarray Mins
Form the Largest Number
Maximum Product Subarray
Longest subarray with sum divisible by K
Check if a string is repetition of its substring of k-length
Row with max 1s
Swapping pairs make sum equal
Check if frequencies can be equal
Column name from a given column number
Substrings with K Distinct
Form a palindrome
Nuts and Bolts Problem
Longest Subarray with Sum K
Cutting Binary String
Sum of two large numbers
Max Sum without Adjacents
Shuffle integers
Find the N-th character
Length of the longest substring
k largest elements
Sum of XOR of all pairs
Longest Common Substring
Smallest distinct window
Longest Substring with K Uniques
Longest Palindrome in a String
K-th element of two Arrays
Arranging the array
String formation from substring
Rod Cutting
K closest elements
LCS of three strings
Longest Palindromic Subsequence
Largest Sum Subarray of Size at least K
Minimum sum
Not a subset sum
Minimize the Heights II
Transform to prime
First and Last Occurrences
Minimum Deletions
Print N-bit binary numbers having more 1s than 0s
Permutations of a String
Number following a pattern
CamelCase Pattern Matching
Sum of Products
Subarrays Product Less than K
Unique Number II
Bleak Numbers
Modular Exponentiation for large numbers
Game of XOR
Largest prime factor
Maximum Tip Calculator
Modified Game of Nim
Minimum number of deletions and insertions
Maximize dot product
Max Sum Increasing Subsequence
Minimum cost to fill given weight in a bag
Coin Change (Count Ways)
Sequence of Sequence
Santa Banta
String Subsequence
Mobile numeric keypad
Gold Mine Problem
Non-decreasing subsequence
Coin Change (Minimum Coins)
Perfect Sum Problem
Smallest number
Trail of ones
K-Palindrome
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
Geek and its Game of Coins
Minimum steps to destination
Partition Equal Subset Sum
Longest Bitonic subsequence
Count possible ways to construct buildings
Count digit groupings of a number
Array Pair Sum Divisibility Problem
Matchsticks game
Prime Pair with Target Sum
Number of paths
Nth Natural Number
Number of paths in a matrix with k coins
Game with String
Smith Number
Count of AP Subsequences
Next Permutation
Maximum sum of hour glass
How Many X's?
Exit Point in a Matrix
Longest Repeating Subsequence
Longest alternating subsequence
Rotate Each Row of Matrix K Times
Stream First Non-repeating
Check If two Line segments Intersect
Number of Rectangles in a Circle
Largest square formed in a matrix
Tricky Subset Problem
Integral Points Inside Triangle
Transitive closure of a Graph
Replace O's with X's
Find all distinct subset (or subsequence) sums
Rohan's Love for Matrix
Express as sum of power of natural numbers
Traverse All Edges And Vertices
Find the string in grid
Shortest Uncommon Subsequence
Floyd Warshall
Flood fill Algorithm
Techfest and the Queue
Largest subsquare surrounded by X
Shortest Source to Destination Path
Divisibility tree
Height Using Parent Array
Spiral Matrix
Preorder traversal (Iterative)
Subset Sum Problem
Longest Palindromic Substring
Form a palindrome
Search Pattern (Rabin-Karp Algorithm)
All Palindromic Partitions
3 Sum Closest
Bellman-Ford
Remove BST keys outside given range
Remove K Digits
Substrings of length k with k-1 distinct elements
Construct list using given q XOR queries
Number of Provinces
Prefix match with other strings
Maximum sum leaf to root path
Find duplicate rows in a binary matrix
BST to max heap
Paths from root with a specified sum
Shortest Prime Path
Insertion Sort for Singly Linked List
Remove all occurences of duplicates in a linked list
Flatten binary tree to linked list
Anti Diagonal Traversal of Matrix
Unique Number III
All Unique Permutations of an array
Course Schedule
Clone an Undirected Graph
Target Sum
Overlapping Intervals
Remove and Reverse
Find k-th smallest element in given n ranges
Even Swap
Reverse a Stack
Maximum product subset of an array
Maximum Meetings in One Room
Max Equal sum of 3 Stacks
Buy Maximum Stocks
Find shortest safe route in a matrix
Graph is Tree or Not
Sort a k sorted doubly linked list
Construct Binary Tree from String with bracket representation
Check if all levels of two trees are anagrams or not
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
Majority Element II
Search in Rotated Array 2
Minimal Cost
Combination Sum II
Shortest Path in Weighted undirected graph
Task Scheduler
Hands of Straights
Minimum Absolute Difference In BST
Number of Longest Increasing Subsequence
Lemonade Change
Maximum Sum Combination
Count Number of Nodes in a Binary Tree
Longest String Chain
Print Longest Increasing Subsequence
Partitions with Given Difference
Floor in BST
Largest Divisible Subset
Flattening a Linked List
Make array elements unique
Minimum X (xor) A
Minimum repeat to make substring
Water the plants
Apple Sequences
Connect Nodes at Same Level
Unique Paths in a Grid
Valid Compressed String
Fill the Matrix
Number of Good Components
Optimal Array
Best Node
Update Queries
Maximum Intersecting Lines
String rp or pr
Knight in Geekland
Shy Geek
Count Special Numbers
Minimum Steps Required
Count Cyclic Paths
Maximum Triplet product
Second smallest number
Special Palindrome Substrings
Maximum Possible Value
Distinct Difference
Anagrams in Linked List
Yet another query problem
Geek hates too many 1s
Maximum Length
Remove the balls
Unequal Arrays
Job Sequencing Problem
Bheem Wants Ladoos
Prefix Suffix String
Smaller Sum
Shortest XY distance in Grid
BST Maximum Difference
Nearest smaller tower
Another Coin Change Problem
Geek's Village and Wells
Find Number
Good Subtrees
Subtree In N-ary Tree
Easy Task
Add Minimum Characters
Maximum subset sum
Palindrome with minimum sum
Count Total Setbits
Tree Transformation
Construct a Full Binary Tree
Modify Linked List-1
Find Kth permutation
Fraction pairs with sum 1
LCA Pairs
Minimum Distance Graph
New Year Resolution
Grinding Geek
Flatten BST to sorted list
Minimize the Difference
Minimize the Array
Pairs violating the BST property
Kth common ancestor in BST
Maximum Doublet XOR
Longest Non-Decreasing Subarray - I
Longest Common Palindromic Substring
Find All Triplets with Zero Sum
Split array in three equal sum subarrays
Frequency in a Linked List
Pairwise swap elements of a linked list
Linked list of strings forms a palindrome
Delete nodes having greater value on right
Remove duplicates from an unsorted linked list
Delete in a Doubly Linked List
Inorder Traversal
Reverse a Doubly Linked List
Bubble Sort
Check for BST
Right View of Binary Tree
K distance from root
Mirror 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
Decimal Equivalent of Binary Linked List
Intersection Sorted Linked Lists
Find Transition Point
Remove Duplicates from a Sorted Linked List
Level Order in spiral form
Reverse Level Order Traversal
DFS of Graph
Insert a node in a BST
BFS of graph
Identical Trees
Root to leaf path sum
Square Root
Nodes without a Sibling
Lowest Common Ancestor in a BST
Remove Duplicates Sorted Array
BST Keys in a Range
Remove duplicates in array
Binary Tree to BST
Unique rows in boolean matrix
Toeplitz matrix
Remove every k'th node
Leaves at Same Level or Not
Multiply two linked lists
You and your books
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
Three way partitioning
Level order traversal
Inorder Successor in BST
Index of an Extra Element
Insert in a Sorted List
Split Linked List Alternatingly
Sum of leaf nodes in BST
More than n/k Occurrences
Symmetric Tree
Delete Alternate Nodes
Find the Sum of Last N nodes of the Linked List
Next Right Node
Count Pairs whose sum is equal to X
Maximum Node Level
Find length of Loop
Median of BST
Leaf under budget
Linked List Matrix
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
Closest Neighbour in BST
Brothers From Different Roots
Sum of Leaf Nodes at Min Level
Delete Mid of a Stack
Swap the array elements
Predict the Column
Xoring and Clearing
Frequency in Queue
Frequency Game
First Set Bit
Rightmost different bit
K-th Bit is Set or Not
Power of 2
Wave Array
Frequencies in a Limited Array
Equilibrium Point
Array Leaders
Minimum Number in a sorted rotated array
Roof Top
Print adjacency list
Sum of upper and lower triangles
Print Matrix in snake Pattern
Transpose of Matrix
Rotate by 90 degree
Matrix Boundary Traversal
Winner of an election
String Rotated by 2 Places
Strings Rotations of Each Other
Isomorphic Strings
Reverse Words
Panagram Checking
Non Repeating Character
Parenthesis Checker
Minimum Cost of ropes
N meetings in one room
Reach a given score
Count ways to N'th Stair
Count number of hops
Missing in Array
Product array puzzle
Roman Number to Integer
Max Value Permutation
Missing And Repeating
Count the elements
Find Kth Rotation
Find the closest number
Adding Ones
Sorted and Rotated Minimum
Search in a Row-Column sorted matrix
Move All Zeroes to End
String Duplicates Removal
Missing number
Chocolate Distribution Problem
Count pairs Sum in matrices
Find Pair Given Difference
Pairs with difference k
Swap and Maximize
Bitonic Point
Left most and right most index
Single Number
Alternate Positive Negative
Remaining String
Kth distance
Remove Duplicates
Nearest multiple of 10
Reorganize The Array
Facing the sun
Second Largest
Convert array into Zig-Zag fashion
Rotate Bits
Find all pairs with a given sum
Number of occurrence
K-Pangrams
Reversing the equation
Does array represent Heap
Modify the Array
Convert an array to reduced form
Check if array is sorted
Find missing in second array
String's Count
Longest Common Prefix of Strings
Special array reversal
Segregate 0s and 1s
Play With OR
At Least K Occurrences
Find the closest pair from two arrays
Sum of Lengths of Non-Overlapping SubArrays
Four Elements
Palindrome String
Total count
Print Bracket Number
Odd Even Problem
Binary representation of next number
Is Binary Number Multiple of 3
Padovan Sequence
Extract the Number from the String
Minimum Operations
Divisibility by 8
Number of 1 Bits
Find the Highest number
Armstrong Numbers
Reverse Bits
Max Sum Subarray of size K
Nth Fibonacci Number
Swap two nibbles in a byte
Copy Set Bits in Range
Maximum Sum Problem
High Effort vs Low Effort
Party of Couples
Shortest path from 1 to n
Sum 1 to n Divisors
Count numbers containing 4
Reach the Nth point
Perfect Numbers
Largest number possible
Recamans sequence
The Palindrome Pattern
Compare two fractions
Form a number divisible by 3 using array digits
Least Prime Factor
Sum of First N Natural Numbers
Recursive sequence
Juggler Sequence
Sum of product of all pairs
Summed Matrix
Maximum Diamonds
Row with Minimum 1s
Make Zeroes
Surround the 1's
Coverage of all Zeros in a Binary Matrix
Trace Path
Inorder Traversal and BST
Letters Collection
Print Pattern
Closest Triplet
Array to BST
Sum of dependencies in a graph
Sum of k smallest elements in BST
Find maximum volume of a cuboid
Search insert position of K in a sorted array
Count the Substrings
Split the binary string into substrings with equal number of 0s and 1s
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
Find pairs with given sum in doubly linked list
Fibonacci series up to Nth term
Maximum Depth Of Binary Tree
Divisor Game
Search in Linked List
Array to Linked List
Introduction to Trees
Binary Search Trees
Graph and Vertices
Binary Tree Representation
Last modified ball
Transform to Sum Tree
Find the first node of loop in linked list
Reverse both parts
Cutting Rectangles
Frogs and Jumps
Make Array Elements Equal
Equal Left and Right Subarray Sum
Remainder on dividing by 11
Is it Fibonacci
Taxi Booking
Max Level Sum in Binary Tree
Binary matrix having maximum number of 1s
Number of Subarrays of 0's
Maximum Identical Bowls
Wifi Range
Minimum Number
Minimum Integer
Seating Arrangement
String Mirror
Powerfull Integer
Make Palindrome
Binary Modulo
Total Cuts
Bit Magic
Array Operations
Dominant Pairs
Total Traversal Time
Ticket Counter
Unique Number of Occurrences
Beautiful Number
Strong Students in School
Complete the Staircase
String Matching
Silver and Gold
Mean BST
Even Sum
High Frequency
Weird Island
Construction of a string
Same characters
Squares
Strong Students in School
Is it a Leap Year
Antique Collections
Divide and Rule
Candy shop I
Array Game
Return To Root
Magic Array
Equality
Minimum Number of Elements
Check for Consecutive
Prefix Distinct
Frequency of every Element
Two Smallests in Every Subarray
Split an array into two equal Sum subarrays
Largest Pair Sum
Distribute Balls
Two Swaps
Union of Two Sorted Arrays with Distinct Elements
Count Linked List Nodes
Count Leaves in Binary Tree
Postorder Traversal
Preorder Traversal
Search a node in BST
Peak element
Linked List Insertion At End
Minimum element in BST
Is Linked List Length Even?
Identical Linked Lists
Triplet Family
Sorted Array Search
Reverse a String
First n Fibonacci
Alternative Sorting
Quick Left Rotation
String with numbers at its end
Largest Element in Array
Rotating an Array
Maximum average among all subarrays
Naughty Geek
Friend of x
Naughty Geek
Time Travel
Who has the majority?
Linked List Group Reverse
Binary Tree to DLL
Clone List with Next and Random
Min distance between two given nodes of a Binary Tree
Subtraction in Linked List
Distinct occurrences
LRU Cache
AVL Tree Insertion
Alien Dictionary
AVL Tree Deletion
Merge Sort on Doubly Linked List
Nodes at given distance in binary tree
Fixing Two nodes of a BST
Max Path Sum 2 Special Nodes
Number of Turns in Binary Tree
String Permutations
Smallest window containing all characters of another string
Solve the Sudoku
Strongly connected component (Tarjans's Algo)
Minimum Cost Path
Word Ladder I
Burning Tree
Next Smallest Palindrome
Count Pairs in an Array
Distinct palindromic substrings
Search Pattern (KMP-Algorithm)
Count Smaller elements
Longest Prefix Suffix
Number of distinct subsequences
Wildcard string matching
Circle of strings
Longest repeating and non-overlapping substring
Sum-string
Sub-arrays with equal number of occurences
Edit Distance
Minimum Points To Reach Destination
Minimum sum partition
Palindromic Partitioning
Next Happy Number
Matrix Chain Multiplication
Strictly Increasing Array
Generalised Fibonacci numbers
Boolean Parenthesization
Longest valid Parentheses
Possible Paths in a Tree
N-Queen Problem
Brackets in Matrix Chain Multiplication
Articulation Point - II
Longest substring to form a Palindrome
Find all Critical Connections in the Graph
Sorted Linked List to BST
Number of distinct words with K maximum contiguous vowels
Word Ladder II
Distribute candies in a binary tree
Split Array Largest Sum
Find number of closed islands
Find the String
Articulation Point - I
Stock Buy and Sell – Max 2 Transactions Allowed
Largest rectangular sub-matrix whose sum is 0
Vertex Cover
Maximum Connected group
Expression Add Operators
Minimize Max Distance to Gas Station
Candy
Account Merge
Better String
Select Nodes
Largest Sum Cycle
Fixing Two swapped nodes of a BST
Shortest Path Using Atmost One Curved Edge
Avoid Explosion
Walls Coloring II
Redundant Parenthesis
Partition the Array
Count Binary Strings With No Consecutive 1s
Divide in Incremental Groups
Max min Height
Maximum Number of coins
Median of the Subarrays
Minimum BST Sum Subtree
Special Digits
Cake Distribution Problem
Min Time
Game Of Subsets
Geekina Hate 1s
Making A Large Island
close
G
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 !