Tutorials
Courses
Go Premium
Data Structure
Java
Python
HTML
Interview Preparation
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
nobita04
Current POTD Streak
STREAK
14
/1477
days
Longest streak/Global longest streak
Institution
National Institute of Technology, Raipur (NIT Raipur)
180 Rank
Institute Rank
Language Used
C++, Python, C
Coding Score
1599
Problem Solved
659
Contest Rating
__
Campus Mantri
hardeepsingh04
91 points
Contributor
91 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
2020
January
February
March
April
May
June
July
August
SCHOOL (3)
BASIC (81)
EASY (298)
MEDIUM (252)
HARD (25)
Sorting Elements of an Array by Frequency
Nearly Sorted Algorithm
Reverse alternate nodes in Link List
Rotate a Linked List
Sort a linked list of 0s, 1s and 2s
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
Rearrange linked list in-place
Insert in Sorted Circular Linked List
Count BST nodes that lie in a given range
Merge Sort
Quick Sort
Binary Tree from Inorder and Postorder
Bottom View of Binary Tree
Delete without head pointer
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
Sum Tree
Connect Nodes of Levels
Flattening a Linked List
Diagonal Tree Traversal
Tree Boundary Traversal
Reverse alternate levels of a perfect binary tree
Directed Graph Cycle
Undirected Graph Cycle
LCA in Binary Tree
Maximum difference between node and its ancestor
Absolute List Sorting
Max sum path in two arrays
Largest subarray with 0 sum
Topological sort
Vertical Tree Traversal
Merge K sorted linked lists
Find the number of islands
Find kth element of spiral matrix
Gas Station
Wildcard Pattern Matching
Check if subtree
Remove loop in Linked List
Dijkstra Algorithm
Largest BST
Implement Atoi
Palindrome Linked List
Rat in a Maze Problem - I
Bipartite Graph
Number of root to leaf paths
Closest in BST
Delete keys in a Linked list
Merge two BST 's
Count distinct elements in every window
Trie | (Delete)
Merge k Sorted Arrays
Root to leaf paths sum
Find triplets with zero sum
Sort a stack
Duplicate Subtree
Top View of Binary Tree
k-th Smallest in BST
Find Common Nodes in two BSTs
Level order traversal
Peak element
Merge Sort for Linked List
Union of Two Linked Lists
Ancestors in Binary Tree
Binary Tree to CDLL
Pair Sum in BST
Root to Leaf Paths
Occurences of 2 as a digit
Populate Inorder Successor for all nodes
Counting elements in two arrays
K Sum Paths
Foldable Binary Tree
Leftmost and rightmost nodes of binary tree
Modify Linked List-1
Construct Tree from Inorder & Preorder
Construct tree from Inorder and LevelOrder
Vertical sum
Insert in Sorted way in a Sorted DLL
Maximum path sum from any node
Predecessor and Successor
Leaves to DLL
Children Sum in a Binary Tree
Diagonal sum in binary tree
Deletion and Reverse in Circular Linked List
Construct Tree from Preorder Traversal
Sum of nodes on the longest path
Kth Ancestor in a Tree
Check if two Nodes are Cousins
ZigZag Tree Traversal
Count Number of SubTrees
Vertical Width of a Binary Tree
C++ Generic sort
Maximum sum of Non-adjacent nodes
Reverse array in groups
Smallest Positive Missing
Power Of Numbers
Wave Array
Rearrange Array Alternately
Rearrange an array with O(1) extra space
Stock buy and sell
Rotate Array
Kadane's Algorithm
Majority Element
Binary Array Sorting
Two Repeated Elements
Unique BST's
Union of 2 Sorted Arrays
Indexes of Subarray Sum
Sort by Absolute Difference
Triplet Sum in Array
Merge Without Extra Space
Spirally traversing a matrix
Search in a sorted Matrix
Subarray with 0 sum
Subarray range with given sum
Subarrays with equal 1s and 0s
Sort Elements by Decreasing Frequency
Longest Consecutive Subsequence
Case-specific Sorting of Strings
Postfix Evaluation
Next Greater Element
K Sized Subarray Maximum
Nearly sorted
Activity Selection
Fractional Knapsack
Job Sequencing Problem
Minimum Platforms
Combination Sum
Stickler Thief
Ways to Reach the n'th Stair
Egg Dropping Puzzle
Longest Increasing Subsequence
Longest Common Subsequence
0 - 1 Knapsack Problem
Number of Unique Paths
Sort according to an Array
Preorder to BST
Zero Sum Subarrays
Kth Smallest
Shortest Common Supersequence
Steps by Knight
Count only Repeated
Maximize The Cut Segments
Print Anagrams Together
Rotate by 90 degree
Top K Frequent in Array
Word Break
Stock Buy and Sell – Multiple Transaction Allowed
Generate Parentheses
Sort 0s, 1s and 2s
Sum of Subarrays
Equal Sum
Top k numbers in a stream
Maximize Number of 1's
Sum of Middle elements of two sorted arrays
Count Occurences of Anagrams
Search in Rotated Sorted Array
Print Binary Tree levels in sorted order
Water Collection
Row with max 1s
Sort in specific order
Nuts and Bolts Problem
Rotate a Matrix
Longest Subarray with Sum K
Max Sum without Adjacents
Maximum Sum Path in Two Arrays
k largest elements
Longest Common Substring
Valid Expression
K-th element of two Arrays
LCS of three strings
First negative in every window of size k
Number of palindromic strings
Minimum sum
Not a subset sum
Minimize the Heights II
First and Last Occurrences
Permutations of a String
String Subsequence Game
Unique Number II
Max possible amount
Minimum number of deletions and insertions
Max Sum Increasing Subsequence
Coin Change (Count Ways)
Palindromic Strings
Perfect Sum Problem
K-Palindrome
Power Set
Count ways to N'th Stair(Order does not matter)
Minimum Cost To Make Two Strings Identical
Knapsack with Duplicate Items
nCr
Partition Equal Subset Sum
Matchsticks game
Subset Sums
Number of paths
Nth Natural Number
Game with String
Rotate a Matrix by 180 Counterclockwise
Next Permutation
Kth Largest in a Stream
7 Segment Display
Check Mirror in N-ary tree
Height Using Parent Array
Reverse Spiral Form of Matrix
Number of minimum picks to get 'k' pairs of socks from a drawer
Spiral Matrix
Valid Pair Sum
Dam of Candies
Repeated String Match
Bit Difference
Ruling Pair
Triplets in Sorted Linked List
Restrictive Candy Crush
Help Classmates
Restricted Pacman
Valentine Sum
Lucy's Neighbours
Escape the Forbidden Forest
Iterative Inorder
Preorder traversal (Iterative)
Iterative Postorder
Subset Sum Problem
Longest Palindromic Substring
Form a palindrome
Player with max score
Subarrays with sum K
Partition a Linked List around a given value
Searching an element in a sorted array (Ternary Search)
Distribute N candies among K people
Substrings of length k with k-1 distinct elements
Maximum sum leaf to root path
BST to greater sum tree
Paths from root with a specified sum
Cousins of a given node
Remove all occurences of duplicates in a linked list
Minimize the Heights I
Subsets
IPL 2021 - Match Day 2
Make Subsequence
Robots
Hit most Balloons
Concatenate Equal to Target
Exactly one swap
Maximum Winning score
Compute Before Matrix
Winner of an election
Sahil love good scorer
Longest Subarray with atmost K Even elements
Geek and his Marks
K larger values
Geek-onacci Number
Reverse a linked list
Frequency in 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
Compare two linked lists
Remove duplicates from an unsorted linked list
Split a Linked List into two halves
Delete in a Doubly Linked List
Inorder Traversal
Reverse a Doubly Linked List
Bubble Sort
Selection Sort
Insertion Sort
Check for BST
Right View of Binary Tree
K distance from root
Mirror Tree
Two Mirror Trees
Maximum Width of 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
Find Transition Point
Queue using two Stacks
Remove Duplicates from a Sorted Linked List
Stack using two queues
Level Order in spiral form
Reverse Level Order Traversal
DFS of Graph
Stack using Linked List
Implement stack using array
Insert a node in a BST
BFS of graph
Identical Trees
Root to leaf path sum
Square Root
Nodes without a Sibling
Postorder from Inorder and Preorder
Lowest Common Ancestor in a BST
Binary Search
Run Length Encoding
Largest subarray of 0's and 1's
Remove Duplicates Sorted Array
Level Order Line by Line
BST Keys in a Range
Minimum Depth of a Binary Tree
Remove Duplicates from an array
Odd even level difference
Binary Tree to BST
K-Palindrome
Equilibrium index of an array
Remove every k'th node
Leaves at Same Level or Not
Third largest element
Match specific pattern
Josephus problem
Expression Tree
Max distance between same elements
Count Occurrence of digit k
Delete in a Singly Linked List
Kth largest element in BST
Array Duplicates
Max Level Sum in Binary Tree
Special Stack
Three way partitioning
Inorder Successor in BST
Index of an Extra Element
Intersection of Two Linked Lists
Insert in a Sorted List
Play with an array
Level of a Node in Binary Tree
Sum of leaf nodes in BST
Counting Sort
Max and min element in Binary Tree
Perfect Binary Tree
Reverse Using Stack
XOR of a given range
Full Binary Tree
Symmetric Tree
Delete Alternate Nodes
Find the Sum of Last N nodes of the Linked List
Count Pairs whose sum is equal to X
Depth of node
Maximum Node Level
Find length of Loop
Median of BST
Find n/k th node in Linked list
Maximum Pairwise Computed Value
Queue Reversal
Reverse first K of a Queue
Sum of Leaf Nodes
Sum of Right Leaf Nodes
Sum of Left Leaf Nodes
Nodes at Odd Levels
Brothers From Different Roots
Sum of Leaf Nodes at Min Level
Tilt of Binary Tree
Delete Mid of a Stack
Rotate doubly Linked List
C++ Multi-level inheritance
C++ Function overloading
C++ Template
The New Line
Data Types
Taking input
Learn to Comment
GetLine and Ignore
Learning to be precise
While loop- printTable
Learning Macros
Swap the array elements
Count the Specials
Matrix Interchange
Predict the Column
Swap values using References
Swap the objects
Structs and Objects
Two Dimensional World
Learning Structs
Delete Array
Find the Frequency
Back to Front
Pair Sum in Vector
Student of the Year
Get min at pop
Deque Implementations
Multiset Operations
Multimap Operations
Pair Sum Existence
Max and Second Max
Check K-th Bit
Longest Consecutive 1's
Frequencies in a Limited Array
Equilibrium Point
Array Leaders
Count 1's in binary array
Floor in a Sorted Array
Minimum Number in a sorted rotated array
Roof Top
Closet 0s 1s and 2s
Print adjacency list
Anagram
Winner of an election
String Rotated by 2 Places
Reverse Words
Minimum indexed character
Panagram Checking
Non Repeating Character
Parenthesis Checker
Minimum indexed character
Generate Binary Numbers
K largest elements
N meetings in one room
Largest number with given sum
Count ways to N'th Stair
Count number of hops
Pattern searching
First Repeating Element
Union of Arrays with Duplicates
Check Equal Arrays
Numbers containing 1, 2 and 3
Missing in Array
Product array puzzle
Search an element in sorted and rotated array
Intersection of Arrays with Distinct
Minimum Absolute Difference
Mean of range in array
Adding One
Max Value Permutation
Missing And Repeating
Cumulative frequency of count of each element in an unsorted array
Non-Repeating Element
Last seen array element
Find Kth Rotation
Sorted and Rotated Minimum
Search in a Row-Column sorted matrix
Move All Zeroes to End
String Duplicates Removal
Minimize the sum of product
Move all negative elements to end
Unusual String Sort
Count the triplets
Permutations in array
Bitonic Point
Find Duplicate Element
Single Number
Alternate Positive Negative
Check if actual binary representation of a number is palindrome
Remaining String
Closing bracket index
Common Subsequence
Remove b and ac from a given string
Palindrome Sentence
Check if the number is balanced
Rearrange a string
Ordering of strings
Remove Duplicates
Facing the sun
Count Substrings
Twice Counter
Word with maximum frequency
Swap the closest and farthest digits
Bitonic Generator Sort
Two Sum - Pair with Given Sum
Second most repeated string in a sequence
Check if array contains contiguous integers
Rearrange to Make arr[i] = i
Find all pairs with a given sum
Number of occurrence
Modify the Array
Convert an array to reduced form
Check if array is sorted
Find missing in second array
Longest Common Prefix of Strings
Largest Fibonacci Subsequence
Special array reversal
Counts Zeros Xor Pairs
Two sum -Pairs with 0 Sum
Segregate 0s and 1s
Play With OR
Ishaan and Sticks
Merging two unsorted arrays in sorted order
Count the Zeros
Distinct absolute array elements
Palindrome String
Total count
Search array with adjacent diff at most k
Fitting The Array
Pangram Strings
Pair with given sum in a sorted array
Pattern Searching
Print Bracket Number
Divisible by 7
Shop in Candy Store
Minimum changes to make all substrings distinct
Common Subsequence OldP
Minimum Operations
Number of 1 Bits
Find the Highest number
Midori and chocolates
Max Sum Subarray of size K
Nth Fibonacci Number
Change Bits
Number of factors
Maximum Sum Problem
Minimum insertions to sort an array
Minimum number of deletions to make a sorted sequence
Find sum of divisors
Count numbers containing 4
Amicable Pair
Divisible Numbers
Assign Mice Holes
Find maximum number
Reach the Nth point
Minimum number of Coins
Nth item through sum
Palindrome numbers
Optimal walk
Maximum height of the staircase
Incomplete Array
Array's Game
Discovering Atlantis
Game of cells
Maximize Toys
Integral Root
Squares in N*N Chessboard
Find smallest values of x and y
Form a number divisible by 3 using array digits
Subtraction and two numbers
Sum of First N Natural Numbers
BBT counter
Tom and Jerry
Multiply two polynomials
Inorder Traversal and BST
Rearrange Geek and his Classmates
Array to BST
Rearrange Geek and his Classmates
Sum of k smallest elements in BST
Plus One
Sum of two numbers without using arithmetic operators
Even and Odd
Largest value in each level
Smallest window containing 0, 1 and 2
Can Make Triangle
Matrix Operations
Linked List Group Reverse
Reorder List
Binary Tree to DLL
Min distance between two given nodes of a Binary Tree
Serialize and deserialize a binary tree
Max rectangle
Merge Sort on Doubly Linked List
Fixing Two nodes of a BST
String Permutations
Trapping Rain Water
Merge Without Extra Space
Search Pattern
Count Smaller elements
Number of distinct subsequences
Edit Distance
Check Tree Traversal
Longest valid Parentheses
Smallest Positive Integer that can not be represented as Sum
Secret Cipher
132 Geeky Buildings
Shortest Range In BST
Search Pattern (Z-algorithm)
Search Pattern (Rabin-Karp Algorithm)
Maximum XOR subarray
Maximum Selling cost
Rotate Array
Sort String
Print Linked List
Find Length of Linked List
Size of Binary Tree
Count Leaves in Binary Tree
Postorder Traversal
Queue Using Array
Replace all 0's with 5
Count zeros in a sorted matrix
Preorder Traversal
Search a node in BST
Equal Sum and XOR
C++ STL | Set 8 (unordered set)
Minimum element in BST
Circular Linked List Traversal
Is Linked List Length Even?
Identical Linked Lists
Modular Node
Sum of Binary Tree
Insert in Middle of Linked List
Count Non-Leaf Nodes in Tree
Start Coding
Count Odd and Even
Sort and Reverse Vector
Front to Back
Stack designer
Queue Push & Pop
Set Operations
Sum Array Puzzle
Print 1 To N Without Loop
Array Search
Reverse a String
First n Fibonacci
Binary Array Sorting
C++ Hello World
Count pair sum
Balanced Array
Sort a String
Change the string
Maximum product of two numbers
Value equal to index value
Fighting the darkness
Reverse sub array
A guy with a mental problem
First 1 in a Sorted Binary Array
Max and Min Product from 2 Arrays
Last index of One
Largest Element in Array
Rotate Array by One
Game with nos
One odd Occuring
Ishaan Loves Chocolates
Minimum number to form the sum even
Count of smaller elements
Min and Max in Array
Multiply left and right array sum
Print first letter of every word in the string
Remove character
Red OR Green
Check set bits
Set kth bit
Change all even bits in a number to 0
set-bits and number
House Robber
Maximum Area
Binary Shift to Divide
Check perfect square
Factorial
Binary number to decimal number
Sum of elements in a matrix
Matching Pair
Check if the number is Fibonacci
Anshuman's Favourite Number
Mind Game
Swap two numbers
Height of Heap
Half N by M
Minimum difference pair
The Lazy Caterer's Problem
Sum of product of x and y with floor(n/x) = y
Reverse an Array
Search in a 2D Matrix
Arrays (Sum of array)
close
H
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 !