Tutorials
Courses
Data Structure
Java
Python
HTML
Interview Preparation
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
V
vin8rai
Current POTD Streak
STREAK
471
/1431
days
Longest streak/Global longest streak
Institution
Chandigarh Group of Colleges Landran (CGC) Mohali
12 Rank
Institute Rank
Organization
FIS Global
Language Used
C++, Python, Java, C
Coding Score
1910
Problem Solved
521
Contest Rating
__
Campus Mantri
jatinsivlr1
1590 points
Contributor
1590 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
187 submissions in current year
Current
2024
2023
2022
2021
2020
January
February
March
April
May
June
July
SCHOOL (3)
BASIC (14)
EASY (158)
MEDIUM (291)
HARD (55)
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
Quick Sort on Linked List
Insert in Sorted Circular Linked List
Merge Sort
Construct Binary Tree from Inorder and Postorder
Bottom View of Binary Tree
Intersection Point in Y Shaped Linked Lists
Diameter of a Binary Tree
Merge two sorted linked lists
Sum Tree
Construct Binary Tree from Parent Array
Tree Boundary Traversal
Directed Graph Cycle
Undirected Graph Cycle
Min distance between two given nodes of a Binary Tree
Max sum path in two arrays
The Celebrity Problem
Topological sort
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
Make Binary Tree From Linked List
Toeplitz matrix
Kth element in Matrix
Is Binary Tree Heap
Validate an IP Address
Remove loop in Linked List
Dijkstra Algorithm
Distinct occurrences
Additive sequence
Largest BST
Sorted subsequence of size 3
Multiply two strings
Implement Atoi
Maximum Difference
Palindrome Linked List
Rat in a Maze Problem - I
BST with Dead End
Merge two BST 's
Root to leaf paths sum
Bridge edge in a graph
k-th Smallest in BST
Peak element
Euler Circuit in an Undirected Graph
Merge Sort on Doubly Linked List
Ancestors in Binary Tree
Pair Sum in BST
Root to Leaf Paths
Populate Inorder Successor for all nodes
XOR Linked List
Counting elements in two arrays
Linked List that is Sorted Alternatingly
K Sum Paths
Construct Tree from Inorder & Preorder
Arrange Consonants and Vowels
Node at distance
Vertical sum
Insert in Sorted way in a Sorted DLL
Maximum path sum from any node
Predecessor and Successor
Check for Children Sum Property in a Binary Tree
Diagonal sum in binary tree
Deletion and Reverse in Circular Linked List
Duplicate Subtrees
Sum of nodes on the longest path
ZigZag Tree Traversal
Vertical Width of a Binary Tree
Maximum sum of Non-adjacent nodes
Gray to Binary equivalent
Smallest Positive Missing Number
Maximum occured integer
Rotate and delete
Maximum Index
Rotate Array
Kadane's Algorithm
Majority Element
Count Inversions
Two Repeated Elements
Union of Two Sorted Arrays
Indexes of Subarray Sum
Count the number of possible triangles
Number of pairs
Spirally traversing a matrix
Search in a sorted Matrix
Subarray range with given sum
Sorting Elements of an Array by Frequency
Longest Consecutive Subsequence
Case-specific Sorting of Strings
Evaluation of Postfix Expression
Stock span problem
Next Greater Element
K Sized Subarray Maximum
Nearly sorted
Activity Selection
Fractional Knapsack
Job Sequencing Problem
Minimum Platforms
Largest number in K swaps
Minimum Jumps
Stickler Thief
Ways to Reach the n'th Stair
Optimal Strategy For A Game
Sum of all substrings of a number
Longest Increasing Subsequence
Longest Common Subsequence
0 - 1 Knapsack Problem
Allocate Minimum Pages
Kth Smallest
Implement Trie
Rotten Oranges
Maximize The Cut Segments
Container With Most Water
Print Anagrams Together
Rotate by 90 degree
Closest Three Sum
Word Break
Word Search
Paths to reach origin
Missing And Repeating
Pascal Triangle
Top k numbers in a stream
Large Factorial
Longest Span in two Binary Arrays
Sum of Middle elements of two sorted arrays
Pythagorean Triplet
Search in Rotated Sorted Array
Sum of bit differences
Largest Number formed from an Array
Add Binary Strings
Maximum Product Subarray
Longest subarray with sum divisible by K
Sort the given array after applying the given equation
Row with max 1s
Swapping pairs make sum equal
Check if frequencies can be equal
Substrings with K Distinct
Palindrome SubStrings
Form a palindrome
Nuts and Bolts Problem
Longest Subarray with Sum K
Search Pattern (KMP-Algorithm)
Find the N-th character
k largest elements
Find missing in second array
Longest Common Substring
Smallest distinct window
Longest Substring with K Uniques
Longest Palindrome in a String
Look and Say Pattern
K-th element of two Arrays
K closest elements
Missing element of AP
LCS of three strings
Longest Palindromic Subsequence
Equalize the Towers
Minimum sum
Not a subset sum
Minimize the Heights II
Minimum Deletions
Print N-bit binary numbers having more 1s than 0s
Permutations of a String
Count divisors of product of array elements
Sum of Products
Unique Number II
Modular Exponentiation for large numbers
Maximum Tip Calculator
Minimum number of deletions and insertions
Minimum cost to fill given weight in a bag
Coin Change (Count Ways)
Sequence of Sequence
String Subsequence
Mobile numeric keypad
Coin Change (Minimum Coins)
Dice throw
Smallest number
Longest subsequence-1
Power Set
Count ways to N'th Stair(Order does not matter)
nCr
Geek and its Game of Coins
Minimum steps to destination
Partition Equal Subset Sum
Count digit groupings of a number
Prime Pair with Target Sum
Akku and Binary Numbers
Nth Natural Number
Number of paths in a matrix with k coins
Game with String
Next Permutation
Maximum sum of hour glass
Longest alternating subsequence
Left Rotate Matrix K times
Decode the string
Total Decoding Messages
Check If two Line segments Intersect
Print leaf nodes from preorder traversal of BST
Number of Rectangles in a Circle
Largest square formed in a matrix
Integral Points Inside Triangle
Count all Possible Path
Count the paths
Floyd Warshall
Flood fill Algorithm
Largest subsquare surrounded by X
Divisibility tree
Police and Thieves
Subset Sum Problem
Search Pattern (Rabin-Karp Algorithm)
All Palindromic Partitions
Bellman-Ford
Subarrays with sum K
Coin Piles
Remove K Digits
Substrings of length k with k-1 distinct elements
Maximum XOR of two numbers in an array
Construct list using given q XOR queries
Find duplicate rows in a binary matrix
Find rectangle with corners as 1
Paths from root with a specified sum
Shortest Prime Path
Insertion Sort for Singly Linked List
Remove all occurences of duplicates in a linked list
Minimize the Heights I
Minimum times A has to be repeated such that B is a substring of it
Special Matrix
Neeman's Shoes
Unique Number III
All Unique Permutations of an array
Course Schedule
Clone an Undirected Graph
Min Cost Climbing Stairs
Overlapping Intervals
Buy and Sell a Share at most twice
Maximum product subset of an array
K-th Largest Sum Contiguous Subarray
Exactly one swap
Find shortest safe route in a matrix
Check if a given graph is tree or not
City With the Smallest Number of Neighbors at a Threshold Distance
Path With Minimum Effort
Shortest path in Undirected Graph
Majority Element II
Koko Eating Bananas
Longest subarray with Atmost two distinct integers
Minimal Cost
Aggressive Cows
Smallest Divisor
Combination Sum II
Shortest Path in Weighted undirected graph
Minimum Absolute Difference In BST
Non-overlapping Intervals
Stickler Thief II
Insert Interval
Longest String Chain
Partitions with Given Difference
Largest Divisible Subset
Make array elements unique
Minimum repeat to make substring
Prime List
Water the plants
Unique Paths in a Grid
Number of Good Components
Remove the balls
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 Zeroes
Minimum cost to connect all houses in a city
Meeting Rooms
Find All Triplets with Zero Sum
Split array in three equal sum subarrays
Search in an almost Sorted Array
Find H-Index
Longest Subarray with Majority Greater than K
Count all triplets with given sum in sorted array
Implement Pow
K Closest Points to Origin
Longest Bounded-Difference Subarray
Group Balls by Sequence
Geek-onacci Number
Geek and Function |V
Geek and Pens
Reverse a linked list
Occurence of an integer in a Linked List
Linked list of strings forms a palindrome
Sorted insert for circular linked list
Delete node in Doubly Linked List
Inorder Traversal
Check for BST
K distance from root
Mirror Tree
Delete without head pointer
Height of Binary Tree
Middle of a Linked List
Left View of Binary Tree
Delete Middle of Linked List
Decimal Equivalent of Binary Linked List
Level Order in spiral form
Reverse Level Order Traversal
DFS of Graph
BFS of graph
Root to leaf path sum
Square root of a number
Print all nodes that don't have sibling
Lowest Common Ancestor in a BST
Largest subarray of 0's and 1's
Remove duplicates in array
Remove every kth node
Check if all leaves are at same level
Multiply two linked lists
You and your books
Max distance between same elements
Print matrix in diagonal pattern
Count distinct elements in every window
Three way partitioning
Level order traversal
Index of an Extra Element
Split Linked List Alternatingly
Sum of leaf nodes in BST
Symmetric Tree
Delete Alternate Nodes
Find the Sum of Last N nodes of the Linked List
Count Pairs whose sum is equal to X
Find length of Loop
Linked List Matrix
Reverse First K elements of Queue
Remove Half Nodes
Closest Neighbour in BST
Swap the array elements
Xoring and Clearing
Reverse an Array
Wave Array
Equilibrium Point
Roof Top
Rotate by 90 degree
Anagram
Strings Rotations of Each Other
Reverse Words
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
Union of Arrays with Duplicates
Missing in Array
Product array puzzle
Sort 0s, 1s and 2s
Maximize Array Value After Rearrangement
Count the elements
Find the closest number
Adding Ones
Split the Array
Sorted and Rotated Minimum
Search in a Row-Column sorted matrix
Move All Zeroes to End
Remove all duplicates from a given string
Count pairs Sum in matrices
Find Pair Given Difference
Pairs with difference k
Swap and Maximize
Bitonic Point
Single Number
Alternate positive and negative numbers
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
Longest Common Prefix of Strings
Longest substring with distinct characters
Substrings with same first and last characters
Segregate 0s and 1s
Play With OR
Three Great Candidates
First element to occur k times
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
Check if a number is divisible by 8
Find the Highest number
Armstrong Numbers
Reverse Bits
Swap two nibbles in a byte
Maximum Sum Problem
Party of Couples
Maximize dot product
Count numbers containing 4
Trail of ones
K-Palindrome
Possible Timings
Minimum Cost To Make Two Strings Identical
Recamans sequence
Compare two fractions
Recursive sequence
Juggler Sequence
Summed Matrix
Row with minimum number of 1's
Coverage of all Zeros in a Binary Matrix
Exit Point in a Matrix
Multiply two polynomials
Array to BST
Find maximum volume of a cuboid
Sum of two numbers without using arithmetic operators
Insert an Element at the Bottom of a Stack
Sort a k sorted doubly linked list
Fibonacci series up to Nth term
Stock Buy and Sell – Max one Transaction Allowed
Divisor Game
Find the first node of loop in linked list
Two Smallests in Every Subarray
Split an array into two equal Sum subarrays
Largest Pair Sum
Two Swaps
Maximize partitions in a String
Count pairs with given sum
Count Pairs whose sum is less than target
Union of Two Sorted Arrays with Distinct Elements
Intersection of Two arrays with Duplicate Elements
Find All Triplets with Zero Sum
Search in a row-wise sorted matrix
Find Only Repetitive Element from 1 to n-1
Unique Number I
Lower case to upper case
Arrays (Sum of array)
C++ Array (print an element) | Set 2
Linked List Group Reverse
Binary Tree to DLL
Clone List with Next and Random
Wildcard Pattern Matching
Subtraction in Linked List
LRU Cache
Alien Dictionary
Smallest range in K lists
Fixing Two nodes of a BST
Trapping Rain Water
Max Circular Subarray Sum
Merge Without Extra Space
Smallest window in a string containing all the characters of another string
Histogram Max Rectangular Area
Maximum of minimum for every window size
Find median in a stream
Solve the Sudoku
Minimum Cost Path
Stock Buy and Sell – Multiple Transaction Allowed
Burning Tree
Count Pairs in an Array
Count Smaller elements
Longest Prefix Suffix
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
Stock Buy and Sell – Max K Transactions Allowed
Matrix Chain Multiplication
Strictly Increasing Array
The Palindrome Pattern
Generalised Fibonacci numbers
Boolean Parenthesization
Longest valid Parentheses
Possible Paths in a Tree
N-Queen Problem
Brackets in Matrix Chain Multiplication
Rohan's Love for Matrix
Articulation Point - II
Maximum XOR subarray
Find all Critical Connections in the Graph
Distribute candies in a binary tree
Split Array Largest Sum
Kth Smallest Number in Multiplication Table
Min Chars to Add for Palindrome
Vertex Cover
Maximum Connected group
Minimize Max Distance to Gas Station
Account Merge
Max min Height
Geekina Hate 1s
Meeting Rooms III
Minimum Weight Cycle
Count Linked List Nodes
Minimum element in BST
Is Linked List Length Even?
Identical Linked Lists
Triplet Family
Sort The Array
Alternative Sorting
Product of maximum in first array and minimum in second
Largest Element in Array
Game with nos
Ishaan Loves Chocolates
Product is even or odd?
Find minimum and maximum element in an array
Matching Pair
close
V
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 !