Tutorials
Courses
Go Premium
Data Structure
Java
Python
HTML
Interview Preparation
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
naveenarora
Current POTD Streak
STREAK
00
/1459
days
Longest streak/Global longest streak
Institution
Seth Jai Parkash Mukand Lal Institute of Engineering and Technology (JMIT) Yamuna Nagar
15 Rank
Institute Rank
Language Used
C++, Python, C, Java
Coding Score
1403
Problem Solved
575
Contest Rating
__
Campus Mantri
piyushpiyush01
21738 points
Contributor
21738 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
2019
January
February
March
April
May
June
July
SCHOOL (1)
BASIC (93)
EASY (233)
MEDIUM (220)
HARD (28)
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
Quick Sort on Linked List
Insert in Sorted Circular Linked List
Count BST nodes that lie in a given range
Binary Tree from Inorder and Postorder
Bottom View of Binary Tree
Intersection in Y Shaped Lists
Diameter of a Binary Tree
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
Reverse alternate levels of a perfect binary tree
Delete a node from BST
Directed Graph Cycle
Undirected Graph Cycle
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
Vertical Tree Traversal
Merge K sorted linked lists
Find the number of islands
Max sum in the configuration
Get Min from Stack
Serialize and deserialize a binary tree
Gas Station
Linked List to Binary Tree
Check if subtree
Extreme nodes in alternate order
Clone a Binary Tree
Remove loop in Linked List
Dijkstra Algorithm
Minimum Spanning Tree
Largest BST
Multiply two strings
Minimum Swaps to Sort
Implement Atoi
Maximum Difference
Palindrome Linked List
Strongly Connected
Rat in a Maze Problem - I
Number of root to leaf paths
Closest in BST
BST with Dead End
Delete keys in a Linked list
Merge two BST 's
Count distinct elements in every window
Root to leaf paths sum
Longest Palindrome in Linked List
Print Nodes having K leaves
Sort a stack
Duplicate Subtree
Top View of Binary Tree
k-th Smallest in BST
Find Common Nodes in two BSTs
Peak element
Delete nodes greater than k
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
Construct expression tree
Linked List that is Sorted Alternatingly
K Sum Paths
Foldable Binary Tree
Leftmost and rightmost nodes of binary tree
Construct Tree from Inorder & Preorder
Construct tree from Inorder and LevelOrder
Count the nodes at distance K from leaf
Vertical sum
Mirror of a given node
Pairs violating BST property
Isomorphic Trees
Maximum path sum from any node
Predecessor and Successor
Leaves to DLL
Largest Independent Set Problem
Children Sum in a Binary Tree
Diagonal sum in binary tree
Normal BST to Balanced BST
Right Sibling in Binary Tree
Construct Tree from Preorder Traversal
Sum of nodes on the longest path
Kth Ancestor in a Tree
Construct a Full Binary Tree
Check if two Nodes are Cousins
Convert Level Order Traversal to BST
ZigZag Tree Traversal
Count Number of SubTrees having given Sum
Vertical Width of a Binary Tree
C++ Generic sort
Coin Change - Minimum number of coins
Swap Kth nodes from ends
Maximum sum of Non-adjacent nodes
Mother Vertex
Count set bits
Tower Of Hanoi
Reverse array in groups
Smallest Positive Missing
Maximum occured integer
Wave Array
Rearrange Array Alternately
Rearrange an array with O(1) extra space
Maximum Index
Stock buy and sell
Rotate Array
Check if array is sorted and rotated
Kadane's Algorithm
Majority Element
Count Inversions
Unique BST's
Indexes of Subarray Sum
Triplet Sum in Array
Merge Without Extra Space
Possible paths between 2 vertices
Level of Nodes
Rotate by 90 degree
Subarray with 0 sum
Subarray range with given sum
Longest Consecutive Subsequence
Postfix Evaluation
Stock span problem
Next Greater Element
Infix to Postfix
K Sized Subarray Maximum
Kth smallest element
Minimum Jumps
Ways to write n as sum
Stickler Thief
Ways to Reach the n'th Stair
nCr
Longest Increasing Subsequence
Longest Common Subsequence
0 - 1 Knapsack Problem
Lucky Numbers
Minimum number of jumps
Find whether path exist
Kth Smallest
Implement Trie
Nth Catalan Number
Rotten Oranges
Steps by Knight
Longest Subarray Of Evens And Odds
Count subsequences of type a^i, b^j, c^k
Maximize The Cut Segments
Longest Span in two Binary Arrays
Consecutive 1's not allowed
Count Occurences of Anagrams
Search in Rotated Sorted Array
Count Full Binary Trees
Form the Largest Number
Longest Subarray with Sum K
Count the Reversals
Max Sum without Adjacents
Greater tower sum
Smallest Absolute Difference
LCS of three strings
Longest Common Increasing Subsequence
First negative in every window of size k
Find k-th character in string
Valid Substring
Number following a pattern
Friends Pairing Problem
Collecting Trees
Modular Exponentiation
Max Sum Increasing Subsequence
Coin Change (Count Ways)
Gold Mine Problem
Firing employees
Longest subsequence-1
Power Set
Knapsack with Duplicate Items
nCr
Partition Equal Subset Sum
Matchsticks game
Card Rotation
Game of Chocolates
Return two prime numbers
Game with String
Find the Safe Position
Next Permutation
Rank The Permutations
Smaller on Left
Longest Repeating Subsequence
Longest alternating subsequence
Decode the string
Preorder Traversal and BST
Stream First Non-repeating
Largest square formed in a matrix
Geek and Strings
Check Mirror in N-ary tree
Negative weight cycle
Subset Sum Problem
Subarrays with sum K
Next Greater Element
Special Array
Strange Concatenation
Largest subtree sum in a tree
Shortest Path in Undirected Graph
Shortest path in Directed Acyclic Graph
Koko Eating Bananas
Frog Jump
Minimal Cost
Are we facebook friends?
Geeky Movement
Pairs of Adjacent elements
Reverse a linked list
Frequency in a Linked List
Delete N nodes after M nodes of 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
Delete nodes having greater value on right
Remove duplicates from an unsorted linked list
Split a Linked List into two halves
Inorder Traversal
Selection 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
Check If Circular Linked List
Left View of Binary Tree
Delete Middle of Linked List
Decimal Equivalent of Binary 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
Postorder from Inorder and Preorder
Lowest Common Ancestor in a BST
Binary Search
Largest subarray of 0's and 1's
Level Order Line by Line
BST Keys in a Range
Minimum Depth of a Binary Tree
Odd even level difference
Binary Tree to BST
Remove every k'th node
Leaves at Same Level or Not
Multiply two linked lists
Josephus problem
Expression Tree
Count Occurrence of digit k
Generate Grey Code Sequences
Delete in a Singly Linked List
Kth largest element in BST
Max Level Sum in Binary Tree
Longest consecutive sequence in Binary tree
Level order traversal
Inorder Successor in BST
Index of an Extra Element
Convert Ternary Expression to Binary Tree
Intersection of Two Linked Lists
Level of a Node in Binary Tree
Sum of leaf nodes in BST
Max and min element in Binary Tree
Perfect Binary Tree
Reverse Using Stack
XOR of a given range
Full Binary Tree
Triplet with 0 sum in BST
Symmetric Tree
Delete Alternate Nodes
Construct BST from Postorder
Merge Lists Alternatingly
Find the Sum of Last N nodes of the Linked List
Next Right Node
Count Pairs whose sum is equal to X
Depth of node
Maximum Node Level
Find length of Loop
Median of BST
Leaf under budget
Linked List Matrix
Maximum Pairwise Computed Value
Queue Reversal
Reverse first K of a Queue
Remove Half Nodes
Height of Spiral Tree
Sum of Leaf Nodes
Sum of Right Leaf Nodes
Sum of Left Leaf Nodes
Deletion in a Binary Tree
Nodes at Odd Levels
Closest Neighbour in BST
Brothers From Different Roots
Exchange the Leaf Nodes
Sum of Leaf Nodes at Min Level
Tilt of Binary Tree
Rotate doubly Linked List
C++ Template
Learn to Comment
Learning to be precise
While loop- printTable
Learning Macros
Learn to Comment - Java
Bitwise Operators - Java
Even Odd - Java
Xoring and Clearing - Java
Swap values using References
Swap the objects
Structs and Objects
Two Dimensional World
Learning Structs
Delete Array
Maximum Area Rectangle
Sum of Big Integers
BigInteger Multiply
Find the Frequency
Back to Front
Pair Sum in Vector
Student of the Year
Java ArrayList Operation
Stack Operations
Frequency in Queue
Operations on PriorityQueue
Get min at pop
Deque Implementations
Min Heap implementation
Frequency Game
Multiset Operations
Multimap Operations
Dictionary Usage 2 - Java
Max and Second Max
Fibonacci Numbers - Top Down DP
Fibonacci Numbers - Bottom Up DP
Coin Change - Number of ways
Kadane's Algorithm - I
Kadane's Algorithm - II
First Set Bit
Rightmost different bit
Check K-th Bit
Factorial Of Number
Digits In Factorial
GP Term
Primality Test
Longest Consecutive 1's
Exactly 3 Divisors
Mean And Median of Array
Power of 2
Swap odd and even bits
Minimum adjacent difference in a circular array
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
Print adjacency list
Sum of upper and lower triangles
Print Matrix in snake Pattern
Transpose of Matrix
Separate chaining in Hashing
Naive Pattern Search
Linear Probing in Hashing
Quadratic Probing in Hashing
Check if a string is Isogram or not
Count Non-Repeated Elements
Print Non-Repeated Elements
Anagram
Winner of an election
Removing consecutive duplicates
Removing consecutive duplicates - 2
Parenthesis Checker
Generate Binary Numbers
Minimum Cost of ropes
Count Digits in a Number
Digital Root
Count ways to N'th Stair
Count number of hops
Rotate Deque By K
First Repeating Element
Union of Arrays with Duplicates
Reach a given score
Check Equal Arrays
Numbers containing 1, 2 and 3
Search Query for Strings
Intersection of Arrays with Distinct
Maximum AND Value
Move All Zeroes to End
Min sum formed by digits
String Manipulation
Left most and right most index
Smallest subarray with sum greater than x
Even Greater than Odd
Same characters in two strings
Reorganize The Array
Second Largest
Rotate Bits
Number of occurrence
Convert an array to reduced form
First Repeated Character
Sum of f(a[i], a[j]) over all pairs in an array of n integers
Print an array in Pendulum Arrangement
The Counting Game !!
Print Bracket Number
Minimum changes to make all substrings distinct
Karatsuba Algorithm
K Smallests in the Original Order
Set Bits
Rearrange the array
Nth Fibonacci Number
Swap two nibbles in a byte
Palindrome
Toggle bits in the given range
Game of Nim
Exponentiation (Set 2)
Swap bits
Number Game
Game of cells
BBT counter
Maximum Diamonds
Inorder Traversal and BST
Array to BST
Sum of k smallest elements in BST
Check for BST
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
Subtraction in Linked List
LRU Cache
Maximum subset XOR
Alien Dictionary
Merge Sort on Doubly Linked List
Nodes at given distance in binary tree
Fixing Two nodes of a BST
Max Path Sum 2 Special Nodes
Pattern Search KMP
Trapping Rain Water
Pattern Search
Histogram Max Rectangular Area
Max of min for every window size
Minimum Cost Path
Word Ladder I
Burning Tree
Merge Without Extra Space
Ugly Numbers
Longest Prefix Suffix
Longest valid Parentheses
Minimum swap required to convert binary tree to binary search tree
Maximum number of overlapping Intervals
Total Number Of Spanning Trees In A Graph
Rotate Array
Find Length of Linked List
Size of Binary Tree
Count Leaves in Binary Tree
Postorder Traversal
Implement stack using array
Queue using Linked List
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)
Palindromic Array
Linked List Insertion At End
C++ Functions (Sum of numbers) | Set 1
Minimum element in BST
Circular Linked List Traversal
Is Linked List Length Even?
Identical Linked Lists
Sum of Binary Tree
Count Non-Leaf Nodes in Tree
Mrs. S- JAVA Bits Set 1
C++ Inheritance introduction
C++ Call by reference
Java Inheritance
Logical Operators
Sort and Reverse Vector
Front to Back
Stack designer
Queue Push & Pop
Set Operations
Two digit Sum
Who has the majority?
Strongest Neighbour
Array insert at index
Array insert at end
Operations on Stack
Absolute Value
Convert Celsius To Fahrenheit
Bit Difference
Number is sparse or not
Print 1 To N Without Loop
Array Search
Sorted Array Search
Left Index
Adding two matrices
Multiply the matrices
Sum of numbers in string
Sum of Digits of a Number
Power Using Recursion
Fibonacci Using Recursion
Addition Under Modulo
Multiplication Under Modulo
Reverse a String
Insertion in deque
Deque Traversal
Keypad typing
First n Fibonacci
Find second largest element
Minimum Product of k Integers
Type of array
Immediate Smaller Element
Rock Paper Scissors!
Find element at a given Index
Largest Element in Array
Jay's Apples
Rotating an Array
Multiply left and right array sum
XOR of all elements
The AND Gate
Gray Code
Set kth bit
Factor OR Multiple
Smallest power of 2 greater than or equal to n
XOR Count Zero and One
Find the fine
LCM And GCD
Message Spreading
Parity of unsigned integer
Special Odd Series Sum
Special Series Sum
Difference series
Absolute Difference of 1
Common Divisors
Gray to Binary and Binary to Gray
Anshuman's Favourite Number
Series X1
Doctors Clinic
Repetitive Addition Of Digits
Sum Terms Nth Row
Sorted matrix
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 !