Tutorials
Courses
Data Structure
Java
Python
HTML
Interview Preparation
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
J
9971jiyagarg
Current POTD Streak
STREAK
57
/1431
days
Longest streak/Global longest streak
Institution
Indira Gandhi Delhi Technical University for Women (IGDTUW)
16 Rank
Institute Rank
Language Used
C++, C
Coding Score
1875
Problem Solved
565
Contest Rating
__
Campus Mantri
nishthagupta25
84 points
Contributor
84 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
162 submissions in current year
Current
2024
2023
2022
2021
January
February
March
April
May
June
July
SCHOOL (2)
BASIC (23)
EASY (187)
MEDIUM (313)
HARD (40)
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
Insert in Sorted Circular Linked List
Count BST nodes that lie in a given range
Quick Sort
Bottom View of Binary Tree
Intersection in Y Shaped Lists
Diameter of a Binary Tree
Merge two sorted linked lists
Sum Tree
Flattening a Linked List
Diagonal Tree Traversal
Tree Boundary Traversal
Directed Graph Cycle
Undirected Graph Cycle
Two Stacks in an Array
The Celebrity Problem
Largest subarray with 0 sum
Topological sort
Merge K sorted linked lists
Find the number of islands
Find kth element of spiral matrix
Get Min from Stack
Serialize and deserialize a binary tree
Gas Station
Wildcard Pattern Matching
Clone a Binary Tree
Validate an IP Address
Remove loop in Linked List
Dijkstra Algorithm
Minimum Spanning Tree
Additive sequence
Largest BST
Sorted subsequence of size 3
Multiply two strings
Implement Atoi
Maximum Difference
Palindrome Linked List
Strongly Connected
Rat in a Maze Problem - I
Closest in BST
BST with Dead End
Merge two BST 's
Count distinct elements in every window
Merge k Sorted Arrays
Root to leaf paths sum
Bridge edge in a graph
Find triplets with zero sum
Sort a stack
Top View of Binary Tree
k-th Smallest in BST
Polynomial Addition
Union of Two Linked Lists
Euler Circuit in an Undirected Graph
Pair Sum in BST
Root to Leaf Paths
Counting elements in two arrays
K Sum Paths
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
Predecessor and Successor
Children Sum in a Binary Tree
Diagonal sum in binary tree
Sum of nodes on the longest path
Kth Ancestor in a Tree
ZigZag Tree Traversal
Mother Vertex
Gray to Binary equivalent
Smallest Positive Missing
Power Of Numbers
Rearrange Array Alternately
Rearrange an array with O(1) extra space
Rotate Array
Kadane's Algorithm
Count Inversions
Two Repeated Elements
Union of 2 Sorted with Duplicates
Indexes of Subarray Sum
Count the number of possible triangles
Triplet Sum in Array
Number of pairs
Merge Without Extra Space
Level of Nodes
Make Matrix Beautiful
Boolean Matrix
Spirally traversing a matrix
Distance of nearest cell having 1
Subarray with 0 sum
Sort Elements by Decreasing Frequency
Longest Consecutive Subsequence
Case-specific Sorting of Strings
Postfix Evaluation
Stock span problem
Next Greater Element
K Sized Subarray Maximum
Activity Selection
Fractional Knapsack
Job Sequencing Problem
Minimum Platforms
M-Coloring Problem
Minimum Jumps
Stickler Thief
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
Shortest Common Supersequence
Nth Catalan Number
Rotten Oranges
Maximize The Cut Segments
Container With Most Water
Print Anagrams Together
Rotate by 90 degree
Top K Frequent in Array
Word Break
Stock Buy and Sell – Multiple Transaction Allowed
Word Search
Paths to reach origin
Maximum Index
Flip Bits
Top k numbers in a stream
Longest Span in two Binary Arrays
Sum of Middle elements of two sorted arrays
Consecutive 1's not allowed
Pythagorean Triplet
Painting the Fence
Sum of bit differences
Marks of PCM
Maximum Product Subarray
Remove minimum elements
Longest subarray with sum divisible by K
Check if a string is repetition of its substring of k-length
Sort the given array after applying the given equation
Check if frequencies can be equal
Form a palindrome
Longest Subarray with Sum K
Cutting Binary String
Max Sum without Adjacents
k largest elements
Sum of XOR of all pairs
Longest Common Substring
Longest substring with distinct characters
Longest Substring with K Uniques
Longest Palindrome in a String
K-th element of two Arrays
Arranging the array
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
Largest Sum Subarray of Size at least K
Equalize the Towers
Minimum sum
Minimize the Heights II
Transform to prime
Minimum Deletions
Print N-bit binary numbers having more 1s than 0s
Valid Substring
Permutations of a String
Number following a pattern
Sum of Products
Subarrays Product Less than K
Unique Number II
Bleak Numbers
Game of XOR
Largest prime factor
Modified Game of Nim
Maximize dot product
Max Sum Increasing Subsequence
Coin Change (Count Ways)
Sequence of Sequence
Mobile numeric keypad
Gold Mine Problem
Coin Change (Minimum Coins)
Dice throw
Perfect Sum Problem
K-Palindrome
Power Set
Knapsack with Duplicate Items
nCr
Partition Equal Subset Sum
Longest Bitonic subsequence
Count possible ways to construct buildings
Count digit groupings of a number
Array Pair Sum Divisibility Problem
Brain Game
Matchsticks game
Subset Sums
Number of paths
Number of paths in a matrix with k coins
Game with String
Smith Number
Next Permutation
Longest Repeating Subsequence
Stream First Non-repeating
Segregate even and odd nodes in a Linked List
Print leaf nodes from preorder traversal of BST
Eulerian Path in an Undirected Graph
Transitive closure of a Graph
Replace O's with X's
Two numbers with odd occurrences
Traverse All Edges And Vertices
Find the string in grid
Count the paths
Floyd Warshall
Flood fill Algorithm
Techfest and the Queue
Shortest Source to Destination Path
Base Equivalence
Reverse Spiral Form of Matrix
Police and Thieves
Save Your Life
Image Multiplication
Hamiltonian Path
Subset Sum Problem
All Palindromic Partitions
Bellman-Ford
Subarrays with sum K
Remove K Digits
Substrings of length k with k-1 distinct elements
Maximum XOR of two numbers in an array
Number of Provinces
Prefix match with other strings
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
Anti Diagonal Traversal of Matrix
Unique Number III
All Unique Permutations of an array
Course Schedule
Clone an Undirected Graph
Min Cost Climbing Stairs
Find k-th smallest element in given n ranges
Reverse a Stack
Maximum Meetings in One Room
Enemy
Max Equal sum of 3 Stacks
Buy Maximum Stocks
Smallest sum contiguous subarray
Find shortest safe route in a matrix
Stack Permutations
Graph is Tree or Not
Replace every element with the least greater element on its right
Number of Distinct Islands
Shortest Distance in a Binary Maze
Minimum Multiplications to reach End
Number Of Enclaves
Eventual Safe States
City With the Smallest Number of Neighbors at a Threshold Distance
Number Of Islands
Number of Ways to Arrive at Destination
Shortest Path in Undirected Graph
Shortest path in Directed Acyclic Graph
Majority Element II
Koko Eating Bananas
Minimal Cost
Aggressive Cows
Smallest Divisor
Task Scheduler
Hands of Straights
Minimum Absolute Difference In BST
Lemonade Change
Maximum Sum Combination
Largest Divisible Subset
Minimize number of Students to be removed
Maximum Value
Absolute difference divisible by K
Make array elements unique
Minimum repeat to make substring
Length of the longest subarray with positive product
Count number of free cell
Walls Coloring
Water the plants
Geeks Island
Apple Sequences
Unique Paths in a Grid
Maximum Intersecting Lines
Remove the balls
Prefix Suffix String
Count Total Setbits
Tree Transformation
Find Kth permutation
New Year Resolution
Grinding Geek
Flatten BST to sorted list
Minimize the Difference
Pairs violating the BST property
Kth common ancestor in BST
Sum Equals Length
Count Subarrays with given XOR
Minimum cost to connect all houses in a city
Find All Triplets with Zero Sum
Split array in three equal sum subarrays
Count all triplets with given sum in sorted array
Implement Pow
K Closest Points to Origin
Longest Valid Word with All Prefixes
Lexicographically Largest String After K Deletions
Group Balls by Sequence
Reverse a linked list
Frequency in a Linked List
Delete N nodes after M nodes of a linked list
Delete nodes having greater value on right
Remove duplicates from an unsorted linked list
Delete in a Doubly Linked List
Inorder Traversal
Check for BST
Right View of Binary Tree
Mirror Tree
Delete without head pointer
Height of Binary Tree
Left View of Binary Tree
Delete Middle of Linked List
Decimal Equivalent of Binary Linked List
Find Transition Point
Remove Duplicates from a Sorted Linked List
Level Order in spiral form
Reverse Level Order Traversal
DFS of Graph
Insert a node in a BST
BFS of graph
Square Root
Lowest Common Ancestor in a BST
Largest subarray of 0's and 1's
Remove duplicates in array
Binary Tree to BST
Unique rows in boolean matrix
Leaves at Same Level or Not
Multiply two linked lists
Delete in a Singly Linked List
Kth largest element in BST
Minimum distance in an Array
Three way partitioning
Level order traversal
Inorder Successor in BST
Disjoint set (Union-Find)
Sum of leaf nodes in BST
More than n/k Occurrences
Symmetric Tree
Delete Alternate Nodes
Count Pairs whose sum is equal to X
Find length of Loop
Median of BST
Leaf under budget
Queue Reversal
Reverse first K of a Queue
Closest Neighbour in BST
Delete Mid of a Stack
Predict the Column
Xoring and Clearing
Reverse an Array
Frequency in Queue
Frequency Game
First Set Bit
Rightmost different bit
K-th Bit is Set or Not
Wave Array
Frequencies in a Limited Array
Equilibrium Point
Array Leaders
Roof Top
Print adjacency list
Transpose of Matrix
Winner of an election
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
Count number of hops
Missing in Array
Product array puzzle
Max Value Permutation
Missing And Repeating
Count the elements
Find the closest number
Adding Ones
Move All Zeroes to End
Min sum formed by digits
Chocolate Distribution Problem
Count pairs Sum in matrices
Count the triplets
Find Pair Given Difference
Pairs with difference k
Maximum Sum Bitonic Subsequence
Permutations in array
Swap and Maximize
Alternate Positive Negative
Kth distance
Sorting Employees
Toppers Of Class
Facing the sun
Second Largest
Two Sum - Pair with Given Sum
Rotate Bits
Number of occurrence
K-Pangrams
Reversing the equation
Does array represent Heap
Sum Pair closest to target
Find missing in second array
String's Count
Counts Zeros Xor Pairs
Substrings with same first and last characters
Segregate 0s and 1s
Play With OR
At Least K Occurrences
Count the Zeros
Distinct absolute array elements
Palindrome String
Total count
Pair with given sum in a sorted array
Easy string
Minimum Operations
Divisibility by 8
Number of 1 Bits
Reverse Bits
Max Sum Subarray of size K
Nth Fibonacci Number
Copy Set Bits in Range
Maximum Sum Problem
Party of Couples
Sum 1 to n Divisors
Sieve of Eratosthenes
Reach the Nth point
Minimum number of Coins
Smallest number with sum of digits as N and divisible by 10^N
Recamans sequence
Count ways to express N as the sum of 1,3 and 4
Form a number divisible by 3 using array digits
Least Prime Factor
Sum of First N Natural Numbers
BBT counter
Find nth root of m
Recursive sequence
Maximum Diamonds
Arithmetic Number
Row with Minimum 1s
Surround the 1's
Trace Path
Sequence Fun
Letters Collection
Print the pattern
Check if it is possible to convert one string into another with given constraints
Array to BST
Sum of k smallest elements in BST
Print Diagonally
Find all possible paths from top to bottom
Minimum Sum of Absolute Differences of Pairs
Smallest window containing 0, 1 and 2
Move Last Element to Front of a Linked List
Insert an Element at the Bottom of a Stack
Bus Conductor
Fibonacci series up to Nth term
Maximum Depth Of Binary Tree
Graph and Vertices
Maximum Frequency
Minimize the sum
Last modified ball
Transform to Sum Tree
Find the first node of loop in linked list
Type it!
Geek & Geekina Purchasing Ice Cream
Toggle
Virus Infection
Reverse both parts
Make the array beautiful
Is it Fibonacci
Maximum Identical Bowls
Bus Conductor
Minimum Number
Ticket Counter
Unique Number of Occurrences
Split an array into two equal Sum subarrays
First Word
Maximize partitions in a String
Count pairs with given sum
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
Find Only Repetitive Element from 1 to n-1
Unique Number I
Linked List Group Reverse
Clone List with Next and Random
Min distance between two given nodes of a Binary Tree
Subtraction in Linked List
Distinct occurrences
LRU Cache
Alien Dictionary
Fixing Two nodes of a BST
String Permutations
Trapping Rain Water
Smallest window containing all characters of another string
Histogram Max Rectangular Area
Find median in a stream
Solve the Sudoku
Burning Tree
The Painter's Partition Problem-II
Search Pattern (KMP-Algorithm)
Wildcard string matching
Edit Distance
Minimum Points To Reach Destination
Minimum sum partition
Palindromic Partitioning
Next Happy Number
Matrix Chain Multiplication
Strictly Increasing Array
Median in a row-wise sorted Matrix
Boolean Parenthesization
Longest valid Parentheses
Word Break - 2
N-Queen Problem
Brackets in Matrix Chain Multiplication
Word Wrap
Minimum X (xor) A
Find all Critical Connections in the Graph
Distribute candies in a binary tree
Split Array Largest Sum
Find number of closed islands
Stock Buy and Sell – Max 2 Transactions Allowed
Candy
Account Merge
Implement stack using array
Queue Using Array
Doubly linked list Insertion at given position
Count zeros in a sorted matrix
Peak element
Minimum element in BST
Is Linked List Length Even?
Triplet Family
Insert in Middle of Linked List
Reverse a String
First n Fibonacci
Print Elements of Array
Alternative Sorting
Value equal to index value
Immediate Smaller Element
Display longest name
Find element at a given Index
Largest Element in Array
Rotate Array by One
Game with nos
Tywin's War Strategy
Min and Max in Array
Max Min
Search in a 2D Matrix
Arrays (Sum of array)
close
J
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 !