Tutorials
Courses
Go Premium
Data Structure
Java
Python
HTML
Interview Preparation
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
M
mansig647
Current POTD Streak
STREAK
01
/1461
days
Longest streak/Global longest streak
Language Used
C++, C
Coding Score
894
Problem Solved
289
Contest Rating
__
58 points
Contributor
58 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
45 submissions in current year
Current
2024
2023
2022
2021
2020
January
February
March
April
May
June
July
August
SCHOOL (0)
BASIC (24)
EASY (77)
MEDIUM (162)
HARD (26)
Rearrange characters
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
Quick Sort on Linked List
Count BST nodes that lie in a given range
Merge Sort
Bottom View of Binary Tree
Intersection in Y Shaped Lists
Diameter of a Binary Tree
Heap Sort
Sum Tree
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
Merge K sorted linked lists
Find the number of islands
Max sum in the configuration
Generate IP Addresses
Kth smallest element in a Matrix
Is Binary Tree Heap
Remove loop in Linked List
Dijkstra Algorithm
Minimum Spanning Tree
Largest BST
Count Palindromic Subsequences
Minimum Swaps to Sort
Count of distinct substrings
Palindrome Linked List
Strongly Connected
Rat in a Maze Problem - I
Bipartite Graph
BST with Dead End
Count distinct elements in every window
Merge k Sorted Arrays
Sort a stack
Duplicate Subtree
Top View of Binary Tree
k-th Smallest in BST
Merge Sort for Linked List
Pair Sum in BST
Populate Inorder Successor for all nodes
Construct Tree from Inorder & Preorder
Isomorphic Trees
Predecessor and Successor
Duplicate Subtrees
Sum of nodes on the longest path
ZigZag Tree Traversal
Ceil in BST
Count set bits
Kadane's Algorithm
Majority Element
Count Inversions
Triplet Sum in Array
Merge Without Extra Space
Spirally traversing a matrix
Search in a sorted Matrix
Distance of nearest cell having 1
Subarray with 0 sum
Longest Consecutive Subsequence
Stock span problem
Next Greater Element
K Sized Subarray Maximum
Activity Selection
Fractional Knapsack
Job Sequencing Problem
Minimum Platforms
M-Coloring Problem
Minimum Jumps
Stickler Thief
Egg Dropping Puzzle
Longest Common Subsequence
0 - 1 Knapsack Problem
Allocate Minimum Pages
Preorder to BST
Zero Sum Subarrays
Kth Smallest
Implement Trie
Rotten Oranges
Steps by Knight
Maximize The Cut Segments
Print Anagrams Together
Word Break
Prerequisite Tasks
4 Sum - All Quadruples
Sort 0s, 1s and 2s
Single Among Doubles
Search in Rotated Sorted Array
Smallest number with at least n trailing zeroes in factorial
Maximum Product Subarray
Row with max 1s
Longest Subarray with Sum K
Transform String
Count the Reversals
Factorials of large numbers
Length of the longest substring
k largest elements
Smallest distinct window
Longest Palindrome in a String
K-th element of two Arrays
Triplets with Smaller Sum
Minimum swaps and K together
LCS of three strings
Minimum sum
Minimize the Heights II
First and Last Occurrences
Minimum Swaps for Bracket Balancing
Permutations of a String
Friends Pairing Problem
Unique Number II
Max Sum Increasing Subsequence
Coin Change (Count Ways)
Gold Mine Problem
Longest subsequence-1
Power Set
nCr
Maximum path sum in matrix
Partition Equal Subset Sum
Subset Sums
Yes XOR No
Count Total Setbits
Find nth root of m
Next Permutation
Longest Repeating Subsequence
Stream First Non-repeating
Segregate even and odd nodes in a Linked List
Largest square formed in a matrix
Replace O's with X's
Find the string in grid
Floyd Warshall
Negative weight cycle
Flood fill Algorithm
Subset Sum Problem
Search Pattern (Z-algorithm)
Bellman-Ford
Rearrange characters
Number of Provinces
Minimize the Heights I
Course Schedule
Reverse a Stack
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
Shortest Path in Undirected Graph
Shortest path in Directed Acyclic Graph
Aggressive Cows
Shortest Path in Weighted undirected graph
Floor in BST
Reverse a 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
Mirror Tree
Two Mirror Trees
Height of Binary Tree
Balanced Tree Check
Kth from End of Linked List
Check If Circular Linked List
Left View of Binary Tree
Transform to Sum Tree
Intersection Sorted Linked Lists
Remove Duplicates from a Sorted Linked List
Reverse Level Order Traversal
DFS of Graph
Insert a node in a BST
BFS of graph
Lowest Common Ancestor in a BST
Binary Tree to BST
Unique rows in boolean matrix
Leaves at Same Level or Not
Multiply two linked lists
Kth largest element in BST
Three way partitioning
Level order traversal
Inorder Successor in BST
More than n/k Occurrences
Brothers From Different Roots
Reverse an Array
Power of 2
Strings Rotations of Each Other
Isomorphic Strings
Parenthesis Checker
Minimum Cost of ropes
N meetings in one room
Union of Arrays with Duplicates
Product array puzzle
Roman Number to Integer
Intersection of Arrays with Distinct
Missing And Repeating
Find Kth Rotation
Sort by Set Bit Count
Pairs with certain difference
Common in 3 Sorted Arrays
Sorted and Rotated Minimum
Search in a Row-Column sorted matrix
Move all negative elements to end
Chocolate Distribution Problem
Find Pair Given Difference
Smallest subarray with sum greater than x
Alternate Positive Negative
Remove Consecutive Characters
Convert a sentence into its equivalent mobile numeric keypad sequence
Second Largest
Second most repeated string in a sequence
Min Number of Flips
Two sum -Pairs with 0 Sum
Merge two binary Max heaps
Palindrome String
Search array with adjacent diff at most k
Number of 1 Bits
Count Digits
Shortest path from 1 to n
Minimum number of Coins
Factorials Less than or Equal to n
Arithmetic Number
Split the binary string into substrings with equal number of 0s and 1s
Unoccupied Computers
Recursively print all sentences that can be formed from list of word lists
Print N to 1 without loop
Print GFG n times
Binary Tree Representation
Linked List Group Reverse
Binary Tree to DLL
Clone List with Next and Random
Min distance between two given nodes of a Binary Tree
Max rectangle
Alien Dictionary
Smallest range in K lists
Trapping Rain Water
Smallest window containing all characters
Histogram Max Rectangular Area
Find median in a stream
Word Ladder I
Median of 2 Sorted Arrays of Different Sizes
Merge Without Extra Space
The Painter's Partition Problem-II
Longest Prefix Suffix
Wildcard string matching
Edit Distance
Palindromic Partitioning
Matrix Chain Multiplication
Median in a row-wise sorted Matrix
Word Wrap
Count occurrences of a given word in a 2-d array
Word Ladder II
Articulation Point - I
Min Chars to Add for Palindrome
Rotate Array
Postorder Traversal
Implement stack using array
Queue Using Array
Preorder Traversal
First Occurence
Sum Except First and Last
Palindromic Array
Minimum element in BST
Bit Difference
Print 1 To N Without Loop
Reverse a String
Value equal to index value
Quick Left Rotation
Largest Element in Array
Rotate Array by One
Array Subset
Min and Max in Array
Find position of set bit
Median of an Array
Sum of first n terms
Count Squares
Middle of Three
Sorted matrix
close
M
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 !