Tutorials
Courses
Data Structure
Java
Python
HTML
Interview Preparation
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Ambassadors
T
bhardwajji
Current POTD Streak
STREAK
12
/1429
days
Longest streak/Global longest streak
Institution
Seth Jai Parkash Mukand Lal Institute of Engineering and Technology (JMIT) Yamuna Nagar
5 Rank
Institute Rank
Language Used
C++, C, Java
Coding Score
1863
Problem Solved
563
Contest Rating
__
Campus Ambassador
piyushpiyush01
63 points
Contributor
63 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
1 submissions in current year
Current
2024
2023
2022
January
February
March
April
May
June
July
SCHOOL (0)
BASIC (30)
EASY (166)
MEDIUM (315)
HARD (52)
Reverse a linked list
Pairwise swap elements of a linked list
Remove duplicates from an unsorted linked list
Inorder Traversal
Bubble Sort
Insertion Sort
Check for BST
Right View of Binary Tree
K distance from root
Mirror Tree
Two Mirror Trees
Maximum Width of Tree
Delete without head pointer
Height of Binary Tree
Balanced Tree Check
Kth from End of Linked List
Middle of a Linked List
Left View of Binary Tree
Delete Middle of Linked List
Transform to Sum Tree
Intersection Sorted Linked Lists
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
Insert a node in a BST
BFS of graph
Identical Trees
Root to leaf path sum
Square Root
Nodes without a Sibling
Lowest Common Ancestor in a BST
Binary Search
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 in array
Binary Tree to BST
Unique rows in boolean matrix
Leaves at Same Level or Not
Match specific pattern
Josephus problem
Kth largest element in BST
Array Duplicates
Level order traversal
Intersection of Two Linked Lists
Reverse Using Stack
Symmetric Tree
Next Right Node
Reverse first K of a Queue
Delete Mid of a Stack
Find the Frequency
Longest Consecutive 1's
Wave Array
Frequencies in a Limited Array
Equilibrium Point
Array Leaders
Floor in a Sorted Array
Print adjacency list
Sum of upper and lower triangles
Transpose of Matrix
Anagram
Winner of an election
String Rotated by 2 Places
Isomorphic Strings
Reverse Words
Minimum indexed character
Non Repeating Character
Parenthesis Checker
K largest elements
Minimum Cost of ropes
N meetings in one room
Largest number with given sum
Union-Find
Count ways to N'th Stair
Count number of hops
First Repeating Element
Check Equal Arrays
Positive Negative Pair
Missing in Array
Product array puzzle
Roman Number to Integer
Intersection of Arrays with Distinct
Missing And Repeating
Non-Repeating Element
Pairs of equals Sum
Count the elements
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
Move all negative elements to end
Chocolate Distribution Problem
Find Pair Given Difference
Minimum number of swaps needed
Drive the car
Bitonic Point
Left most and right most index
Smallest subarray with sum greater than x
Alternate Positive Negative
Maximum Possible Sum of Products
Convert a sentence into its equivalent mobile numeric keypad sequence
Addition of submatrix
Remove Duplicates
Count Substrings
Twice Counter
Convert array into Zig-Zag fashion
Two Sum - Pair with Given Sum
Second most repeated string in a sequence
Find all pairs with a given sum
Check if array is sorted
Find missing in second array
String's Count
Longest Common Prefix of Strings
First Repeated Character
Substrings with same first and last characters
Two sum -Pairs with 0 Sum
Hungry Pizza Lovers
At Least K Occurrences
Merging two unsorted arrays in sorted order
Count the Zeros
Palindrome String
Maximum average subarray
Fitting The Array
Adding Array Elements
Find the Highest number
Pairs with Positive Negative values
Nth Fibonacci Number
Shortest path from 1 to n
Reach the Nth point
Nearest Perfect Square
Smallest number with sum of digits as N and divisible by 10^N
Maximize Toys
Maximum Height Tree
Row with Minimum 1s
Help Ishaan
Check if it is possible to convert one string into another with given constraints
Minimum Exchange
Array to BST
Sum of dependencies in a graph
Count all possible paths from top left to bottom right
Ball coloring
Modified Numbers and Queries
Sum of k smallest elements in BST
Print Diagonally
Sum of two numbers without using arithmetic operators
Even and Odd
Largest value in each level
Maximum number of 2X2 squares
License Key Formatting
Smallest Subset with Greater Sum
Minimum Sum of Absolute Differences of Pairs
Move Last Element to Front of a Linked List
Can Make Triangle
Find pairs with given sum in doubly linked list
Triangle and Square
Refueling
Geek left with No Food
Geek & Geekina Purchasing Ice Cream
Toggle
Sorting Elements of an Array by Frequency
Rotate a Linked List
Sort a linked list of 0s, 1s and 2s
Add Number Linked Lists
Detect Loop in linked list
QuickSort on Doubly 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
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
Construct Binary Tree from Parent Array
Connect Nodes of Levels
Flattening a Linked List
Diagonal Tree Traversal
Tree Boundary Traversal
Delete a node from BST
Directed Graph Cycle
Undirected Graph Cycle
LCA in Binary Tree
Maximum difference between node and its ancestor
Two Stacks in an Array
Binary Heap Operations
The Celebrity Problem
Largest subarray with 0 sum
Topological sort
Vertical Tree Traversal
Merge K sorted linked lists
Find the number of islands
Get Min from Stack
Serialize and deserialize a binary tree
Gas Station
Wildcard Pattern Matching
Generate IP Addresses
Check if subtree
Kth element in Matrix
Remove loop in Linked List
Dijkstra Algorithm
Minimum Spanning Tree
Largest BST
Count Palindromic Subsequences
Minimum Swaps to Sort
Implement Atoi
Palindrome Linked List
Strongly Connected
Print matrix in diagonal pattern
Rat in a Maze Problem - I
Bipartite Graph
Number of root to leaf paths
Closest in BST
Pots of Gold Game
Merge two BST 's
Count distinct elements in every window
k-Anagram
Merge k Sorted Arrays
Bridge edge in a graph
Find triplets with zero sum
Sort a stack
Duplicate Subtree
Top View of Binary Tree
k-th Smallest in BST
Delete nodes greater than k
Union of Two Linked Lists
Ancestors in Binary Tree
Pair Sum in BST
Root to Leaf Paths
Complete Binary Tree
Counting elements in two arrays
Foldable Binary Tree
Leftmost and rightmost nodes of binary tree
Construct Tree from Inorder & Preorder
Count the nodes at distance K from leaf
Isomorphic Trees
Maximum path sum from any node
Children Sum in a Binary Tree
Sum of nodes on the longest path
ZigZag Tree Traversal
Count Number of SubTrees having given Sum
Maximum sum of Non-adjacent nodes
Mother Vertex
Tower Of Hanoi
Smallest Positive Missing
Possible Words From Phone Digits
Rearrange Array Alternately
Stock buy and sell
Rotate Array
Kadane's Algorithm
Majority Element
Count Inversions
Indexes of Subarray Sum
Triplet Sum in Array
Merge Without Extra Space
Possible paths between 2 vertices
Boolean Matrix
Spirally traversing a matrix
Search in a sorted Matrix
Distance of nearest cell having 1
Unit Area of largest region of 1's
Subarray with 0 sum
Longest Consecutive Subsequence
Case-specific Sorting of Strings
Stock span problem
Next Greater Element
K Sized Subarray Maximum
Activity Selection
Fractional Knapsack
Job Sequencing Problem
Minimum Platforms
Combination Sum
M-Coloring Problem
Minimum Jumps
Detect Cycle using DSU
Stickler Thief
Ways to Reach the n'th Stair
Egg Dropping Puzzle
Longest Increasing Subsequence
Longest Common Subsequence
0 - 1 Knapsack Problem
Lucky Numbers
Sort according to an Array
Allocate Minimum Pages
Preorder to BST
X Total Shapes
Zero Sum Subarrays
Find whether path exist
Kth Smallest
Shortest Common Supersequence
Nth Catalan Number
Rotten Oranges
Steps by Knight
Count subsequences of type a^i, b^j, c^k
Maximize The Cut Segments
Print Anagrams Together
Rotate by 90 degree
Top K Frequent in Array
Closest Three Sum
Stock Buy and Sell – Multiple Transaction Allowed
Generate Parentheses
Word Search
Word Boggle
Prerequisite Tasks
4 Sum - All Quadruples
Sort 0s, 1s and 2s
Sum of Middle elements of two sorted arrays
Single Among Doubles in a Sorted
Consecutive 1's not allowed
Count Occurences of Anagrams
Painting the Fence
Search in Rotated Sorted Array
Maximize The Array
Form the Largest Number
Maximum Product Subarray
Longest subarray with sum divisible by K
Row with max 1s
Swapping pairs make sum equal
Palindrome SubStrings
Form a palindrome
Nuts and Bolts Problem
Longest Subarray with Sum K
Cutting Binary String
Sum of two large numbers
Max Sum without Adjacents
Reverse each word in a given string
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
Longest Arithmetic Subsequence
Rod Cutting
K closest elements
Maximize the sum of selected numbers from a sorted array to make it empty
LCS of three strings
Longest Palindromic Subsequence
First negative in every window of size k
Minimize the Heights II
Smaller on Left
Minimum Deletions
Print N-bit binary numbers having more 1s than 0s
Minimum number of deletions
Permutations of a String
Friends Pairing Problem
Lexicographically smallest string
Ways to sum to N
Max possible amount
Maximum Tip Calculator
Minimum number of deletions and insertions
Max Sum Increasing Subsequence
Minimum cost to fill given weight in a bag
Coin Change (Count Ways)
Count numbers with given sum
Mobile numeric keypad
Gold Mine Problem
Coin Change (Minimum Coins)
Dice throw
Perfect Sum Problem
Kth Smallest Factor
Firing employees
Longest subsequence-1
Power Set
Count ways to N'th Stair(Order does not matter)
Knapsack with Duplicate Items
Printing Maximum Sum Increasing Subsequence
Number of ways
Subsets with XOR value
Maximum path sum in matrix
Minimum steps to destination
Special Keyboard
Partition Equal Subset Sum
Longest Bitonic subsequence
Min Coin
Get Minimum Squares
Count distinct pairs with difference k
Jumbled Strings
Probability of Knight
Array Pair Sum Divisibility Problem
Count the number of ways to tile the floor of size n x m using 1 x m size tiles
Subset Sums
Unique partitions
Knight Walk
Permutation with Spaces
Number of paths in a matrix with k coins
Fact Digit Sum
Party in Town
Fraction to Repeating Decimal
Find the Safe Position
Smaller on Left
Filling Bucket
Longest Repeating Subsequence
Composite and Prime
Stream First Non-repeating
Villain Con
Largest square formed in a matrix
Kth Largest in a Stream
Snake and Ladder Problem
7 Segment Display
Replace O's with X's
Find all distinct subset (or subsequence) sums
Queries on Strings
Special Matrix
Queries on a Matrix
Nodes at even distance
Help a Thief!!!
Count the paths
Floyd Warshall
Negative weight cycle
Flood fill Algorithm
Shortest Source to Destination Path
Police and Thieves
Geek and Number String
Save Your Life
Hamiltonian Path
Theft at World Bank
Restrictive Candy Crush
Help Classmates
Closest Similar Elements
Jump Game
Iterative Inorder
Preorder traversal (Iterative)
Iterative Postorder
Subset Sum Problem
Longest Palindromic Substring
Form a palindrome
Search Pattern (Rabin-Karp Algorithm)
All Palindromic Partitions
Covid Spread
Bellman-Ford
Player with max score
Subarrays with sum K
Partition a Linked List around a given value
Open the gates
Capacity To Ship Packages Within D Days
Coin Piles
Rearrange characters
Distribute N candies among K people
Substrings of length k with k-1 distinct elements
Binary Searchable elements
Clone a stack without using extra space
Number of Provinces
Remove all occurences of duplicates in a linked list
Minimize the Heights I
Subsets
Flatten binary tree to linked list
IPL 2021 - Match Day 2
Course Schedule
Min Cost Climbing Stairs
Target Sum
Overlapping Intervals
Find Kth permutation
Maximum number of events that can be attended
Farthest number
Buy Maximum Stocks
Smallest sum contiguous subarray
Stack Permutations
Wine Buying and Selling
Replace every element with the least greater element on its right
Minimum increment/decrement to make array non-Increasing
Number of Distinct Islands
Shortest Distance in a Binary Maze
Minimum Multiplications to reach End
Number Of Islands
Number of Ways to Arrive at Destination
Cheapest Flights Within K Stops
Connecting the graph
Maximum Stone Removal
Make array Equal
Maximum Points Covered
Linked List Group Reverse
Reorder List
Binary Tree to DLL
Clone List with Next and Random
Min distance between two given nodes of a Binary Tree
Max rectangle
Distinct occurrences
LRU Cache
Maximum subset XOR
Alien Dictionary
Nodes at given distance in binary tree
Max Path Sum 2 Special Nodes
String Permutations
Trapping Rain Water
Smallest window containing all characters of another string
Histogram Max Rectangular Area
Max of min for every window size
Find median in a stream
Solve the Sudoku
Minimum Cost Path
Word Ladder I
Median of 2 Sorted Arrays of Different Sizes
Burning Tree
Merge Without Extra Space
The Painter's Partition Problem-II
Distinct palindromic substrings
Longest Prefix Suffix
Circle of strings
Print all LCS sequences
Edit Distance
Minimum Points To Reach Destination
Minimum sum partition
Palindromic Partitioning
Stock Buy and Sell – Max K Transactions Allowed
Matrix Chain Multiplication
Boolean Parenthesization
Longest valid Parentheses
N-Queen Problem
Closest Palindrome
Water Connection Problem
132 Geeky Buildings
Count occurrences of a given word in a 2-d array
Number of distinct words with K maximum contiguous vowels
Reverse a sublist of a linked list
Word Ladder II
IPL 2021 - Final
Find number of closed islands
Stock Buy and Sell – Max 2 Transactions Allowed
Number of pairs
Geek in a Maze
Maximum Connected group
Account Merge
Sort String
Count Leaves in Binary Tree
Postorder Traversal
Preorder Traversal
First Occurence
Sum Except First and Last
Peak element
Minimum element in BST
Reverse array in groups
Reverse a String
Anagram Palindrome
Immediate Smaller Element
Count the characters
Uncommon characters
Repeated Character
Elements in the Range
Game with nos
Exceptionally odd
Array Subset
Good or Bad string
Check perfect square
House Robber
Check perfect square
Ways To Tile A Floor
Count Squares
Unique Numbers
Perfect Squares in a Range
Multiply 2 matrices
Sorted matrix
Max Min
close
T
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Ambassadors
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 !