6 captures
28 Apr 2025 - 23 Nov 2026
Aug
SEP
Oct
19
2024
2025
2026
success
fail
About this capture
TIMESTAMPS
The Wayback Machine - https://web.archive.org/web/20250919130811/https://www.geeksforgeeks.org/user/portalpirate/
Data Structure
Java
Python
HTML
Interview Preparation
Tutorials
Courses
Tracks
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
portalpirate
Current POTD Streak
STREAK
35
/1509
days
Longest streak/Global longest streak
Institution
University Institute of Engineering and Technology (UIET) Kanpur
60 Rank
Institute Rank
Language Used
C++
Coding Score
828
Problem Solved
377
Contest Rating
__
Apply for Campus Mantri
1890 points
Contributor
1890 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
0 submissions in current year
Current
2024
2023
2022
2021
2020
January
February
March
April
May
June
July
August
September
SCHOOL (3)
BASIC (61)
EASY (176)
MEDIUM (126)
HARD (11)
Detect Loop in linked list
Count BST nodes that lie in a given range
Merge Sort
Bottom View of Binary Tree
Delete without head pointer
Diameter of a Binary Tree
Heap Sort
Merge two sorted linked lists
Delete a node from BST
Directed Graph Cycle
Undirected Graph Cycle
LCA in Binary Tree
Two Stacks in an Array
Binary Heap Operations
Largest subarray with 0 sum
Topological sort
Vertical Tree Traversal
Find the number of islands
Is Binary Tree Heap
Dijkstra Algorithm
Minimum Spanning Tree
Minimum Swaps to Sort
Palindrome Linked List
Strongly Connected
Closest in BST
Find triplets with zero sum
Top View of Binary Tree
Find Common Nodes in two BSTs
Level order traversal
Peak element
Delete nodes greater than k
Counting elements in two arrays
Foldable Binary Tree
Vertical sum
Children Sum in a Binary Tree
Find length of Loop
ZigZag Tree Traversal
Vertical Width of a Binary Tree
Pairwise swap of nodes in Linked List
Rabin Karp - Pattern Searching
Floor in BST
Ceil in BST
Pair Sum in BST
Tower Of Hanoi
Smallest Positive Missing
Wave Array
Rotate Array
Kadane's Algorithm
Majority Element
Binary Array Sorting
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
Closer to sort
Boolean Matrix
Spirally traversing a matrix
Search in a sorted Matrix
Rotate by 90 degree
Subarray with 0 sum
Longest Consecutive Subsequence
Postfix Evaluation
Stock span problem
Next Greater Element
Infix to Postfix
Kth largest element
Kth smallest element
Kth largest element in a stream
K Most occurring elements
Minimum Cost of ropes
Nearly sorted
Preorder to BST
Kth Smallest
Rotten Oranges
Count only Repeated
Longest Subarray Of Evens And Odds
Excel Sheet | Part - 1
Sort 0s, 1s and 2s
Next Smaller Element
Remove leading zeros from an IP address
k largest elements
Arranging the array
Smallest Absolute Difference
Minimize the Heights II
First and Last Occurrences
Minimum Swaps for Bracket Balancing
Lexicographically smallest string
Modular Exponentiation
Kth Smallest Factor
XOR Game
Handshakes
Number of paths
Return two prime numbers
Fact Digit Sum
Find Prime numbers in a range
Next Permutation
Maximum sum of hour glass
Kth Largest in a Stream
Rohan's Love for Matrix
Coins of Geekland
Valid Pair Sum
Transfiguration
Triplets in Sorted Linked List
Help Classmates
Spidey Sense
Escape the Forbidden Forest
Iterative Postorder
Capacity To Ship Packages Within D Days
Substrings of length k with k-1 distinct elements
Clone a stack without using extra space
Find rectangle with corners as 1
Cousins of a given node
Sort for Singly Linked List
Flatten binary tree to linked list
Next Greater Element
IPL 2021 - Match Day 2
Minimum times A has to be repeated such that B is a substring of it
Maximum number of events that can be attended
Robots
Array Removals
Minimum Cost to cut a board into squares
Distinct Difference
Collecting Coins
Last Fairy Standing
Average of String
Reverse squared sum
Geek and his Marks
Power of 3
Reverse a linked list
Frequency in a Linked List
Node at a given index in linked list
Inorder Traversal
Bubble Sort
Insertion Sort
Check for BST
Right View of Binary Tree
K distance from root
Mirror Tree
Maximum Width of Tree
Height of Binary Tree
Balanced Tree Check
Kth from End of Linked List
Middle of a Linked List
Check If Circular Linked List
Left View of Binary Tree
Delete Middle of Linked List
Find Transition Point
Queue using two Stacks
Remove Duplicates from a Sorted Linked List
Stack using two queues
DFS of Graph
Stack using Linked List
Implement stack using array
Insert a node in a BST
BFS of graph
Identical Trees
Square Root
Remove Duplicates Sorted Array
Level Order Line by Line
BST Keys in a Range
Minimum Depth of a Binary Tree
Remove every k'th node
Josephus problem
Delete in a Singly Linked List
Kth largest element in BST
Three way partitioning
Index of an Extra Element
Sum of leaf nodes in BST
More than n/k Occurrences
Max and min element in Binary Tree
Reverse Using Stack
Delete Alternate Nodes
Find the Sum of Last N nodes of the Linked List
Next Right Node
Count Pairs whose sum is equal to X
Median of BST
Find n/k th node in Linked list
Queue Reversal
Reverse first K of a Queue
Sum of Leaf Nodes
Sum of Leaf Nodes at Min Level
Delete Mid of a Stack
Get min at pop
Deque Implementations
Hashing for pair - 1
Hashing for pair - 2
Inorder traversal of a BST
Levelorder traversal of a BST
Check K-th Bit
Factorial Of Number
GP Term
Primality Test
Exactly 3 Divisors
Mean And Median of Array
Modular Inverse
Power of 2
Frequencies in a Limited Array
Equilibrium Point
Array Leaders
Count 1's in binary array
Floor in a Sorted 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
Matrix Boundary Traversal
Exchange matrix columns
Naive Pattern Search
Count Non-Repeated Elements
Print Non-Repeated Elements
Anagram
Most Frequent Character
Reverse Words
Panagram Checking
Repeating Character
Non Repeating Character
Removing consecutive duplicates
Removing consecutive duplicates - 2
Parenthesis Checker
Generate Binary Numbers
K largest elements
Largest number with given sum
Count Digits in a Number
Digital Root
Corresponding pair
Deque deletion
Rotate Deque By K
First Repeating Element
Union of Arrays with Duplicates
Missing in Array
Intersection of Arrays with Distinct
Max Value Permutation
Missing And Repeating
Find the closest number
Sort by Set Bit Count
Maximize sum after K negations
Sum of elements between k1'th and k2'th smallest elements
Search in a Row-Column sorted matrix
Move All Zeroes to End
String Duplicates Removal
Missing number
Move all negative elements to end
Count the triplets
Swap and Maximize
Bitonic Point
Alternate Positive Negative
Check if the number is balanced
Rearrange a string
Two Sum - Pair with Given Sum
Does array represent Heap
Counts Zeros Xor Pairs
Segregate 0s and 1s
Hungry Pizza Lovers
Count the Zeros
Maximum average subarray
Search array with adjacent diff at most k
Pair with given sum in a sorted array
Minimum Operations
Adding Array Elements
Max Sum Subarray of size K
Shortest path from 1 to n
Amicable Pair
Assign Mice Holes
Find maximum number
The Bit Game
Minimum number of Coins
Maximize Toys
Squares in N*N Chessboard
Trailing zeroes in factorial
Form a number divisible by 3 using array digits
Maximum sum difference
Tom and Jerry
Arithmetic Number
Help Ishaan
Inorder Traversal and BST
Primes sum
Sort one array according to another array
Rearrange Geek and his Classmates
Gadgets of Doraland
Largest value in each level
Minimum Difference in an Array
Check if a String is Subsequence of Other
Maximum number of 2X2 squares
Geek and Snow Fighting
Geek and Co-Prime Numbers
License Key Formatting
Move Last Element to Front of a Linked List
Find pairs with given sum in doubly linked list
2-drome
Multiset
Assign Tasks
Maximum Frequency
Refueling
Taxi Booking
Magic Array
Not a palindromic string
Find the enemies
Print Linked List
Find Length of Linked List
Size of Binary Tree
Count Leaves in Binary Tree
Postorder Traversal
Replace all 0's with 5
Preorder Traversal
First Occurence
Search a node in BST
Palindromic Array
Linked List Insertion At End
Minimum element in BST
Anagram of String
Is Linked List Length Even?
Identical Linked Lists
Modular Node
Sum of Binary Tree
Count Non-Leaf Nodes in Tree
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
Print 1 To N Without Loop
Array Search
Sorted Array Search
Left Index
Adding two matrices
Binary String
Sum of Digits of a Number
Power Using Recursion
Fibonacci Using Recursion
Addition Under Modulo
Multiplication Under Modulo
Minimum At Pop
Make pair
Insertion in deque
Deque Traversal
Doubling the value
Value equal to index value
Check for subsequence
Repeated Character
Elements in the Range
Find element at a given Index
Largest Element in Array
Rotate Array by One
Game with nos
One odd Occuring
Min and Max in Array
Find position of set bit
Check if divisible by 5
House Robber
G.F Series
Matching Pair
Modulus of two double numbers
Evaluate the expression
Max Min
Time Travel
Binary Tree to DLL
Pattern Search KMP
Trapping Rain Water
Max Circular Subarray Sum
Pattern Search
Histogram Max Rectangular Area
nCr mod M | Part 1
Optimal binary search tree
Corona Vaccine
Shortest Range In BST
Shortest Unique prefix for every word
Reverse an Array
Search in a 2D Matrix
Arrays (Sum of array)
close
D
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
✕