Data Structure
Java
Python
HTML
Interview Preparation
Tutorials
Courses
Tracks
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
Campus Mantri
harikeso6du
star
star
star
Current POTD Streak
STREAK
114
/1534
days
Longest streak/Global longest streak
Institution
Dr Ambedkar Institute of Technology for Handicapped (AITH) Kanpur
12 Rank
Institute Rank
Language Used
C++, Java, Python, Javascript, C
Coding Score
2022
Problem Solved
651
Contest Rating
1672
Campus Mantri
harikeso6du
307 submissions in current year
Current
2024
2023
2022
January
February
March
April
May
June
July
August
September
October
SCHOOL (0)
BASIC (87)
EASY (214)
MEDIUM (303)
HARD (47)
Sort a linked list of 0s, 1s and 2s
Detect Loop in linked list
Quick Sort on Linked List
Insert in Sorted Circular Linked List
Merge Sort
Quick Sort
Bottom View of Binary Tree
Intersection in Y Shaped Lists
Heap Sort
Flattening a Linked List
Diagonal Tree Traversal
Tree Boundary Traversal
Directed Graph Cycle
Undirected Graph Cycle
LCA in Binary Tree
Two Stacks in an Array
Max sum path in two arrays
The Celebrity Problem
Largest subarray with 0 sum
Topological sort
Merge K sorted linked lists
Find the number of islands
Gas Station
Linked List to Binary Tree
Kth element in Matrix
Is Binary Tree Heap
Dijkstra Algorithm
Minimum Spanning Tree
Largest BST
Multiply two strings
Implement Atoi
Palindrome Linked List
Strongly Connected
Rat in a Maze
BST with Dead End
Merge two BST 's
Count distinct elements in every window
Root to leaf paths sum
Sort a stack
Top View of Binary Tree
k-th Smallest in BST
Merge Sort for Linked List
Euler circuit and Path
Ancestors in Binary Tree
Binary Tree to CDLL
Pair Sum in BST
Root to Leaf Paths
Populate Inorder Successor for all nodes
XOR Linked List
Counting elements in two arrays
K Sum Paths
Construct Tree from Inorder & Preorder
Insert in Sorted way in a Sorted DLL
Maximum path sum
Predecessor and Successor
Children Sum in a Binary Tree
Find length of Loop
Deletion and Reverse in Circular Linked List
Duplicate Subtrees
Sum of nodes on the longest path
Kth Ancestor in a Tree
ZigZag Tree Traversal
Vertical Width of a Binary Tree
Swap Kth nodes from ends
Maximum Non-Adjacent Nodes Sum
Ceil in BST
Smallest Positive Missing
Possible Words From Phone Digits
Rotate and delete
Rotate Array
Kadane's Algorithm
Majority Element
Count Inversions
Indexes of Subarray Sum
Count the number of possible triangles
Sort by Absolute Difference
Merge Without Extra Space
Make Matrix Beautiful
Spirally traversing a matrix
Search in a sorted Matrix
Determinant of a Matrix
Subarray with 0 sum
Subarray range with given sum
Longest Consecutive Subsequence
Case-specific Sorting of Strings
Postfix Evaluation
Stock span problem
Next Greater Element
K Sized Subarray Maximum
Nearly sorted
Fractional Knapsack
Minimum Platforms
Largest number in K swaps
M-Coloring Problem
Minimum Jumps
Detect Cycle using DSU
Stickler Thief
Ways to Reach the n'th Stair
Sum of all substrings of a number
Longest Common Subsequence
0 - 1 Knapsack Problem
Allocate Minimum Pages
Kth Smallest
Shortest Common Supersequence
Container With Most Water
Rotate by 90 degree
Closest Three Sum
Stock Buy and Sell – Multiple Transaction Allowed
Sort 0s, 1s and 2s
Pascal Triangle
Number of subarrays with maximum values in given range
Sum of Subarrays
Top k numbers in a stream
Longest Span in two Binary Arrays
Maximize Number of 1's
Consecutive 1's not allowed
Split the Array
Pythagorean Triplet
Painting the Fence
Search in Rotated Sorted Array
Form the Largest Number
Add Binary Strings
Maximum Product Subarray
Longest subarray with sum divisible by K
Check if a string is repetition of its substring of k-length
Sort the given array after applying the given equation
Check if frequencies can be equal
Substrings with K Distinct
Palindrome SubStrings
Rotate a Matrix
Longest Subarray with Sum K
Next Smaller Element
Count the Reversals
Cutting Binary String
Max Sum without Adjacents
Shuffle integers
k largest elements
Longest Common Substring
Smallest distinct window
Longest Substring with K Uniques
Longest Palindrome in a String
Look and Say Pattern
K-th element of two Arrays
Rod Cutting
Missing element of AP
LCS of three strings
Longest Palindromic Subsequence
Largest Sum Subarray of Size at least K
First negative in every window of size k
Equalize the Towers
Minimum sum
Not a subset sum
Minimize the Heights II
Transform to prime
Minimum Deletions
Nine Divisors
Shop in Candy Store
Permutations of a String
Unique Number II
Game of XOR
Modified Game of Nim
Minimum number of deletions and insertions
Coin Change (Count Ways)
Sequence of Sequence
Mobile numeric keypad
Gold Mine Problem
Coin Change (Minimum Coins)
Perfect Sum Problem
Trail of ones
Next Prime Number
Count ways to N'th Stair(Order does not matter)
Knapsack with Duplicate Items
nCr
Partition Equal Subset Sum
Count possible ways to construct buildings
Array Pair Sum Divisibility Problem
Subset Sums
Nth Natural Number
LCM Triplet
Game with String
Smith Number
Next Permutation
Smaller on Left
How Many X's?
Power of k in factorial of n
Rotate Each Row of Matrix K Times
Decode the string
Stream First Non-repeating
Print leaf nodes from preorder traversal of BST
Two odd Occuring
Floyd Warshall
Flood fill Algorithm
Techfest and the Queue
Fun With Expresions
Police and Thieves
Help Classmates
Iterative Postorder
Subset Sum Problem
All Palindromic Partitions
Bellman-Ford
Subarrays with sum K
Coin Piles
Remove K Digits
Substrings of length k with k-1 distinct elements
Maximum XOR of two numbers in an array
Number of Provinces
Shortest Prime Path
Insertion Sort for Singly Linked List
Remove all occurences of duplicates in a linked list
Minimize the Heights I
Rank The Permutations
Anti Diagonal Traversal of Matrix
IPL 2021 - Match Day 2
Unique Number III
All Unique Permutations of an array
Min Cost Climbing Stairs
Overlapping Intervals
Reverse a Stack
K-th Largest Sum Contiguous Subarray
Maximum Meetings in One Room
Buy Maximum Stocks
Interleave the First Half of the Queue with Second Half
Minimum Cost to cut a board into squares
Graph is Tree or Not
Next element with greater frequency
Sort a k sorted doubly linked list
Number of Distinct Islands
Shortest Distance in a Binary Maze
Minimum Multiplications to reach End
Shortest Path in Undirected Graph
Shortest path in Directed Acyclic Graph
Majority Element - More Than n/3
Find length of the longest subarray containing atmost two distinct integers
Sum of subarray minimum
Frog Jump
Minimal Cost
Geek's Training
Aggressive Cows
Check if there exists a subsequence with sum K
Number of greater elements to the right
Shortest Path in Weighted undirected graph
Prime Factorization using Sieve
Minimum days to make M bouquets
Generate all binary strings
Delete all occurrences of a given key in a doubly linked list
Maximum Sum Combination
Non-overlapping Intervals
Stickler Thief II
Insert Interval
Shortest Job first
Introduction to DP
Partitions with Given Difference
Floor in BST
Largest Divisible Subset
Make array elements unique
Next Greater Element in Circular Array
Find the longest string
Minimum repeat to make substring
Prime List
Water the plants
Unique Paths in a Grid
Powerful Integer
New Year Resolution
Grinding Geek
Maximum Skill 2
Kth Missing Positive Number in a Sorted Array
Count Subarrays with given XOR
Set Matrix Zeros
Connected Components in an Undirected Graph
Find All Triplets with Zero Sum
Split array in three equal sum subarrays
Last Moment Before All Ants Fall Out
Search in an almost Sorted Array
Find H-Index
Count Valid Pairs
Minimum Time to Burst Balloons
Longest Subarray with Majority Greater than K
Balancing Consonants and Vowels Ratio
Subarrays With At Most K Distinct Integers
K Closest Points to Origin
Minimum Spanning Tree - Kruskal's Algorithm
The Knight's tour problem
Perfect Square Difference
Possible Value of X
Divisible by 13
Lexicographically Largest String After K Deletions
Group Balls by Sequence
Count Unique Vowel Strings
Count Numbers Containing Specific Digits
ASCII Range Sum
2D Difference Array
Difference Check
Farthest Smaller Right
Maximize median after doing k addition operation
Maximize the minimum difference between k elements
Search in fully rotated sorted 2D matrix
Min Add to Make Parentheses Valid
Previous Smaller Element
String stack
Longest Subarray Length
Design MinMax Queue
Unique K-Number Sum
Construct Tree from Preorder & Postorder
Reverse a linked list
Frequency in a Linked List
Node at a given index in linked list
Linked list of strings forms a palindrome
Delete in a Doubly Linked List
Reverse a Doubly Linked List
Bubble Sort
Check for BST
K distance from root
Mirror Tree
Two Mirror Trees
Height of Binary Tree
Balanced Tree Check
Middle of a Linked List
Check If Circular Linked List
Left View of Binary Tree
Transform to Sum Tree
Intersection Sorted Linked Lists
Postorder Traversal
Level Order in spiral form
DFS of Graph
Stack using Linked List
BFS of graph
Identical Trees
Root to leaf path sum
Square Root
Lowest Common Ancestor in a BST
Largest subarray of 0's and 1's
Level Order Line by Line
Remove duplicates in array
Toeplitz matrix
Leaves at Same Level or Not
Multiply two linked lists
Josephus problem
Max distance between same elements
Level order traversal
Inorder Successor in BST
Split Linked List Alternatingly
More than n/k Occurrences
Max and min element in Binary Tree
Symmetric Tree
Delete Alternate Nodes
Find the Sum of Last N nodes of the Linked List
Find length of Loop
Linked List Matrix
Maximum Pairwise Computed Value
Queue Reversal
Reverse first K of a Queue
Closest Neighbour in BST
Brothers From Different Roots
Delete Mid of a Stack
C++ Template
The New Line
Data Types
Learn to Comment
Predict the Column
Swap values using References
Find the Frequency
Reverse an Array
Decimal to binary
Rightmost different bit
Check K-th Bit
Wave Array
Equilibrium Point
Array Leaders
Floor in a Sorted Array
Roof Top
Print adjacency list
Print Matrix in snake Pattern
Transpose of Matrix
Rotate by 90 degree
Matrix Boundary Traversal
Anagram
Winner of an election
String Rotated by 2 Places
Strings Rotations of Each Other
Reverse Words
Non Repeating Character
Parenthesis Checker
Generate Binary Numbers
Minimum Cost of ropes
N meetings in one room
Pattern searching
Odd The Even Out
Rotate Deque By K
Union of Arrays with Duplicates
Missing in Array
Product array puzzle
Roman Number to Integer
Missing And Repeating
Find Kth Rotation
k sorted array
Sorted and Rotated Minimum
Search in a Row-Column sorted matrix
Move All Zeroes to End
String Duplicates Removal
Count pairs Sum in matrices
Pairs with difference k
Swap and Maximize
Bitonic Point
Single Number
Alternate Positive Negative
Remaining String
Kth distance
Palindrome Sentence
Remove Duplicates
Nearest multiple of 10
Reorganize The Array
Facing the sun
Second Largest
Convert array into Zig-Zag fashion
Two Sum - Pair with Given Sum
Find all pairs with a given sum
Number of occurrence
Average of Prefix
Modify the Array
Check if array is sorted
String's Count
Longest Common Prefix of Strings
Substrings with same first and last characters
Segregate 0s and 1s
Tywin's War Strategy
Count the Zeros
Palindrome String
Total count
Print Bracket Number
Largest number in one swap
Max Sum Subarray of size K
Nth Fibonacci Number
Toggle bits in the given range
Prime Number
The FizzBuzz Program
Shortest path from 1 to n
Assign Mice Holes
Check Prime
Reach the Nth point
AP Term
Leap Year
The Palindrome Pattern
Find nth root of m
Prime Factors
Summed Matrix
Coverage of all Zeros in a Binary Matrix
Inorder Traversal and BST
GP Term
Print Square Wall Using Nested Loops
Right Angle Triangle
Right Angle Triangle 2
Print Alphabets
Day before N days
Even Odd Game
Calculator
Count Digits
Print Pattern
Type Conversion
Array to BST
Sum of dependencies in a graph
Swap the objects-Double pointers
Decimal to binary
Incrementing a variable
Add two complex numbers
Geometric Progression Term
Return Size
Kth call
Add - Auto Keyword
Convert to Hexadecimal
Binary to Decimal
Be Precise
Scientific Format
GetLine 1
CPP Substring
GetLine 2
Address Operator
Type Inference
Queue using stack
Check if a String is Subsequence of Other
Smallest window containing 0, 1 and 2
Insert an Element at the Bottom of a Stack
All divisors of a Number
Find XOR of numbers from L to R.
Stock Buy and Sell – Max one Transaction Allowed
Remove duplicates from a sorted doubly linked list
Binary Search Trees
Introduction to Doubly Linked List
CPP - Digital root
CPP - Check Divisibility
CPP - Separate 0s and 1s in vector
CPP - Binary String
Equal Left and Right Subarray Sum
Two Smallests in Every Subarray
Largest Pair Sum
Geek String
Two Swaps
Maximize partitions in a String
Smallest Substring
Meeting Rooms
Count Pairs whose sum is less than target
Union of Two Sorted Arrays with Distinct Elements
Intersection of Two arrays with Duplicate Elements
Find distinct elements
Search in a row-wise sorted matrix
Implement Lower Bound
Find Only Repetitive Element from 1 to n-1
Restricted Scoring
Implement Upper Bound
Max x
Bitwise Operations
Ceil in a Sorted Array
Count XOR Pairs
Books Reordering
Unique Number I
Maximum Value Subsequence
Maximum Value
LCM of two numbers
Binary Tree to DLL
Clone List with Next and Random
Max rectangle
AVL Tree Insertion
Alien Dictionary
Smallest range in K lists
Max Circular Subarray Sum
Smallest window containing all characters
Histogram Max Rectangular Area
Max of min for every window size
Burning Tree
The Painter's Partition Problem-II
Search Pattern (KMP-Algorithm)
Longest Prefix Suffix
Wildcard string matching
Circle of strings
Sum-string
Sub-arrays with equal number of occurences
Edit Distance
Stock Buy and Sell – Max K Transactions Allowed
Median in a row-wise sorted Matrix
Boolean Parenthesization
Longest valid Parentheses
N-Queen Problem
Maximum sum Rectangle
Sorted Linked List to BST
Distribute Candies
Split Array Largest Sum
Find the String
Kth Smallest Number in Multiplication Table
Stock Buy and Sell – Max 2 Transactions Allowed
Min Chars to Add for Palindrome
Largest rectangular sub-matrix whose sum is 0
Vertex Cover
Expression Add Operators
Count Reverse Pairs
Candy
Better String
Max min Height
Asterisk or Question Mark?
Meeting Rooms III
Minimum K Consecutive Bit Flips
Count the Coprimes
Longest Periodic Proper Prefix
Maximum Non-Overlapping Odd Palindrome Sum
Maximum subarray sum 2
Sum of Mode
Count Linked List Nodes
Size of Binary Tree
Queue using Linked List
Queue Using Array
Doubly linked list Insertion at given position
First Occurence
Peak element
C++ Pointers ( Incrementing a variable) | Set 1
Minimum element in BST
Is Linked List Length Even?
Identical Linked Lists
Triplet Family
Sum of Binary Tree
C++ Call by reference
Array insert at index
Array insert at end
Struct area
Decimal to binary
Array Search
Most Frequent Character
Length of String
Count Words in String
Reverse a String
Make pair
Sum of Natural Numbers
Sort a String
Alternative Sorting
Check for subsequence
Immediate Smaller Element
Quick Left Rotation
Remove Spaces
Repeated Character
Upper Case Conversion
Largest Element in Array
Rotate Array by One
Array Subset
Min and Max in Array
Last index of a character in the string
Set kth bit
The If Statement
Factorial
Binary number to decimal number
The Else Statement
Input Integer
Print Statement
Print With Space
C++ 2-D Arrays | Set-1
Print With Separator
Swap The Numbers
Arithmetic Operators
Bitwise Operators
Print 1 to n without using loops
Print Without Space
Evaluate Formulae
Table Difference
Print Square
Sum of N Numbers
Factorial
Divisor
GCD
For Loop - 2
While Loop
The Else if Statement
For Loop - 1
Print Square wall
Inverted Right AngleTriangle
Reverse String
Fibonacci Number
Slice The String
Bitwise Right Shift
Last Digit of a number
Switch Statement
LCM
Print GeeksForGeeks
Logical Operators
Self referential structures
Implement Union
Print GeeksForGeeks with quotes
Print Boolean value
Compare two numbers
Find if +ve, -ve or 0
CPP - Have fun with XOR
CPP - Product of array elements
CPP - Search in an array
CPP - Have Fun With OR
CPP - Isogram
Difference Sum
0 points
Contributor
0 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
close
H
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri