2 captures
23 Oct 2025 - 23 Jul 2026
Sep
OCT
Nov
23
2024
2025
2026
success
fail
About this capture
TIMESTAMPS
The Wayback Machine - https://web.archive.org/web/20251023205547/https://www.geeksforgeeks.org/user/riyarjha/
Data Structure
Java
Python
HTML
Interview Preparation
Tutorials
Courses
Tracks
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
riyarjha
star
star
star
Current POTD Streak
STREAK
119
/1544
days
Longest streak/Global longest streak
Institution
ABES Engineering College Ghaziabad
24 Rank
Institute Rank
Language Used
Java, C++, Python, C
Coding Score
2176
Problem Solved
608
Contest Rating
1673
Campus Mantri
campun7as
358 points
Contributor
358 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
404 submissions in current year
Current
2024
2023
2022
January
February
March
April
May
June
July
August
September
October
SCHOOL (0)
BASIC (34)
EASY (176)
MEDIUM (330)
HARD (68)
Reverse a linked list
Occurence of an integer in a Linked List
Split a Linked List into two halves
Inorder Traversal
Reverse a Doubly Linked List
Bubble Sort
Selection Sort
Insertion Sort
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
Postorder Traversal
Level Order in spiral form
Reverse Level Order Traversal
DFS of Graph
BFS of graph
Nodes without a Sibling
Lowest Common Ancestor in a BST
Binary Search
Largest subarray of 0's and 1's
Remove duplicates in array
Remove every kth node
Leaves at Same Level or Not
Multiply two linked lists
Max distance between same elements
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
Count More than n/k Occurences
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
Queue Reversal
Reverse First K elements of Queue
Closest Neighbour in BST
Brothers From Different Roots
Swap the array elements
Xoring and Clearing
Reverse an Array
Rightmost different bit
K-th Bit is Set or Not
Factorial Of Number
Digits In Factorial
GP Term
Primality Test
Exactly 3 Divisors
Modular Multiplicative Inverse
Power of 2
Frequencies of Limited Range Array Elements
Equilibrium Point
Array Leaders
Roof Top
Rotate by 90 degree
Anagram
Winner of an election
Strings Rotations of Each Other
Reverse Words
Panagram Checking
Non Repeating Character
Parenthesis Checker
Generate Binary Numbers
Minimum Cost of ropes
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
Missing in Array
Product array puzzle
Roman Number to Integer
Sort 0s, 1s and 2s
Count the elements
Find the closest number
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
Kth distance
Palindrome Sentence
Remove Duplicates
Nearest multiple of 10
Reorganize The Array
Facing the sun
Second Largest
Two Sum - Pair with Given Sum
Number of occurrence
Does array represent Heap
Modify the Array
Sum Pair closest to target
Find missing in second array
Longest Common Prefix of Strings
Longest substring with distinct characters
Substrings with same first and last characters
Play With OR
Tywin's War Strategy
At Least K Occurrences
Total count
Pair with given sum in a sorted array
Odd Even Problem
Largest number in one swap
Minimum Operations
Divisibility by 8
Number of 1 Bits
Find the Highest number
Reverse Bits
Max Sum Subarray of size K
Nth Fibonacci Number
Swap two nibbles in a byte
Maximum Sum Problem
Maximum Product Cutting
Party of Couples
Shortest path from 1 to n
Sieve of Eratosthenes
Assign Mice Holes
Reach the Nth point
Find all factorial numbers less than or equal to n
Adjacents are not allowed
Recamans sequence
Recursive sequence
Juggler Sequence
Row with minimum number of 1's
Inorder Traversal and BST
Help the Old Man!!!
Sum of dependencies in a graph
Check if a String is Subsequence of Other
Smallest window containing 0, 1 and 2
Insert an Element at the Bottom of a Stack
Sort a k sorted doubly linked list
Print N to 1 without loop
Print GFG n times
Fibonacci series up to Nth term
Find XOR of numbers from L to R.
Stock Buy and Sell – Max one Transaction Allowed
Divisor Game
Bit Manipulation
Find the first node of loop in linked list
Reach Alice
Bob's Game
Two Smallests in Every Subarray
Largest Pair Sum
Geekland Tax Calculator
Max Splits
Distribute Balls
Two Swaps
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 All Triplets with Zero Sum
Fizz Buzz
Search in a row-wise sorted matrix
Find Only Repetitive Element from 1 to n-1
Unique Number I
Sorting Elements of an Array by Frequency
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
Quick Sort on Linked List
Insert in Sorted Circular Linked List
Merge Sort
Quick Sort
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
Tree Boundary Traversal
Directed Graph Cycle
Undirected Graph Cycle
Max sum path in two arrays
The Celebrity Problem
Largest subarray with 0 sum
Topological sort
Merge K sorted linked lists
Find the number of islands
Get Min from Stack
Serialize and deserialize a binary tree
Gas Station
Kth element in Matrix
Is Binary Tree Heap
Remove loop in Linked List
Dijkstra Algorithm
Minimum Spanning Tree
Additive sequence
Multiply two strings
Implement Atoi
Palindrome Linked List
Print matrix in diagonal pattern
Rat in a Maze
BST with Dead End
Merge two BST 's
Root to leaf paths sum
Bridge edge in a graph
Sort a stack
Top View of Binary Tree
k-th Smallest in BST
Merge Sort for Linked List
Euler Circuit in an Undirected Graph
Euler circuit and Path
Pair Sum in BST
Root to Leaf Paths
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
Count the nodes at distance K from leaf
Vertical sum
Maximum path sum
Predecessor and Successor
Children Sum in a Binary Tree
Diagonal sum in binary tree
Deletion and Reverse in Circular Linked List
Median of BST
Sum of nodes on the longest path
ZigZag Tree Traversal
Swap Kth nodes from ends
Maximum Non-Adjacent Nodes Sum
Gray to Binary equivalent
Tower Of Hanoi
Smallest Positive Missing
Possible Words From Phone Digits
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
Sort by Absolute Difference
Triplet Sum in Array
Make Matrix Beautiful
Spirally traversing a matrix
Search in a sorted Matrix
Determinant of a Matrix
Subarray with 0 sum
Subarray range with given sum
Longest Consecutive Subsequence
Case-specific Sorting of Strings
Postfix Evaluation
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
M-Coloring Problem
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
Implement Trie
Rotten Oranges
Maximize The Cut Segments
Container With Most Water
Print Anagrams Together
Rotate by 90 degree
Top K Frequent in Array
Word Break
Word Search
Paths to reach origin
Missing And Repeating
Pascal Triangle
Number of subarrays with maximum values in given range
Sum of Subarrays
Top k numbers in a stream
Longest Span in two Binary Arrays
Maximize Number of 1's
Consecutive 1's not allowed
Pythagorean Triplet
Painting the Fence
Search in Rotated Sorted Array
Sum of bit differences
Max Score from Subarray Mins
Largest Number formed from an Array
Add Binary Strings
Maximum Product Subarray
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
Row with max 1s
Check if frequencies can be equal
Substrings with K Distinct
Palindrome SubStrings
Longest Subarray with Sum K
Max Sum without Adjacents
Search Pattern (KMP-Algorithm)
Find the N-th character
k largest elements
Smallest distinct window
Longest Substring with K Uniques
Longest Palindrome in a String
Look and Say Pattern
K-th element of two Arrays
Rod Cutting
K closest elements
Missing element of AP
LCS of three strings
Longest Palindromic Subsequence
Largest Sum Subarray of Size at least K
Equalize the Towers
Minimum sum
Not a subset sum
Minimize the Heights II
Transform to prime
Minimum Deletions
Print N-bit binary numbers having more 1s than 0s
Nine Divisors
Shop in Candy Store
Permutations of a String
Sum of Products
Unique Number II
Modular Exponentiation for large numbers
Game of XOR
Modified Game of Nim
Minimum number of deletions and insertions.
Maximize dot product
Minimum cost to fill given weight in a bag
Coin Change (Count Ways)
Sequence of Sequence
String Subsequence
Gold Mine Problem
Coin Change (Minimum Coins)
Dice throw
Perfect Sum Problem
Trail of ones
K-Palindrome
Longest subsequence-1
Power Set
Count ways to N'th Stair(Order does not matter)
Minimum Cost To Make Two Strings Identical
nCr
Geek and its Game of Coins
Minimum steps to destination
Partition Equal Subset Sum
Count possible ways to construct buildings
Count digit groupings of a number
Array Pair Sum Divisibility Problem
Subset Sums
Number of paths
Nth Natural Number
LCM Triplet
Game with String
Smith Number
Next Permutation
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
Print leaf nodes from preorder traversal of BST
Two numbers with odd occurrences
Rohan's Love for Matrix
Count the paths
Floyd Warshall
Flood fill Algorithm
Techfest and the Queue
Largest subsquare surrounded by X
Police and Thieves
Subset Sum Problem
Search Pattern (Rabin-Karp Algorithm)
Find all possible palindromic partitions of a String
Bellman-Ford
Subarrays with sum K
Remove BST keys outside given range
Coin Piles
Remove K Digits
Maximum XOR of two numbers in an array
Construct list using given q XOR queries
Find duplicate rows in a binary matrix
BST to greater sum tree
Find rectangle with corners as 1
Paths from root with a specified sum
Shortest Prime Path
Insertion Sort for Singly Linked List
Minimize the Heights I
Anti Diagonal Traversal of Matrix
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
Reverse a Stack
K-th Largest Sum Contiguous Subarray
Maximum Meetings in One Room
Buy Maximum Stocks if i stocks can be bought on i-th day
Exactly one swap
Find shortest safe route in a matrix
Minimum Cost to cut a board into squares
Graph is Tree or Not
City With the Smallest Number of Neighbors at a Threshold Distance
Path With Minimum Effort
Majority Element II
Koko Eating Bananas
Longest subarray with Atmost two distinct integers
Sum of subarray minimum
Frog Jump
Minimal Cost
Aggressive Cows
Smallest Divisor
Combination Sum II
Minimum days to make M bouquets
Generate all binary strings
Minimum Absolute Difference In BST
Maximum Sum Combination
Non-overlapping Intervals
Stickler Thief II
Insert Interval
Shortest Job first
Longest String Chain
Print Longest Increasing Subsequence
Partitions with Given Difference
Largest Divisible Subset
Make array elements unique
Next Greater Element in Circular Array
Find the longest string
Minimum repeat to make substring
Prime List
Water the plants
Unique Paths in a Grid
Number of Good Components
Remove the balls
Powerful Integer
New Year Resolution
Grinding Geek
Flatten BST to sorted list
Minimize the Difference
Pairs violating the BST property
Strong Indices
Kth Missing Positive Number in a Sorted Array
Count Subarrays with given XOR
Set Matrix Zeros
Minimum cost to connect all houses in a city
Meeting Rooms
Split array in three equal sum subarrays
Last Moment Before All Ants Fall Out
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
Balancing Consonants and Vowels Ratio
Implement Pow
K Closest Points to Origin
Total Ways of Maximum OR
Longest Bounded-Difference Subarray
The Knight's tour problem
Divisible by 13
Lexicographically Largest String After K Deletions
Group Balls by Sequence
Count Unique Vowel Strings
Count Numbers Containing Specific Digits
ASCII Range Sum
Difference Array
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
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
Count Linked List Nodes
Postorder Traversal
Preorder Traversal
Peak element
Minimum element in BST
Is Linked List Length Even?
Triplet Family
Sum of Binary Tree
Array insert at end
Absolute Value
Convert Celsius To Fahrenheit
Quadratic Equation Roots
Print 1 To N Without Loop
Sorted Array Search
Addition Under Modulo
Multiplication Under Modulo
Reverse a String
Union of two arrays
Alternative Sorting
Fighting the darkness
Merge two strings
Largest Element in Array
Ishaan Loves Chocolates
Multiply left and right array sum
Odd or Even
Set kth bit
Set the rightmost unset bit
Sum of first n terms
Ways To Tile A Floor
Swap two numbers
Repetitive Addition Of Digits
Geekland Elections
Maximize Expression
Disk Placement
Linked List Group Reverse
Binary Tree to DLL
Clone List with Next and Random
Min distance between two given nodes of a Binary Tree
Max rectangle
Subtraction in Linked List
Distinct occurrences
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 containing all characters
Histogram Max Rectangular Area
Max of min 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
Palindrome SubStrings
Longest Prefix Suffix
Wildcard string matching
Circle of strings
Longest repeating and non-overlapping substring
Sum-string
Print all LCS sequences
Sub-arrays with equal number of occurences
Edit Distance
Minimum Points To Reach Destination
Minimum sum partition
Stock Buy and Sell – Max K Transactions Allowed
Matrix Chain Multiplication
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
Articulation Point - II
Maximum sum Rectangle
Find all Critical Connections in the Graph
Distribute Candies
Split Array Largest Sum
Kth Smallest Number in Multiplication Table
Stock Buy and Sell – Max 2 Transactions Allowed
Min Chars to Add for Palindrome
Largest rectangular sub-matrix whose sum is 0
Vertex Cover
Expression Add Operators
Count Reverse Pairs
Candy
Account Merge
Max min Height
Geekina Hate 1s
Meeting Rooms III
Minimum K Consecutive Bit Flips
Minimum Weight Cycle
Longest Periodic Proper Prefix
Maximum Non-Overlapping Odd Palindrome Sum
Maximum subarray sum 2
Sum of Mode
Number of BST From Array
close
R
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
✕