Tutorials
Courses
Go Premium
Data Structure
Java
Python
HTML
Interview Preparation
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
josal
Current POTD Streak
STREAK
64
/1475
days
Longest streak/Global longest streak
Language Used
C++, C
Coding Score
1604
Problem Solved
460
Contest Rating
__
356 points
Contributor
356 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 (30)
EASY (105)
MEDIUM (273)
HARD (52)
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
QuickSort on Doubly Linked List
Count BST nodes that lie in a given range
Merge 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
Connect Nodes of Levels
Flattening a Linked List
Diagonal Tree Traversal
Tree Boundary Traversal
Directed Graph Cycle
Undirected Graph Cycle
LCA in Binary Tree
The Celebrity Problem
Largest subarray with 0 sum
Topological sort
Find the number of islands
Serialize and deserialize a binary tree
Wildcard Pattern Matching
Check if subtree
Kth smallest element in a Matrix
Dijkstra Algorithm
Minimum Spanning Tree
Largest BST
Interleaved Strings
Sorted subsequence of size 3
Count Palindromic Subsequences
Minimum Swaps to Sort
Implement Atoi
Strongly Connected
Rat in a Maze Problem - I
Bipartite Graph
Pots of Gold Game
Merge k Sorted Arrays
Bridge edge in a graph
Find the missing no in string
Top View of Binary Tree
Level order traversal
Peak element
Delete nodes greater than k
Merge Sort for Linked List
Complete Binary Tree
Construct expression tree
Foldable Binary Tree
Construct Tree from Inorder & Preorder
Predecessor and Successor
Leaves to DLL
Children Sum in a Binary Tree
ZigZag Tree Traversal
Count Number of SubTrees having given Sum
Maximum sum of Non-adjacent nodes
Ceil in BST
Smallest Positive Missing
Power Of Numbers
Wave Array
Possible Words From Phone Digits
Kadane's Algorithm
Majority Element
Binary Array Sorting
Count Inversions
Indexes of Subarray Sum
Triplet Sum in Array
Merge Without Extra Space
Spirally traversing a matrix
Unit Area of largest region of 1's
Subarray with 0 sum
Longest Consecutive Subsequence
Case-specific Sorting of Strings
Stock span problem
Infix to Postfix
K Sized Subarray Maximum
Nearly sorted
Fractional Knapsack
Job Sequencing Problem
Minimum Platforms
Largest number in K swaps
M-Coloring Problem
Minimum Jumps
Stickler Thief
Egg Dropping Puzzle
Optimal Strategy For A Game
Longest Increasing Subsequence
Longest Common Subsequence
0 - 1 Knapsack Problem
Number of Unique Paths
Allocate Minimum Pages
X Total Shapes
Zero Sum Subarrays
Kth Smallest
Implement Trie
Nth Catalan Number
Steps by Knight
Count subsequences of type a^i, b^j, c^k
Maximize The Cut Segments
Print Anagrams Together
Rotate by 90 degree
Top K Frequent in Array
Word Break
Generate Parentheses
Word Search
Prerequisite Tasks
4 Sum - All Quadruples
Excel Sheet | Part - 1
Sort 0s, 1s and 2s
Equivalent Sub-Arrays
Consecutive 1's not allowed
Painting the Fence
Search in Rotated Sorted Array
Smallest number with at least n trailing zeroes in factorial
Maximum Product Subarray
Row with max 1s
Column name from a given column number
Form a palindrome
Nuts and Bolts Problem
Longest Subarray with Sum K
Count the Reversals
Number of positive integral solutions
Sum of two large numbers
Factorials of large numbers
Length of the longest substring
Remove leading zeros from an IP address
Magnet Array Problem
Longest Common Substring
Smallest distinct window
Longest Palindrome in a String
Integer to Words
K-th element of two Arrays
String formation from substring
Longest Arithmetic Subsequence
Triplets with Smaller Sum
Rod Cutting
Minimum swaps and K together
Maximize the sum of selected numbers from a sorted array to make it empty
Smallest Absolute Difference
LCS of three strings
Maximum difference of zeros and ones in binary string
Minimize the Heights II
First and Last Occurrences
Reaching the heights
Next higher palindromic number using the same set of digits
Nine Divisors
Find patterns
Minimum Swaps for Bracket Balancing
Permutations of a String
Number following a pattern
Friends Pairing Problem
Lexicographically smallest string
Subarrays Product Less than K
Max Sum Increasing Subsequence
Minimum cost to fill given weight in a bag
Coin Change (Count Ways)
Sieve of Eratosthenes
Mobile numeric keypad
Gold Mine Problem
Coin Change (Minimum Coins)
Power Of 2 and Subsequences
Kth Smallest Factor
Firing employees
Longest subsequence-1
Power Set
Knapsack with Duplicate Items
nCr
Number of ways
Maximum path sum in matrix
Minimum steps to destination
Partition Equal Subset Sum
XOR Game
Get Minimum Squares
Handshakes
Count possible ways to construct buildings
Count digit groupings of a number
Array Pair Sum Divisibility Problem
Brain Game
Fill up buckets
Subset Sums
N Digit numbers with digits in increasing order
Fill the Tank
Knight Walk
Stepping Numbers
Return two prime numbers
Fact Digit Sum
Find Prime numbers in a range
Jumping Numbers
Grouping Of Numbers
Find the Safe Position
Next Permutation
Smaller on Left
Geek and knots
Filling Bucket
Matrix Exponentiation
Longest Repeating Subsequence
Longest alternating subsequence
Composite and Prime
Finding Profession
Decode the string
Is Sudoku Valid
Total Decoding Messages
Stream First Non-repeating
Maximum Sub-String after at most K changes
Villain Con
Print leaf nodes from preorder traversal of BST
Largest square formed in a matrix
Tricky Subset Problem
Longest Perfect Piece
Rat Maze With Multiple Jumps
Snake and Ladder Problem
Geek and Strings
The Smurfs
Satisfy the equation
Two odd Occuring
Find all distinct subset (or subsequence) sums
Queries on a Matrix
Express as sum of power of natural numbers
Find the string in grid
Shortest Uncommon Subsequence
Help a Thief!!!
Count the paths
Floyd Warshall
Negative weight cycle
Base Equivalence
Reverse Spiral Form of Matrix
Geek and Number String
Save Your Life
Hamiltonian Path
Coins of Geekland
Transfiguration
Spidey Sense
Escape the Forbidden Forest
Jump Game
Iterative Postorder
Subset Sum Problem
Bellman-Ford
Capacity To Ship Packages Within D Days
Substrings of length k with k-1 distinct elements
Clone a stack without using extra space
Count pairs in array divisible by K
Number of Provinces
Binary Matrix with at most K 1s
BST to max heap
BST to greater sum tree
Find rectangle with corners as 1
Cousins of a given node
Sort for Singly Linked List
Flatten binary tree to linked list
IPL 2021 - Match Day 2
Target Sum
Maximum number of events that can be attended
Longest Possible Route in a Matrix with Hurdles
Robots
Hit most Balloons
Enemy
Levels Of Game
Smallest sum contiguous subarray
Array Removals
Minimum Cost to cut a board into squares
Stack Permutations
Replace every element with the least greater element on its right
Minimum Swaps
Number of Distinct Islands
Shortest Distance in a Binary Maze
Number Of Islands
Merging Details
Maximum Multiple
Number of Ways to Arrive at Destination
Delete N nodes after M nodes of a linked list
Check for BST
Right View of Binary Tree
Mirror Tree
Height of Binary Tree
Balanced Tree Check
Left View of Binary Tree
Transform to Sum Tree
Queue using two Stacks
Stack using two queues
DFS of Graph
Insert a node in a BST
BFS of graph
Identical Trees
Run Length Encoding
Josephus problem
Kth largest element in BST
Three way partitioning
More than n/k Occurrences
Reverse first K of a Queue
Get min at pop
Power of 2
Array Leaders
Print adjacency list
Winner of an election
Isomorphic Strings
Reverse Words
Parenthesis Checker
Generate Binary Numbers
Minimum Cost of ropes
N meetings in one room
Reach a given score
Union-Find
Count ways to N'th Stair
First Repeating Element
Union of Arrays with Duplicates
Positive Negative Pair
Product array puzzle
Roman Number to Integer
Missing And Repeating
Sort by Set Bit Count
Pairs with certain difference
Common in 3 Sorted Arrays
Sum of elements between k1'th and k2'th smallest elements
Search in a Row-Column sorted matrix
Chocolate Distribution Problem
Find Pair Given Difference
Smallest subarray with sum greater than x
Amend The Sentence
Remove Consecutive Characters
Rearrange a string
Two Sum - Pair with Given Sum
Second most repeated string in a sequence
Number of occurrence
Longest Common Prefix of Strings
Min Number of Flips
Two sum -Pairs with 0 Sum
Maximum sum of increasing order elements from n arrays
Merge two binary Max heaps
Palindrome String
Fitting The Array
Adding Array Elements
Number of 1 Bits
Nth Fibonacci Number
Change Bits
The Bit Game
Reach the Nth point
Minimum number of Coins
Perfect Numbers
Smallest number with sum of digits as N and divisible by 10^N
Maximize Toys
Squares in N*N Chessboard
BBT counter
Tom and Jerry
Maximum Height Tree
Help Ishaan
Sequence Fun
Overlapping rectangles
Help the Old Man!!!
Primes sum
Print the pattern
Chicks in a Zoo
Minimum Exchange
Earthquake and the Paint Shop
Array to BST
Count all possible paths from top left to bottom right
Ball coloring
Rearrange Geek and his Classmates
Modified Numbers and Queries
Sum of k smallest elements in BST
Print Diagonally
Gadgets of Doraland
Queue using stack
Largest value in each level
Maximum number of 2X2 squares
Find good numbers within the range
Silver and Gold
License Key Formatting
Find all possible paths from top to bottom
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
Find pairs with given sum in doubly linked list
Kth Mex
Linked List Group Reverse
Min distance between two given nodes of a Binary Tree
Max rectangle
Alien Dictionary
Smallest range in K lists
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
Trapping Rain Water
Smallest window containing all characters
Max of min for every window size
Find median in a stream
Solve the Sudoku
Burning Tree
Merge Without Extra Space
The Painter's Partition Problem-II
Distinct palindromic substrings
Ugly Numbers
Count Smaller elements
Longest Prefix Suffix
Wildcard string matching
Edit Distance
Minimum sum partition
Number Formation
Palindromic Partitioning
Stock Buy and Sell – Max K Transactions Allowed
Matrix Chain Multiplication
Median in a row-wise sorted Matrix
Boolean Parenthesization
Bike Racing
Word Break - 2
N-Queen Problem
Brackets in Matrix Chain Multiplication
nCr mod M | Part 1
Phone directory
Optimal binary search tree
Word Wrap
Maximum sum Rectangle
Corona Vaccine
Search Pattern (Z-algorithm)
Minimum X (xor) A
Minimum operations to convert array A to B
Sorted Linked List to BST
Palindrome Pairs
Count occurrences of a given word in a 2-d array
Number of distinct words with K maximum contiguous vowels
Reverse a sublist of a linked list
Shortest Unique prefix for every word
Min Chars to Add for Palindrome
Minimum time to fulfil all orders
Queue using Linked List
Sum Except First and Last
Palindromic Array
Linked List Insertion At End
Anagram of String
Circular Linked List Traversal
Sum of Binary Tree
Reverse a String
Merge and Sort
Value equal to index value
Immediate Smaller Element
Repeated Character
Elements in the Range
Largest Element in Array
Rotate Array by One
Game with nos
One odd Occuring
Ishaan Loves Chocolates
Array Subset
Min and Max in Array
GCD of Array
1s Complement
Find position of set bit
Median of an Array
Binary number to decimal number
Count Squares
Find the position of M-th item
Middle of Three
Sorted matrix
Max Min
close
J
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 !