Data Structure
Java
Python
HTML
Interview Preparation
Tutorials
Courses
Tracks
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
offbeat
Current POTD Streak
STREAK
00
/1536
days
Longest streak/Global longest streak
Language Used
Java, C++, C
Coding Score
903
Problem Solved
330
Contest Rating
__
838 points
Contributor
838 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
41 submissions in current year
Current
2024
2023
2022
2021
2020
2019
2018
2017
January
February
March
April
May
June
July
August
September
October
SCHOOL (1)
BASIC (25)
EASY (114)
MEDIUM (171)
HARD (19)
Find Length of Linked List
Count Leaves in Binary Tree
Queue using Linked List
Preorder Traversal
First Occurence
Sum Except First and Last
Linked List Insertion At End
Anagram of String
Print 1 To N Without Loop
Binary String
First n Fibonacci
Repeated Character
Merge two strings
Largest Element in Array
Rotate Array by One
Array Subset
Rotating an Array
Odd or Even
Check for Power
LCM And GCD
Repeated IDs
Reverse digits
Sum of first n terms
Count Squares
Finding Position
Sorting Elements of an Array by Frequency
Spidey Sense
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
Check for BST
Merge Sort
Quick Sort
Bottom View of Binary Tree
Intersection in Y Shaped Lists
Diameter of a Binary Tree
Heap Sort
Merge two sorted linked lists
Sum Tree
Flattening a Linked List
Tree Boundary Traversal
Directed Graph Cycle
Undirected Graph Cycle
LCA in Binary Tree
Lowest Common Ancestor in a BST
The Celebrity Problem
Largest subarray with 0 sum
Topological sort
Vertical Tree Traversal
Merge K sorted linked lists
Find the number of islands
Gas Station
Is Binary Tree Heap
Remove loop in Linked List
Dijkstra Algorithm
Largest BST
Interleaved Strings
Count Palindromic Subsequences
Palindrome Linked List
Strongly Connected
Rat in a Maze
Bipartite Graph
Closest in BST
Count distinct elements in every window
Merge k Sorted Arrays
Sort a stack
Top View of Binary Tree
k-th Smallest in BST
Level order traversal
Merge Sort for Linked List
Root to Leaf Paths
Linked List that is Sorted Alternatingly
Isomorphic Trees
Children Sum in a Binary Tree
Find length of Loop
ZigZag Tree Traversal
Ceil in BST
Wave Array
Stock buy and sell
Kadane's Algorithm
Count Inversions
Union of 2 Sorted Arrays
Indexes of Subarray Sum
Triplet Sum in Array
Spirally traversing a matrix
Rotate by 90 degree
Distance of nearest cell having 1
Subarray with 0 sum
Subarrays with equal 1s and 0s
Longest Consecutive Subsequence
Stock span problem
Next Greater Element
Infix to Postfix
K Sized Subarray Maximum
Kth smallest element
Minimum Cost of ropes
Largest number in K swaps
Target Sum Combinations
M-Coloring Problem
Minimum Jumps
Stickler Thief
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
Equal Sum Partition
Sort according to an Array
Allocate Minimum Pages
Find whether path exist
Kth Smallest
Implement Trie
Nth Catalan Number
Rotten Oranges
Steps by Knight
Maximize The Cut Segments
Print Anagrams Together
Overlapping Intervals
Word Break
Sort 0s, 1s and 2s
Paths to reach origin
Maximum Index
Top k numbers in a stream
Consecutive 1's not allowed
Pythagorean Triplet
Painting the Fence
Smallest number with at least n trailing zeroes in factorial
Form the Largest Number
Maximum Product Subarray
Row with max 1s
Longest Subarray with Sum K
Max Sum without Adjacents
Shuffle integers
Longest Common Substring
Longest substring with distinct characters
Longest Substring with K Uniques
Longest Palindrome in a String
Tic Tac Toe
Integer to Words
K-th element of two Arrays
Triplets with Smaller Sum
Rod Cutting
Minimum swaps and K together
LCS of three strings
First negative in every window of size k
Maximum difference of zeros and ones in binary string
Minimize the Heights II
First and Last Occurrences
Valid Substring
Permutations of a String
Find largest word in dictionary
Friends Pairing Problem
Subarrays Product Less than K
Modular Exponentiation
Max Sum Increasing Subsequence
Coin Change (Count Ways)
Sequence of Sequence
Sieve of Eratosthenes
Gold Mine Problem
Coin Change (Minimum Coins)
Perfect Sum Problem
Knapsack with Duplicate Items
nCr
Maximum path sum in matrix
Partition Equal Subset Sum
Min Coin
Get Minimum Squares
Subset Sums
Number of paths
Find nth root of m
Next Permutation
Preorder Traversal and BST
Stream First Non-repeating
Segregate even and odd nodes in a Linked List
Largest square formed in a matrix
Two odd Occuring
Count the paths
Iterative Inorder
Preorder traversal (Iterative)
Iterative Postorder
Subset Sum Problem
Bellman-Ford
Rearrange characters
Maximum Meetings in One Room
Number of Distinct Islands
Shortest Path in Undirected Graph
Shortest path in Directed Acyclic Graph
Frog Jump
Minimal Cost
Geek's Training
Aggressive Cows
Floor in BST
Gadgets of Doraland
Reverse a linked list
Delete N nodes after M nodes of a linked list
Pairwise swap elements of a linked list
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
Selection Sort
Insertion Sort
Right View of Binary Tree
K distance from root
Mirror Tree
Height of Binary Tree
Balanced Tree Check
Kth from End of Linked List
Middle of a Linked List
Check If Circular Linked List
Left View of Binary Tree
Delete Middle of Linked List
Transform to Sum Tree
Intersection Sorted Linked Lists
Remove Duplicates from a Sorted Linked List
Postorder Traversal
Level Order in spiral form
DFS of Graph
Stack using Linked List
Insert a node in a BST
BFS of graph
Root to leaf path sum
Square Root
Binary Search
Run Length Encoding
Largest subarray of 0's and 1's
Unique rows in boolean matrix
Leaves at Same Level or Not
Convert to Roman No
Match specific pattern
Search a node in BST
Josephus problem
Expression Tree
Kth largest element in BST
Three way partitioning
Inorder Successor in BST
Insert in a Sorted List
Minimum element in BST
Max and min element in Binary Tree
Reverse Using Stack
Queue Reversal
Reverse first K of a Queue
Sum of Leaf Nodes
Frequency Game
Check K-th Bit
Longest Consecutive 1's
Power of 2
Swap odd and even bits
Array Leaders
Print adjacency list
String Rotated by 2 Places
Reverse Words
Non Repeating Character
Parenthesis Checker
N meetings in one room
Union of Arrays with Duplicates
Check Equal Arrays
Roman Number to Integer
Count minimum right flips to set all values in an array
Missing And Repeating
Maximum Gap
Sort by Set Bit Count
Pairs with certain difference
Search in a Row-Column sorted matrix
Chocolate Distribution Problem
Smallest subarray with sum greater than x
Sort Array II
Remove Consecutive Characters
Second Largest
Two Sum - Pair with Given Sum
Second most repeated string in a sequence
Number of occurrence
Min Number of Flips
Two sum -Pairs with 0 Sum
Print an array in Pendulum Arrangement
Element with left side smaller and right side greater
Palindrome String
Shop in Candy Store
Is Binary Number Multiple of 3
Number of 1 Bits
Armstrong Numbers
Reverse Bits
Nth Fibonacci Number
Count Digits
Element that appears once where every element occurs twice
Sum 1 to n Divisors
Count numbers containing 4
Maximum height of the staircase
BBT counter
Arithmetic Number
Inorder Traversal and BST
Overlapping rectangles
Help the Old Man!!!
Print Pattern
Count all possible paths from top left to bottom right
Print Diagonally
Count the Substrings
Print N to 1 without loop
Print GFG n times
Find XOR of numbers from L to R.
Search in Linked List
Array to Linked List
Introduction to Doubly Linked List
Implement Lower Bound
Linked List Group Reverse
Clone List with Next and Random
Min distance between two given nodes of a Binary Tree
LRU Cache
Alien Dictionary
Smallest range in K lists
Trapping Rain Water
Smallest window containing all characters
Histogram Max Rectangular Area
Max of min for every window size
Find median in a stream
Merge Without Extra Space
Number of distinct subsequences
Edit Distance
Strictly Increasing Array
Longest valid Parentheses
N-Queen Problem
Maximum sum Rectangle
Articulation Point - I
Reverse an Array
close
A
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri