4 captures
15 Aug 2025 - 07 Oct 2025
Sep
OCT
Nov
07
2024
2025
2026
success
fail
About this capture
TIMESTAMPS
The Wayback Machine - https://web.archive.org/web/20251007051331/https://www.geeksforgeeks.org/user/ankitkumarh15/
Data Structure
Java
Python
HTML
Interview Preparation
Tutorials
Courses
Tracks
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
ankitkumarh15
Current POTD Streak
STREAK
08
/1527
days
Longest streak/Global longest streak
Institution
Lovely Professional University, Jalandhar (LPU Jalandhar)
729 Rank
Institute Rank
Language Used
C++, Python, Java, C
Coding Score
1015
Problem Solved
388
Contest Rating
__
Apply for Campus Mantri
29 points
Contributor
29 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
6 submissions in current year
Current
2024
2023
2022
2021
January
February
March
April
May
June
July
August
September
October
SCHOOL (0)
BASIC (61)
EASY (137)
MEDIUM (166)
HARD (24)
Nearest Perfect Square
A Boolean Matrix Problem
Toggle The Middle
K Sum
XOR Pair
Average of String
Reverse a linked list
Remove duplicates from an unsorted linked list
Inorder Traversal
Bubble Sort
Insertion Sort
Check for BST
Right View of Binary Tree
Mirror Tree
Maximum Width of Tree
Height of Binary Tree
Balanced Tree Check
Kth from End of Linked List
Left View of Binary Tree
Queue using two Stacks
Remove Duplicates from a Sorted Linked List
Level Order in spiral form
DFS of Graph
Stack using Linked List
Insert a node in a BST
BFS of graph
Identical Trees
Square Root
Insertion at doubly linked list
Lowest Common Ancestor in a BST
Binary Search
Level Order Line by Line
BST Keys in a Range
Josephus problem
Three way partitioning
Sum of leaf nodes in BST
More than n/k Occurrences
Counting Sort
Queue Reversal
Reverse first K of a Queue
Delete Mid of a Stack
Learn to Comment - Java
While loop- printTable - Java
Get min at pop
Deque Implementations
Max and Second Max
Hashing for pair - 1
Hashing for pair - 2
Inorder traversal of a BST
Levelorder traversal of a BST
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
Modular Inverse
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
Roof Top
Intersection of two sorted arrays
Closet 0s 1s and 2s
Print adjacency list
Sum of upper and lower triangles
Print Matrix in snake Pattern
Transpose of Matrix
Interchanging the rows of a Matrix
Reversing the columns of a Matrix
Matrix Boundary Traversal
Exchange matrix columns
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
String Rotated by 2 Places
Isomorphic Strings
Most Frequent Character
The Modified String
Reverse Words
Sum of numbers in string
Minimum indexed character
Panagram Checking
Repeating Character
Non Repeating Character
Removing consecutive duplicates
Removing consecutive duplicates - 2
Parenthesis Checker
Generate Binary Numbers
K largest elements
Count Digits in a Number
Digital Root
Power Set Using Recursion
Pattern searching
Deque deletion
Rotate Deque By K
First Repeating Element
Union of Arrays with Duplicates
Check Equal Arrays
Numbers containing 1, 2 and 3
Positive Negative Pair
Missing in Array
Intersection of Arrays with Distinct
Convert array into Zig-Zag fashion
Does array represent Heap
At Least K Occurrences
Divisibility by 8
Number of 1 Bits
Maximum Sum Problem
Number Of Open Doors
Number Game
Help Ishaan
Print Pattern
Print GeeksForGeeks
Type Conversion
Minimum Difference in an Array
Check if a String is Subsequence of Other
Pass by Reference and Value
Range OR
Unique Number of Occurrences
Separate Stone
Balloon Everywhere
Find Length of Linked List
Postorder Traversal
Queue using Linked List
Queue Using Array
Preorder Traversal
First Occurence
Search a node in BST
Linked List Insertion At End
Minimum element in BST
Identical Linked Lists
Insert in Middle of Linked List
Who has the majority?
Strongest Neighbour
Array insert at index
Array insert at end
Operations on Stack
Operations on Queue
Absolute Value
Convert Celsius To Fahrenheit
Quadratic Equation Roots
Bit Difference
Number is sparse or not
Binary To Gray Code Conversion
Print 1 To N Without Loop
Array Search
Sorted Array Search
Left Index
Adding two matrices
Multiply the matrices
Binary String
Remove common characters and concatenate
Sum of Digits of a Number
Power Using Recursion
Fibonacci Using Recursion
Addition Under Modulo
Multiplication Under Modulo
Insertion in deque
Deque Traversal
Keypad typing
Rotate Array by One
Betting game
Decision Making in Java
Input String
Input Integer
Input Floating Number
Print Statement
Print With Space
Print With Separator
Swap The Numbers
Bitwise Operators
Print Without Space
Evaluate Formulae
Sum of N Numbers
TypeCast And Double It
Concatenate Integers
Print Without Newline
Arithmetic Operators
Logical Operators
Java Switch Case statement
Bitwise Right Shift
Data Type
Kth Smallest Difference
Binary Tree to DLL
Clone List with Next and Random
Serialize and deserialize a binary tree
Distinct occurrences
LRU Cache
Merge Sort on Doubly Linked List
Fixing Two nodes of a BST
Pattern Search KMP
Trapping Rain Water
Max Circular Subarray Sum
Pattern Search
Smallest window containing all characters
Histogram Max Rectangular Area
Max of min for every window size
Find median in a stream
Strongly connected component (Tarjans's Algo)
Minimum Cost Path
Median of Two sorted arrays
Boolean Parenthesization
Articulation Point - II
Search Query Auto Complete
Articulation Point - I
Stock Buy and Sell – Max 2 Transactions Allowed
Smaller on Right
The Conversion To One
Get the Shadow
Without Adjacent
Rotate a Linked List
Sort a linked list of 0s, 1s and 2s
Add Number Linked Lists
Detect Loop in linked list
Count BST nodes that lie in a given range
Quick Sort
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
Heap Sort
Merge two sorted linked lists
Construct Binary Tree from Parent Array
Connect Nodes of Levels
Stack using Queue
Implement stack using array
Delete a node from BST
Directed Graph Cycle
Undirected Graph Cycle
LCA in Binary Tree
Maximum difference between node and its ancestor
Two Stacks in an Array
Binary Heap Operations
The Celebrity Problem
Topological sort
Vertical Tree Traversal
Merge K sorted linked lists
Find the number of islands
Find kth element of spiral matrix
Gas Station
Linked List to Binary Tree
Check if subtree
Remove loop in Linked List
Dijkstra Algorithm
Minimum Spanning Tree
Minimum Swaps to Sort
Palindrome Linked List
Strongly Connected
Closest in BST
Merge two BST 's
Merge k Sorted Arrays
Bridge edge in a graph
Find triplets with zero sum
Top View of Binary Tree
Find Common Nodes in two BSTs
Level order traversal
Peak element
Polynomial Addition
Merge Sort for Linked List
Binary Tree to CDLL
Foldable Binary Tree
Count the nodes at distance K from leaf
Maximum path sum from any node
Children Sum in a Binary Tree
Find length of Loop
Convert Level Order Traversal to BST
ZigZag Tree Traversal
Count Number of SubTrees
Vertical Width of a Binary Tree
Pairwise swap of nodes in Linked List
Swap Kth nodes from ends
Add two numbers represented by Linked List
Maximum sum of Non-adjacent nodes
Mother Vertex
Rabin Karp - Pattern Searching
Floor in BST
Ceil in BST
Pair Sum in BST
Count set bits
Gray to Binary Conversion
Maximum AND Value
Tower Of Hanoi
Reverse array in groups
Smallest Positive Missing
Power Of Numbers
Maximum occured integer
Wave Array
Possible Words From Phone Digits
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
Binary Array Sorting
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
Number of pairs
Merge Without Extra Space
Merge three sorted arrays
Closer to sort
Possible paths between 2 vertices
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
Unit Area of largest region of 1's
Subarray with 0 sum
Subarray range with given sum
Subarrays with equal 1s and 0s
Sort Elements by Decreasing Frequency
Longest Consecutive Subsequence
Strings Rotations of Each Other
Case-specific Sorting of Strings
Lexicographic Rank Of A String
Postfix Evaluation
Stock span problem
Next Greater Element
Infix to Postfix
K Sized Subarray Maximum
Kth largest element
Kth smallest element
Kth largest element in a stream
K Most occurring elements
Minimum Cost of ropes
Nearly sorted
Rearrange characters
Minimum Platforms
Lucky Numbers
Sort according to an Array
Allocate Minimum Pages
Preorder to BST
X Total Shapes
Zero Sum Subarrays
Find whether path exist
Nth number made of prime digits
Rotten Oranges
Steps by Knight
Count only Repeated
Longest Subarray Of Evens And Odds
Word Break
Maximum Water Between Two Buildings
Sort 0s, 1s and 2s
Count of Subarrays
Form the Largest Number
Array Pair Sum Divisibility Problem
Matchsticks game
Game of Chocolates
Game with String
Find the Safe Position
Fraction Trouble
Longest Repeating Subsequence
Divide and Subtract Game
Substrings of length k with k-1 distinct elements
BST to max heap
Number Of Islands
Minimize number of Students to be removed
Remove the balls
Tree Transformation
Flatten BST to sorted list
close
A
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
✕