Tutorials
Go Premium
Data Structure
Java
Python
HTML
Interview Preparation
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
nomitsingh95y
star
star
star
star
Current POTD Streak
STREAK
70
/1446
days
Longest streak/Global longest streak
Institution
Dr Ambedkar Institute of Technology for Handicapped (AITH) Kanpur
8 Rank
Institute Rank
Language Used
Java, C++, C, Python
Coding Score
2407
Problem Solved
813
Contest Rating
1801
Campus Mantri
harikeso6du
15 points
Contributor
15 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
13 submissions in current year
Current
2024
2023
2022
January
February
March
April
May
June
July
SCHOOL (1)
BASIC (50)
EASY (302)
MEDIUM (397)
HARD (63)
Reverse alternate nodes in Link List
Rotate a Linked List
Sort a linked list of 0s, 1s and 2s
Add Number Linked Lists
Add 1 to a Linked List Number
Merge 2 sorted linked list in reverse order
Detect Loop in linked list
Insert in Sorted Circular Linked List
Merge Sort
Quick Sort
Binary Tree from Inorder and Postorder
Diameter of a Binary Tree
Heap Sort
Sum Tree
Construct Binary Tree from Parent Array
Flattening a Linked List
LCA in Binary Tree
Maximum difference between node and its ancestor
Absolute List Sorting
Two Stacks in an Array
The Celebrity Problem
Largest subarray with 0 sum
Topological sort
Find kth element of spiral matrix
Max sum in the configuration
Get Min from Stack
Gas Station
Linked List to Binary Tree
Check if subtree
Kth element in Matrix
Remove loop in Linked List
Additive sequence
Largest BST
Sorted subsequence of size 3
Multiply two strings
Minimum Swaps to Sort
Implement Atoi
Palindrome Linked List
Print matrix in diagonal pattern
Rat in a Maze Problem - I
Closest in BST
Merge two BST 's
Minimum four sum subsequence
Count distinct elements in every window
Merge k Sorted Arrays
Root to leaf paths sum
Bridge edge in a graph
Find triplets with zero sum
Sort a stack
Duplicate Subtree
Find Common Nodes in two BSTs
Union of Two Linked Lists
Euler Circuit in an Undirected Graph
Ancestors in Binary Tree
Root to Leaf Paths
Populate Inorder Successor for all nodes
Linked List that is Sorted Alternatingly
Leftmost and rightmost nodes of binary tree
Count the nodes at distance K from leaf
Vertical sum
Isomorphic Trees
Predecessor and Successor
Children Sum in a Binary Tree
Diagonal sum in binary tree
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
Gray to Binary Conversion
Tower Of Hanoi
Smallest Positive Missing
Power Of Numbers
Maximum occured integer
Possible Words From Phone Digits
Rearrange Array Alternately
Rearrange an array with O(1) extra space
Maximum Index
Stock buy and sell
Rotate Array
Kadane's Algorithm
Majority Element
Count Inversions
Two Repeated Elements
Union of 2 Sorted Arrays
Indexes of Subarray Sum
Triplet Sum in Array
Number of pairs
Merge Without Extra Space
Make Matrix Beautiful
Boolean Matrix
Spirally traversing a matrix
Search in a sorted Matrix
Determinant of a Matrix
Subarray with 0 sum
Sort Elements by Decreasing Frequency
Longest Consecutive Subsequence
Case-specific Sorting of Strings
Stock span problem
Next Greater Element
K Sized Subarray Maximum
Fractional Knapsack
Job Sequencing Problem
Minimum Platforms
Combination Sum
Unique Subsets
M-Coloring Problem
Minimum Jumps
Stickler Thief
Ways to Reach the n'th Stair
Optimal Strategy For A Game
Sum of all substrings of a number
Longest Common Subsequence
0 - 1 Knapsack Problem
Lucky Numbers
Sort according to an Array
Allocate Minimum Pages
Zero Sum Subarrays
Kth Smallest
Implement Trie
Nth Catalan Number
Container With Most Water
Rotate by 90 degree
Top K Frequent in Array
Closest Three Sum
Word Break
Stock Buy and Sell – Multiple Transaction Allowed
Word Search
4 Sum - All Quadruples
Sort 0s, 1s and 2s
Taking 1 out of 3 consecutives
Complement
Maximum Sub Array
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
Pair array product sum
Equivalent Sub-Arrays
Single Among Doubles in a Sorted
Consecutive 1's not allowed
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
Factorials of large numbers
Find length of longest subsequence
Find the N-th character
Length of the longest substring
k largest elements
Longest Common Substring
Smallest distinct window
Longest substring with distinct characters
Longest Substring with K Uniques
Longest Palindrome in a String
K-th element of two Arrays
Arranging the array
String formation from substring
Triplets with Smaller Sum
Rod Cutting
K closest elements
Minimum swaps and K together
LCS of three strings
Largest Sum Subarray of Size at least K
First negative in every window of size k
Maximum difference of zeros and ones in binary string
Minimum sum
Build the smallest
Minimize the Heights II
Transform to prime
First and Last Occurrences
A difference of values and indexes
Print N-bit binary numbers having more 1s than 0s
Find patterns
Minimum Swaps for Bracket Balancing
Permutations of a String
CamelCase Pattern Matching
Sum of Products
Subarrays Product Less than K
Unique Number II
Modular Exponentiation
Game of XOR
Maximum Tip Calculator
Modified Game of Nim
Maximize dot product
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
Coin Change (Minimum Coins)
Perfect Sum Problem
Smallest number
Trail of ones
K-Palindrome
Longest subsequence-1
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
Maximum path sum in matrix
Minimum steps to destination
Partition Equal Subset Sum
Get Minimum Squares
Count possible ways to construct buildings
Count digit groupings of a number
Jumbled Strings
Array Pair Sum Divisibility Problem
Matchsticks game
Subset Sums
Akku and Binary Numbers
Number of paths in a matrix with k coins
Game with String
Count even length
Find the Safe Position
Smith Number
Next Permutation
Missing number in matrix
How Many X's?
Exit Point in a Matrix
Longest Repeating Subsequence
Longest alternating subsequence
Total Decoding Messages
Stream First Non-repeating
Largest square formed in a matrix
Product of Primes
Transitive closure of a Graph
Replace O's with X's
Express as sum of power of natural numbers
Traverse All Edges And Vertices
Find the string in grid
Flood fill Algorithm
Techfest and the Queue
Largest subsquare surrounded by X
Divisibility tree
Recursively Remove Adjacent Duplicates
Search Pattern (Rabin-Karp Algorithm)
Subarrays with sum K
Remove K Digits
Maximum XOR of two numbers in an array
Construct list using given q XOR queries
Prefix match with other strings
Find duplicate rows in a binary matrix
Single valued subtree
Paths from root with a specified sum
Shortest Prime Path
Shortest Prime Path
Insertion Sort for Singly Linked List
Remove all occurences of duplicates in a linked list
Minimize the Heights I
Subsets
Anti Diagonal Traversal of Matrix
Unique Number III
All Unique Permutations of an array
Course Schedule
Clone an Undirected Graph
Overlapping Intervals
Remove and Reverse
Find k-th smallest element in given n ranges
Reverse a Stack
Maximum product subset of an array
K-th Largest Sum Contiguous Subarray
Maximum Meetings in One Room
Max Equal sum of 3 Stacks
Buy Maximum Stocks
Smallest sum contiguous subarray
Array Removals
Find shortest safe route in a matrix
Stack Permutations
Largest subtree sum in a tree
Wine Buying and Selling
Graph is Tree or Not
Replace every element with the least greater element on its right
Construct Binary Tree from String with bracket representation
Number Of Enclaves
Eventual Safe States
City With the Smallest Number of Neighbors at a Threshold Distance
Path With Minimum Effort
Longest subarray with Atmost two distinct integers
Asteroid Collision
Combination Sum II
Shortest Path in Weighted undirected graph
Task Scheduler
Hands of Straights
Minimum Absolute Difference In BST
Lemonade Change
Maximum Sum Combination
Partitions with Given Difference
Floor in BST
GCD Array
Minimize number of Students to be removed
Maximum Value
Shortest Prime Path
Flattening a Linked List
Absolute difference divisible by K
Make array elements unique
Next Greater Element in Circular Array
Carpet into Box
Minimum X (xor) A
Find minimum number of Laptops required
Geeks And The String
Find the longest string
Maximum Profit By Choosing A Subset Of Intervals
Minimum repeat to make substring
Paint N Houses
Max Sum without Adjacents
Intersection Point in Y Shaped Linked Lists
BST Downward Traversal
Length of the longest subarray with positive product
Count number of free cell
Maximum Bipartite Matching
Minimum Days
Prime List
Walls Coloring
Water the plants
Geeks Island
Apple Sequences
Connect Nodes at Same Level
Unique Paths in a Grid
Fill the Matrix
Number of Good Components
Best Node
Update Queries
Good Stones
Maximum Intersecting Lines
String rp or pr
Knight in Geekland
Count Cyclic Paths
Maximum Triplet product
Special Palindrome Substrings
Maximum Possible Value
Anagrams in Linked List
Yet another query problem
Geek hates too many 1s
Maximum Length
Remove the balls
Bheem Wants Ladoos
Prefix Suffix String
Smaller Sum
Nearest smaller tower
Another Coin Change Problem
Geek's Village and Wells
Find Number
Powerful Integer
Max Coins
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
Help Big Pig
Modify Linked List-1
Gathering Boulders
Find Kth permutation
Fraction pairs with sum 1
Tree Transformation
Geeks Engagement
New Year Resolution
Prime Sum Subtrees
Grinding Geek
Minimize the Difference
Minimize the Array
Pairs violating the BST property
Kth common ancestor in BST
Maximum Valid Subsequence Score
Maximum Doublet XOR
String Replacement
Traffic Lights
Longest Beautiful Subarray
Longest Non-Decreasing Subarray - I
Reverse a linked list
Pairwise swap elements of a linked list
Node at a given index in linked list
Linked list of strings forms a palindrome
Delete nodes having greater value on right
Remove duplicates from an unsorted linked list
Split a Linked List into two halves
Delete in a Doubly Linked List
Inorder Traversal
Insertion Sort
Check for BST
Right View of Binary Tree
Mirror Tree
Delete without head pointer
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
Decimal Equivalent of Binary Linked List
Intersection Sorted Linked Lists
Find Transition Point
Queue using two Stacks
Remove Duplicates from a Sorted Linked List
Level Order in spiral form
Reverse Level Order Traversal
Stack using Linked List
BFS of graph
Identical Trees
Root to leaf path sum
Square Root
Nodes without a Sibling
Lowest Common Ancestor in a BST
Binary Search
Remove Duplicates Sorted Array
Level Order Line by Line
BST Keys in a Range
Minimum Depth of a Binary Tree
Odd even level difference
Binary Tree to BST
Unique rows in boolean matrix
Leaves at Same Level or Not
Third largest element
Josephus problem
You and your books
Repetition of k length substring
Delete in a Singly Linked List
Minimum distance in an Array
Array Duplicates
Three way partitioning
Level order traversal
Index of an Extra Element
Insert in a Sorted List
Sum of leaf nodes in BST
More than n/k Occurrences
Reverse Using Stack
Symmetric Tree
Huffman Decoding-1
Count Pairs whose sum is equal to X
Queue Reversal
Reverse first K of a Queue
Remove Half Nodes
Closest Neighbour in BST
Delete Mid of a Stack
Taking input - Java
Swap the array elements
Xoring and Clearing
Pair in Java
Maximum Area Rectangle
Sum of Big Integers
BigInteger Multiply
BigInteger mod
Frequency in Queue
Frequency Game
First Set Bit
Rightmost different bit
Power of 2
Wave Array
Frequencies in a Limited Array
Equilibrium Point
Array Leaders
Print adjacency list
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
Isomorphic Strings
Reverse Words
Minimum indexed character
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
First Repeating Element
Union of Arrays with Duplicates
Check Equal Arrays
Missing in Array
Product array puzzle
Roman Number to Integer
Intersection of Arrays with Distinct
Max Value Permutation
Missing And Repeating
Count the elements
Find Kth Rotation
Find the closest number
Sort by Set Bit Count
Maximize sum after K negations
Pairs with certain difference
Common in 3 Sorted Arrays
Sorted and Rotated Minimum
Maximum no of 1's row
Search in a Row-Column sorted matrix
Move All Zeroes to End
String Duplicates Removal
Minimize the sum of product
Chocolate Distribution Problem
Count pairs Sum in matrices
Count the triplets
Find Pair Given Difference
Drive the car
Swap and Maximize
Bitonic Point
Left most and right most index
Smallest subarray with sum greater than x
Alternate Positive Negative
Remaining String
Check if a given string is a rotation of a palindrome
Remove Consecutive Characters
Convert a sentence into its equivalent mobile numeric keypad sequence
Remove b and ac from a given string
Count Alphabets
Ordering of strings
Rearrange string as alternate x and y occurences
Arya's Long String
Remove Duplicates
Reverse alternate words
Second Largest
Convert array into Zig-Zag fashion
Two Sum - Pair with Given Sum
Rotate Bits
Second most repeated string in a sequence
Find all pairs with a given sum
Number of occurrence
K-Pangrams
Find the left over element
Reversing the equation
Convert an array to reduced form
Find missing in second array
String's Count
Longest Common Prefix of Strings
First Repeated Character
Min Number of Flips
Sum of distinct elements for a limited range
Two sum -Pairs with 0 Sum
Segregate 0s and 1s
Play With OR
At Least K Occurrences
Find the closest pair from two arrays
Merge two binary Max heaps
Java Arrays | Set 1
Palindrome String
Search array with adjacent diff at most k
Shop in Candy Store
Minimum changes to make all substrings distinct
Sort string
Odd Even Problem
Binary representation of next number
Convertible string
Is Binary Number Multiple of 3
Divisibility by 8
Adding Array Elements
Number of 1 Bits
Find the Highest number
Armstrong Numbers
Pairs with Positive Negative values
Reverse Bits
Max Sum Subarray of size K
Nth Fibonacci Number
Swap two nibbles in a byte
Copy Set Bits in Range
Toggle bits in the given range
Product of Prime Factors
Maximum Sum Problem
Minimum number of deletions to make a sorted sequence
Party of Couples
Count numbers containing 4
Find maximum number
Reach the Nth point
Break a number
Kth Prime Factor
Maximize Toys
Raju and coins
Grouping values
Check if it is possible to survive on Island
Recamans sequence
Primorial of a number
The Palindrome Pattern
Form a number divisible by 3 using array digits
Least Prime Factor
Sum of First N Natural Numbers
Find nth root of m
Recursive sequence
Juggler Sequence
Summed Matrix
Maximum Diamonds
Arithmetic Number
Surround the 1's
Maximum Collatz sequence length
Trace Path
Help the Old Man!!!
Print Pattern
Primes sum
Array to BST
Sum of dependencies in a graph
Sum of k smallest elements in BST
License Key Formatting
Count the Substrings
Find all possible paths from top to bottom
Split the binary string into substrings with equal number of 0s and 1s
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
Insert an Element at the Bottom of a Stack
Fibonacci series up to Nth term
Maximum Depth Of Binary Tree
Divisor Game
Minimize the sum
Last modified ball
Transform to Sum Tree
Parent of Max GCD Siblings in a Binary Tree
Find the first node of loop in linked list
Maximum Weight Node
Type it!
Min operations
Geek & Geekina Purchasing Ice Cream
Toggle
Split the String
Last cell in a Matrix
Balloon Everywhere
Range OR
Reverse both parts
Cutting Rectangles
Frogs and Jumps
Make the array beautiful
Is it Fibonacci
Max Level Sum in Binary Tree
Binary matrix having maximum number of 1s
Maximum Identical Bowls
Bus Conductor
Wifi Range
Minimum Number
Seating Arrangement
String Mirror
Make Palindrome
Binary Modulo
Total Cuts
Bit Magic
Array Operations
Dominant Pairs
Total Traversal Time
Strong Students in School
Minimum Thorns
Ticket Counter
Geek's Plants
Weight Problem
Level of Node in Tree
Unique Number of Occurrences
Balloon Everywhere
Minimise the Distance
Max Splits
Check Anagram Existence
Beautiful Number
Strong Students in School
Find Bots on Geeklandster
Is it a Leap Year
Virus Infection
Divide and Rule
Play of 3 Glasses!
Return To Root
Find the enemies
Minimum Number of Elements
String Reboot
Character Matrix Conundrum
Prefix Distinct
Eye's Contact
Geekland Fair
Super Palindrome
Bob's Impression
Validate distribution
Find Smallest
Distribute Balls
Boundary Sum of Matrix
Maximum Product
Linked List Group Reverse
Reorder List
Clone List with Next and Random
Min distance between two given nodes of a Binary Tree
Subtraction in Linked List
Distinct occurrences
Partition array to k subsets
Nodes at given distance in binary tree
Huffman Decoding
String Permutations
Trapping Rain Water
Solve the Sudoku
Median of 2 Sorted Arrays of Different Sizes
Next Smallest Palindrome
Count Pairs in an Array
Search Pattern (KMP-Algorithm)
Count Smaller elements
Longest Prefix Suffix
Number of distinct subsequences
Wildcard string matching
Longest repeating and non-overlapping substring
Minimum Points To Reach Destination
Next Happy Number
Strictly Increasing Array
Generalised Fibonacci numbers
Boolean Parenthesization
Possible Paths in a Tree
N-Queen Problem
Brackets in Matrix Chain Multiplication
Smallest Positive Integer that can not be represented as Sum
Reverse a sublist of a linked list
Distribute candies in a binary tree
Split Array Largest Sum
Scrambled String
Maximum Number of Toys
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
Count Lucky Permutations
Count the Substring
Select Nodes
Largest Sum Cycle
Fixing Two swapped nodes of a BST
Avoid Explosion
Walls Coloring II
Redundant Parenthesis
Partition the Array
Count Binary Strings With No Consecutive 1s
Divide in Incremental Groups
Max min Height
Minimum BST Sum Subtree
Special Digits
Cake Distribution Problem
Min Time
Game Of Subsets
Geekina Hate 1s
Making A Large Island
Longest Increasing Path in Tree
Count Leaves in Binary Tree
Postorder Traversal
Implement stack using array
Queue using Linked List
Queue Using Array
Preorder Traversal
First Occurence
Palindromic Array
Peak element
Minimum element in BST
Identical Linked Lists
Count Non-Leaf Nodes in Tree
Java Inheritance
Bit Difference
Number is sparse or not
Print 1 To N Without Loop
Reverse array in groups
Array Search
Reverse a String
Keypad typing
First n Fibonacci
Sum of Array
Sum of Natural Numbers
Print Elements of Array
Value equal to index value
The problem of identical arrays
Uncommon characters
Length of Last word
Last index of One
Crazy String
Largest Element in Array
Rotate Array by One
Array Subset
Min and Max in Array
Print first letter of every word in the string
Magical String[Duplicate Problem]
Check an Integer is power of 3 or not
Find position of set bit
Set kth bit
Count Squares
Middle of Three
Euler Totient Sum and Divisors
Evaluate the expression
Sorted matrix
Max Min
Time Travel
Geekland Elections
Valid Triangle
Maximize Expression
Disk Placement
Reverse an Array
close
N
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 !