1 capture
25 Nov 2025
Oct
NOV
Dec
25
2024
2025
2026
success
fail
About this capture
TIMESTAMPS
The Wayback Machine - https://web.archive.org/web/20251125221906/https://www.geeksforgeeks.org/user/CharchitKapoor/
Data Structure
Java
Python
HTML
Interview Preparation
Interview Prep
Tutorials
Tracks
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
CharchitKapoor
Current POTD Streak
STREAK
162
/1576
days
Longest streak/Global longest streak
Institution
Jaypee University of Information Technology (JUIT) Solan
2 Rank
Institute Rank
Language Used
Java, C++, Python
Coding Score
2303
Problem Solved
676
Contest Rating
__
Campus Mantri
devank__k
1006 points
Contributor
1006 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
279 submissions in current year
Current
2024
2023
2022
2021
2020
2019
2018
January
February
March
April
May
June
July
August
September
October
November
SCHOOL (1)
BASIC (27)
EASY (199)
MEDIUM (375)
HARD (74)
Linked List Group Reverse
Clone List with Next and Random
Min distance between two given nodes of a Binary Tree
Serialize and deserialize a binary tree
Max rectangle
Subtraction in Linked List
Distinct occurrences
LRU Cache
AVL Tree Insertion
AVL Tree Deletion
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
Trapping Rain Water
Max Circular Subarray Sum
Smallest window containing all characters
Histogram Max Rectangular Area
Max of min for every window size
Find median in a stream
Solve the Sudoku
Count Pairs in an Array
Palindrome SubStrings
Search Pattern
Longest Prefix Suffix
Wildcard string matching
Longest repeating and non-overlapping substring
Sum-string
Edit Distance
Minimum Points To Reach Destination
Palindromic Partitioning
Strictly Increasing Array
Median in a row-wise sorted Matrix
Generalised Fibonacci numbers
Boolean Parenthesization
Longest valid Parentheses
Possible Paths in a Tree
N-Queen Problem
Brackets in Matrix Chain Multiplication
Maximum sum Rectangle
Search Pattern (Rabin-Karp Algorithm)
Find all Critical Connections in the Graph
Distribute candies in a binary tree
Split Array Largest Sum
Scrambled String
Find the String
Stock Buy and Sell – Max 2 Transactions Allowed
Largest rectangular sub-matrix whose sum is 0
Vertex Cover
Expression Add Operators
Minimum Cost to Merge Stones
Count Reverse Pairs
Candy
Better String
Select Nodes
Fixing Two swapped nodes of a BST
Count Binary Strings With No Consecutive 1s
Divide in Incremental Groups
Max min Height
Maximum Number of coins
Median of the Subarrays
Minimum BST Sum Subtree
Cake Distribution Problem
Game Of Subsets
Geekina Hate 1s
Making A Large Island
Minimum K Consecutive Bit Flips
Count the Coprimes
Longest Periodic Proper Prefix
Maximum Non-Overlapping Odd Palindrome Sum
Maximum subarray sum 2
Shortest Cycle
Chocolate Pickup II
Minimum Cost to Cut a Stick of length N
Rotate a Linked List
Sort a linked list of 0s, 1s and 2s
Add Number Linked Lists
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
Check for BST
Quick Sort
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
Connect Nodes of Levels
Flattening a Linked List
Tree Boundary Traversal
Directed Graph Cycle
Undirected Graph Cycle
LCA in Binary Tree
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
Get Min from Stack
Gas Station
Clone a Binary Tree
Remove loop in Linked List
Dijkstra Algorithm
Additive sequence
Multiply two strings
Implement Atoi
Palindrome Linked List
Print matrix in diagonal pattern
Rat in a Maze
Bipartite Graph
Closest in BST
BST with Dead End
Count distinct elements in every window
Find triplets with zero sum
Sort a stack
Duplicate Subtree
Top View of Binary Tree
k-th Smallest in BST
Find Common Nodes in two BSTs
Level order traversal
Peak element
Merge Sort for Linked List
Euler Circuit in an Undirected Graph
Euler circuit and Path
Binary Tree to CDLL
Pair Sum in BST
Counting elements in two arrays
Linked List that is Sorted Alternatingly
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
Find length of Loop
Median of BST
Normal BST to Balanced BST
ZigZag Tree Traversal
Pairwise swap of nodes in Linked List
Mother Vertex
Gray to Binary Conversion
Reverse array in groups
Smallest Positive Missing
Possible Words From Phone Digits
Rearrange Array Alternately
Rearrange an array with O(1) extra space
Maximum Index
Stock buy and sell
Kadane's Algorithm
Majority Element
Count Inversions
Two Repeated Elements
Union of 2 Sorted Arrays
Indexes of Subarray Sum
Count the number of possible triangles
Sort by Absolute Difference
Triplet Sum in Array
Merge Without Extra Space
Level of Nodes
Make Matrix Beautiful
Boolean Matrix
Spirally traversing a matrix
Search in a sorted Matrix
Rotate by 90 degree
Determinant of a Matrix
Distance of nearest cell having 1
Subarray with 0 sum
Longest Consecutive Subsequence
Strings Rotations of Each Other
Case-specific Sorting of Strings
Postfix Evaluation
Stock span problem
Next Greater Element
K Sized Subarray Maximum
Kth smallest element
Minimum Cost of ropes
Nearly sorted
Fractional Knapsack
Job Sequencing Problem
Minimum Platforms
Largest number in K swaps
Minimum Jumps
Detect Cycle using DSU
Ways to Reach the n'th Stair
Optimal Strategy For A Game
Minimum number of jumps
Sum of all substrings of a number
Longest Increasing Subsequence
Longest Common Subsequence
0 - 1 Knapsack Problem
Lucky Numbers
Allocate Minimum Pages
Find whether path exist
Kth Smallest
Implement Trie
Shortest Common Supersequence
Most frequent word in an array of strings
Maximize The Cut Segments
Container With Most Water
Print Anagrams Together
Top K Frequent in Array
Word Break
Word Search
4 Sum - All Quadruples
Sort 0s, 1s and 2s
Pascal Triangle
Number of subarrays with maximum values in given range
Sum of Subarrays
Top k numbers in a stream
Maximize Number of 1's
Consecutive 1's not allowed
Pythagorean Triplet
Painting the Fence
Search in Rotated Sorted Array
Count pairs Sum in matrices
Sum of bit differences
Max Score from Subarray Mins
Form the Largest Number
Longest subarray with sum divisible by K
Check if a string is repetition of its substring of k-length
Check if frequencies can be equal
Sort in specific order
Form a palindrome
Longest Subarray with Sum K
Cutting Binary String
Max Sum without Adjacents
Shuffle integers
Find the N-th character
Length of the longest substring
k largest elements
Sum of XOR of all pairs
Longest Common Substring
Smallest distinct window
Longest substring with distinct characters
Longest Substring with K Uniques
Longest Palindrome in a String
LCS of three strings
Largest Sum Subarray of Size at least K
Longest Common Increasing Subsequence
Minimum sum
Minimize the Heights II
Transform to prime
Minimum Deletions
Print N-bit binary numbers having more 1s than 0s
Nine Divisors
Permutations of a String
Number following a pattern
CamelCase Pattern Matching
Sum of Products
Bleak Numbers
Game of XOR
Modified Game of Nim
Maximize dot product
Max Sum Increasing Subsequence
Coin Change (Count Ways)
Sequence of Sequence
Santa Banta
Ways To Tile A Floor
Mobile numeric keypad
Gold Mine Problem
Coin Change (Minimum Coins)
Dice throw
Perfect Sum Problem
Trail of ones
Power Set
Knapsack with Duplicate Items
nCr
Maximum path sum in matrix
Special Keyboard
Partition Equal Subset Sum
Get Minimum Squares
Count possible ways to construct buildings
Count distinct pairs with difference k
Count digit groupings of a number
Array Pair Sum Divisibility Problem
Number of paths
Number of paths in a matrix with k coins
LCM Triplet
Game with String
Smith Number
Maximum sum of hour glass
How Many X's?
Power of k in factorial of n
Exit Point in a Matrix
Decode the string
Total Decoding Messages
Stream First Non-repeating
Print leaf nodes from preorder traversal of BST
Snake and Ladder Problem
Transitive closure of a Graph
Replace O's with X's
Rohan's Love for Matrix
Express as sum of power of natural numbers
Traverse All Edges And Vertices
Floyd Warshall
Flood fill Algorithm
Techfest and the Queue
Largest subsquare surrounded by X
Police and Thieves
Subarrays with sum K
Remove K Digits
Substrings of length k with k-1 distinct elements
Find duplicate rows in a binary matrix
Maximum sum of elements not part of LIS
BST to greater sum tree
Paths from root with a specified sum
Shortest Prime Path
Sort for Singly Linked List
Anti Diagonal Traversal of Matrix
Unique Number III
All Unique Permutations of an array
Course Schedule II
Clone an Undirected Graph
Min Cost Climbing Stairs
Remove and Reverse
Even Swap
K-th Largest Sum Contiguous Subarray
Maximum Meetings in One Room
Max Equal sum of 3 Stacks
Buy Maximum Stocks
Find shortest safe route in a matrix
Minimum Cost to cut a board into squares
Graph is Tree or Not
Next element with greater frequency
Minimum Multiplications to reach End
Eventual Safe States
City With the Smallest Number of Neighbors at a Threshold Distance
Number of Ways to Arrive at Destination
Path With Minimum Effort
Majority Element - More Than n/3
Longest subarray with Atmost two distinct integers
Sum of subarray minimum
Frog Jump
Minimum days to make M bouquets
Generate all binary strings
Minimum Absolute Difference In BST
Maximum Sum Combination
Insert Interval
Floor in BST
GCD Array
Next Greater Element in Circular Array
Find the first node of loop in linked list
Geeks And The String
Find the longest string
Minimum repeat to make substring
Paint N Houses
Max Sum without Adjacents
Intersection Point in Y Shaped Linked Lists
BST Downward Traversal
Length of the longest subarray with positive product
Count number of free cell
Maximum Bipartite Matching
Prime List
Water the plants
Apple Sequences
Connect Nodes at Same Level
Unique Paths in a Grid
Valid Compressed String
Fill the Matrix
Number of Good Components
Optimal Array
Best Node
Update Queries
Good Stones
Maximum Intersecting Lines
String rp or pr
Shy Geek
Count Special Numbers
Minimum Steps Required
Count Cyclic Paths
Maximum Triplet product
Second smallest number
Maximum Possible Value
Distinct Difference
Yet another query problem
Geek hates too many 1s
Maximum Length
Remove the balls
Unequal Arrays
Job Sequencing Problem
Bheem Wants Ladoos
Prefix Suffix String
Smaller Sum
Shortest XY distance in Grid
Nearest smaller tower
Geek's Village and Wells
Find Number
Powerful Integer
Good Subtrees
Subtree In N-ary Tree
Easy Task
Add Minimum Characters
Maximum subset sum
Palindrome with minimum sum
Construct a Full Binary Tree
Modify Linked List-1
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
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
Last Moment Before All Ants Fall Out
Search in an almost Sorted Array
Longest Subarray with Majority Greater than K
Count all triplets with given sum in sorted array
Balancing Consonants and Vowels Ratio
Implement Pow
Subarrays With At Most K Distinct Integers
K Closest Points to Origin
Longest Bounded-Difference Subarray
The Knight's tour problem
Divisible by 13
Lexicographically Largest String After K Deletions
Count Unique Vowel Strings
Count Numbers Containing Specific Digits
ASCII Range Sum
2D Difference Array
Difference Check
Farthest Smaller Right
Maximize median after doing k addition operation
Maximize the minimum difference between k elements
Search in fully rotated sorted 2D matrix
Minimum Steps to Halve Sum
Min Add to Make Parentheses Valid
String stack
Longest Subarray Length
Design MinMax Queue
Unique K-Number Sum
Sum of Nodes in BST Range
Construct Tree from Preorder & Postorder
K closest Values
Split Array Subsequences
Find K Smallest Sum Pairs
Max DAG Edges
Weighted Job Scheduling
Reverse a linked list
Delete nodes having greater value on right
Inorder Traversal
Reverse a Doubly Linked List
Bubble Sort
Check for BST
Right View of Binary Tree
Mirror Tree
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
Decimal Equivalent of Binary Linked List
Intersection Sorted Linked Lists
Find Transition Point
Queue using two Stacks
Remove Duplicates from a Sorted Linked List
Stack using two queues
Level Order in spiral form
DFS of Graph
Stack using Linked List
Implement stack using array
Insert a node in a BST
BFS of graph
Identical Trees
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
Minimum Depth of a Binary Tree
Binary Tree to BST
Leaves at Same Level or Not
Convert to Roman No
Josephus problem
Delete in a Singly Linked List
Kth largest element in BST
Minimum distance in an Array
Array Duplicates
Special Stack
Three way partitioning
Index of an Extra Element
Convert Ternary Expression to Binary Tree
Insert in a Sorted List
Sum of leaf nodes in BST
More than n/k Occurrences
Symmetric Tree
Count Pairs whose sum is equal to X
Leaf under budget
Queue Reversal
Reverse first K of a Queue
Remove Half Nodes
Sum of Leaf Nodes
Closest Neighbour in BST
Brothers From Different Roots
Delete Mid of a Stack
Swap the array elements
Predict the Column
Xoring and Clearing
BigInteger Multiply
Reverse an Array
Frequency Game
First Set Bit
Rightmost different bit
Check K-th Bit
Power of 2
Frequencies in a Limited Array
Equilibrium Point
Array Leaders
Floor in a Sorted Array
Print adjacency list
Sum of upper and lower triangles
Print Matrix in snake Pattern
Check if a string is Isogram or not
Anagram
Winner of an election
String Rotated by 2 Places
Isomorphic Strings
Reverse Words
Minimum indexed character
Panagram Checking
Parenthesis Checker
Generate Binary Numbers
N meetings in one room
Reach a given score
Count ways to N'th Stair
Count number of hops
Rotate Deque By K
Union of Arrays with Duplicates
Check Equal Arrays
Missing in Array
Product array puzzle
Roman Number to Integer
Non-Repeating Element
Count the elements
Adding Ones
Search in a Row-Column sorted matrix
Move All Zeroes to End
String Duplicates Removal
Minimize the sum of product
Chocolate Distribution Problem
Left most and right most index
Remove Consecutive Characters
Palindrome Sentence
Remove Duplicates
Convert array into Zig-Zag fashion
Two Sum - Pair with Given Sum
Check if array contains contiguous integers
Number of occurrence
Reversing the equation
Does array represent Heap
Convert an array to reduced form
Sum Pair closest to target
Find missing in second array
String's Count
Longest Common Prefix of Strings
Two sum -Pairs with 0 Sum
Sum of f(a[i], a[j]) over all pairs in an array of n integers
Print an array in Pendulum Arrangement
Play With OR
Tywin's War Strategy
At Least K Occurrences
Find the closest pair from two arrays
Pair with given sum in a sorted array
Print Bracket Number
Shop in Candy Store
Largest number in one swap
Minimum Operations
Divisibility by 8
Midori and chocolates
Reverse Bits
Max Sum Subarray of size K
Nth Fibonacci Number
Maximum Sum Problem
Party of Couples
Shortest path from 1 to n
Sum 1 to n Divisors
Assign Mice Holes
Reach the Nth point
Minimum number of Coins
Perfect Numbers
Largest number possible
Recamans sequence
Form a number divisible by 3 using array digits
Least Prime Factor
Recursive sequence
Arithmetic Number
Row with Minimum 1s
Trace Path
Inorder Traversal and BST
Letters Collection
Print Pattern
Sum of dependencies in a graph
Check if a String is Subsequence of Other
Count the Substrings
Smallest window containing 0, 1 and 2
Insert an Element at the Bottom of a Stack
Fibonacci series up to Nth term
Maximum Weight Node
Type it!
Balloon Everywhere
Reverse both parts
Cutting Rectangles
Frogs and Jumps
Make Array Elements Equal
Equal Left and Right Subarray Sum
Make the array beautiful
Remainder on dividing by 11
Is it Fibonacci
Taxi Booking
Max Level Sum in Binary Tree
Binary matrix having maximum number of 1s
Number of Subarrays of 0's
Maximum Identical Bowls
Wifi Range
Minimum Number
Minimum Integer
Seating Arrangement
Make Palindrome
Binary Modulo
Total Cuts
Bit Magic
Array Operations
Dominant Pairs
Total Traversal Time
Candy shop I
Minimum Distance
Count Indices
Return To Root
Magic Array
Equality
Minimum Number of Elements
Count Pairs whose sum is less than target
Intersection of Two arrays with Duplicate Elements
Search in a row-wise sorted matrix
Game of Function
Size of Binary Tree
Count Leaves in Binary Tree
Postorder Traversal
Queue using Linked List
Preorder Traversal
First Occurence
Remainder with 7
Minimum element in BST
Binary String
Reverse a String
Remove consonants from a string
Immediate Smaller Element
One odd Occuring
Array Subset
Rotating an Array
Find the fine
Factorial
Absolute Difference of 1
Sum of elements in a matrix
Remainder Evaluation
Matching Pair
Unique Numbers
Pattern Jumping
Friend of x
Time Travel
Who has the majority?
Reverse an Array
close
C
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
✕