Data Structure
Java
Python
HTML
Interview Preparation
Tutorials
Courses
Tracks
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
V
sirvinaysy60t
Current POTD Streak
STREAK
420
/1538
days
Longest streak/Global longest streak
Institution
Rajiv Gandhi Institute of Petroleum Technology (RGIPT) Rae Bareli
5 Rank
Institute Rank
Language Used
Python, C++, Java
Coding Score
1791
Problem Solved
493
Contest Rating
__
Apply for Campus Mantri
423 points
Contributor
423 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
47 submissions in current year
Current
2024
2023
2022
January
February
March
April
May
June
July
August
September
October
SCHOOL (0)
BASIC (5)
EASY (158)
MEDIUM (275)
HARD (55)
Reverse alternate nodes in Link List
Rotate a Linked List
Add Number Linked Lists
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
Check for BST
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
Merge two sorted linked lists
Sum Tree
Construct Binary Tree from Parent Array
Tree Boundary Traversal
Lowest Common Ancestor in a BST
Max sum path in two arrays
The Celebrity Problem
Find the number of islands
Max sum in the configuration
Wildcard Pattern Matching
Linked List to Binary Tree
Validate an IP Address
Remove loop in Linked List
Additive sequence
Largest BST
Sorted subsequence of size 3
Implement Atoi
Maximum Difference
Palindrome Linked List
Print matrix in diagonal pattern
Rat in a Maze
BST with Dead End
Merge two BST 's
Count distinct elements in every window
Root to leaf paths sum
Duplicate Subtree
k-th Smallest in BST
Find Common Nodes in two BSTs
Level order traversal
Peak element
Euler Circuit in an Undirected Graph
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
Linked List that is Sorted Alternatingly
K Sum Paths
Construct Tree from Inorder & Preorder
Arrange Consonants and Vowels
Count the nodes at distance K from leaf
Vertical sum
Insert in Sorted way in a Sorted DLL
Maximum path sum
Children Sum in a Binary Tree
Diagonal sum in binary tree
Find length of Loop
Deletion in Circular Linked List
Normal BST to Balanced BST
Duplicate Subtrees
Sum of nodes on the longest path
ZigZag Tree Traversal
Vertical Width of a Binary Tree
Gray to Binary Conversion
Smallest Positive Missing
Maximum occured integer
Wave Array
Rotate and delete
Maximum Index
Rotate Array
Kadane's Algorithm
Count Inversions
Two Repeated Elements
Union of 2 Sorted Arrays
Indexes of Subarray Sum
Count the number of possible triangles
Number of pairs
Merge Without Extra Space
Level of Nodes
Boolean Matrix
Spirally traversing a matrix
Search in a sorted Matrix
Rotate by 90 degree
Determinant of a Matrix
Subarray with 0 sum
Subarray range with given sum
Sort Elements by Decreasing Frequency
Longest Consecutive Subsequence
Strings Rotations of Each Other
K Sized Subarray Maximum
Minimum Cost of ropes
Nearly sorted
Fractional Knapsack
Job Sequencing Problem
Minimum Jumps
Detect Cycle using DSU
Optimal Strategy For A Game
Sum of all substrings of a number
0 - 1 Knapsack Problem
Allocate Minimum Pages
Kth Smallest
Implement Trie
Shortest Common Supersequence
Maximize The Cut Segments
Print Anagrams Together
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
Paths to reach origin
Pascal Triangle
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
Consecutive 1's not allowed
Split the Array
Pythagorean Triplet
Painting the Fence
Search in Rotated Sorted Array
Count pairs Sum in matrices
Sum of bit differences
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
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
Max Sum without Adjacents
Shuffle integers
Find the N-th character
k largest elements
Sum of XOR of all pairs
Longest Common Substring
Longest substring with distinct characters
K-th element of two Arrays
K closest elements
LCS of three strings
Largest Sum Subarray of Size at least K
Minimum sum
Not a subset sum
Minimize the Heights II
Transform to prime
First and Last Occurrences
Minimum Deletions
Print N-bit binary numbers having more 1s than 0s
Permutations of a String
Number following a pattern
Sum of Products
Unique Number II
Bleak Numbers
Modular Exponentiation
Game of XOR
Maximum Tip Calculator
Modified Game of Nim
Minimum number of deletions and insertions
Maximize dot product
Max Sum Increasing Subsequence
Minimum cost to fill given weight in a bag
Coin Change (Count Ways)
Sequence of Sequence
String Subsequence
Mobile numeric keypad
Gold Mine Problem
Smallest number
Trail of ones
K-Palindrome
Longest subsequence-1
Power Set
Count ways to N'th Stair(Order does not matter)
Minimum Cost To Make Two Strings Identical
Knapsack with Duplicate Items
Geek and its Game of Coins
Minimum steps to destination
Count possible ways to construct buildings
Count digit groupings of a number
Array Pair Sum Divisibility Problem
Prime Pair with Target Sum
Number of paths
Nth Natural Number
Number of paths in a matrix with k coins
Game with String
Smith Number
Next Permutation
Maximum sum of hour glass
How Many X's?
Exit Point in a Matrix
Longest alternating subsequence
Rotate Each Row of Matrix K Times
Check If two Line segments Intersect
Number of Rectangles in a Circle
Largest square formed in a matrix
Integral Points Inside Triangle
Transitive closure of a Graph
Rohan's Love for Matrix
Traverse All Edges And Vertices
Array to BST
Techfest and the Queue
Largest subsquare surrounded by X
Divisibility tree
Subarrays with sum K
Remove K Digits
Construct list using given q XOR queries
Find duplicate rows in a binary matrix
Paths from root with a specified sum
Shortest Prime Path
Sort for Singly Linked List
Remove all occurences of duplicates in a linked list
Minimize the Heights I
Anti Diagonal Traversal of Matrix
Unique Number III
All Unique Permutations of an array
Course Schedule
Clone an Undirected Graph
Overlapping Intervals
Maximum product subset of an array
Maximum Meetings in One Room
Buy Maximum Stocks
Find shortest safe route in a matrix
Graph is Tree or Not
Sort a k sorted doubly linked list
Number Of Enclaves
Eventual Safe States
City With the Smallest Number of Neighbors at a Threshold Distance
Path With Minimum Effort
Shortest Path in Undirected Graph
Majority Element - More Than n/3
Minimal Cost
Aggressive Cows
Combination Sum Without Repetition
Shortest Path in Weighted undirected graph
Minimum Absolute Difference In BST
Maximum Sum Combination
Non-overlapping Intervals
Insert Interval
Partitions with Given Difference
Floor in BST
Make array elements unique
Find the first node of loop in linked list
Minimum repeat to make substring
Water the plants
Number of Good Components
New Year Resolution
Grinding Geek
Flatten BST to sorted list
Minimize the Difference
Pairs violating the BST property
Kth common ancestor in BST
Kth Missing Positive Number in a Sorted Array
Count Subarrays with given XOR
Set Matrix Zeros
Count pairs with given sum
Find All Triplets with Zero Sum
Split array in three equal sum subarrays
Find H-Index
Count all triplets with given sum in sorted array
Implement Pow
K Closest Points to Origin
Linked List Group Reverse
Binary Tree to DLL
Clone List with Next and Random
Min distance between two given nodes of a Binary Tree
Serialize and deserialize a binary tree
Subtraction in Linked List
Distinct occurrences
LRU Cache
AVL Tree Insertion
Alien Dictionary
Merge Sort on Doubly Linked List
Nodes at given distance in binary tree
Fixing Two nodes of a BST
Trapping Rain Water
Max Circular Subarray Sum
Smallest window containing all characters
Solve the Sudoku
Minimum Cost Path
Burning Tree
Count Pairs in an Array
Search Pattern
Count Smaller elements
Longest Prefix Suffix
Number of distinct subsequences
Wildcard string matching
Circle of strings
Longest repeating and non-overlapping substring
Sum-string
Sub-arrays with equal number of occurences
Edit Distance
Minimum Points To Reach Destination
Palindromic Partitioning
Strictly Increasing Array
Generalised Fibonacci numbers
Boolean Parenthesization
Longest valid Parentheses
Possible Paths in a Tree
N-Queen Problem
Brackets in Matrix Chain Multiplication
Search Pattern (Rabin-Karp Algorithm)
Find all Critical Connections in the Graph
Distribute Candies
Split Array Largest Sum
Find the String
Stock Buy and Sell – Max 2 Transactions Allowed
Min Chars to Add for Palindrome
Largest rectangular sub-matrix whose sum is 0
Vertex Cover
Maximum Connected group
Minimize Max Distance to Gas Station
Candy
Account Merge
Better String
Geekina Hate 1s
Making A Large Island
Reverse a linked list
Frequency in a Linked List
Pairwise swap elements of a linked list
Linked list of strings forms a palindrome
Delete in a Doubly Linked List
Inorder Traversal
Reverse a Doubly Linked List
K distance from root
Mirror Tree
Height of Binary Tree
Balanced Tree Check
Middle of a Linked List
Left View of Binary Tree
Delete Middle of Linked List
Decimal Equivalent of Binary Linked List
Intersection Sorted Linked Lists
Find Transition Point
Reverse Level Order Traversal
Identical Trees
Root to leaf path sum
Square Root
Nodes without a Sibling
Largest subarray of 0's and 1's
Remove Duplicates from an array
Toeplitz matrix
Remove every k'th node
Leaves at Same Level or Not
Multiply two linked lists
You and your books
Max distance between same elements
Minimum distance in an Array
Array Duplicates
Three way partitioning
Index of an Extra Element
Insert in a Sorted List
Split Linked List Alternatingly
Minimum element in BST
Sum of leaf nodes in BST
More than n/k Occurrences
Symmetric Tree
Delete Alternate Nodes
Find the Sum of Last N nodes of the Linked List
Count Pairs whose sum is equal to X
Linked List Matrix
Reverse first K of a Queue
Remove Half Nodes
Closest Neighbour in BST
Find Sum Pairs Across Two BSTs
Swap the array elements
Predict the Column
Xoring and Clearing
Reverse an Array
Rightmost different bit
Check K-th Bit
Frequencies in a Limited Array
Equilibrium Point
Roof Top
Sum of upper and lower triangles
Print Matrix in snake Pattern
Matrix Boundary Traversal
Anagram
Winner of an election
String Rotated by 2 Places
Isomorphic Strings
Reverse Words
Panagram Checking
Non Repeating Character
Parenthesis Checker
N meetings in one room
Reach a given score
Count ways to N'th Stair
Union of Arrays with Duplicates
Missing in Array
Product array puzzle
Roman Number to Integer
Max Value Permutation
Missing And Repeating
Count the elements
Find the closest number
Sorted and Rotated Minimum
Search in a Row-Column sorted matrix
Move All Zeroes to End
String Duplicates Removal
Find Pair Given Difference
Pairs with difference k
Swap and Maximize
Single Number
Alternate Positive Negative
Remaining String
Kth distance
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
Number of occurrence
K-Pangrams
Does array represent Heap
Modify the Array
Sum Pair closest to target
Find missing in second array
String's Count
Longest Common Prefix of Strings
Segregate 0s and 1s
Play With OR
At Least K Occurrences
Find the closest pair from two arrays
Total count
Pair with given sum in a sorted array
Print Bracket Number
Odd Even Problem
Binary representation of next number
Padovan Sequence
Extract the Number from the String
Minimum Operations
Divisibility by 8
Find the Highest number
Armstrong Numbers
Reverse Bits
Max Sum Subarray of size K
Swap two nibbles in a byte
Maximum Sum Problem
Party of Couples
Shortest path from 1 to n
Sum 1 to n Divisors
Count numbers containing 4
Reach the Nth point
Recamans sequence
The Palindrome Pattern
Compare two fractions
Form a number divisible by 3 using array digits
Recursive sequence
Juggler Sequence
Summed Matrix
Row with Minimum 1s
Coverage of all Zeros in a Binary Matrix
Inorder Traversal and BST
Letters Collection
Print Pattern
Sum of dependencies in a graph
Find maximum volume of a cuboid
Smallest window containing 0, 1 and 2
Insert an Element at the Bottom of a Stack
Fibonacci series up to Nth term
Stock Buy and Sell – Max one Transaction Allowed
Divisor Game
Lovely Cards
Two Smallests in Every Subarray
Split an array into two equal Sum subarrays
Largest Pair Sum
Two Swaps
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
Search in a row-wise sorted matrix
Find Length of Linked List
Is Linked List Length Even?
Identical Linked Lists
Triplet Family
Alternative Sorting
close
V
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri