2 captures
31 Jul 2025 - 31 Jul 2025
Jun
JUL
Aug
31
2024
2025
2026
success
fail
About this capture
TIMESTAMPS
The Wayback Machine - https://web.archive.org/web/20250731195856/https://www.geeksforgeeks.org/user/shivamraj74/
Tutorials
Courses
Go Premium
Data Structure
Java
Python
HTML
Interview Preparation
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
shivamraj74
Current POTD Streak
STREAK
87
/1459
days
Longest streak/Global longest streak
Institution
Birla Institute of Technology, Mesra (BIT Mesra)
53 Rank
Institute Rank
Language Used
C++, Python, C, Java
Coding Score
1551
Problem Solved
539
Contest Rating
__
Campus Mantri
shashikumahiar
1316 points
Contributor
1316 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
15 submissions in current year
Current
2024
2023
2022
2021
2020
2019
January
February
March
April
May
June
July
SCHOOL (1)
BASIC (41)
EASY (171)
MEDIUM (284)
HARD (42)
Sorting Elements of an Array by Frequency
Rearrange characters
Nearly Sorted Algorithm
Rotate a Linked List
Sort a linked list of 0s, 1s and 2s
Add Number Linked Lists
Add 1 to a Linked List Number
Detect Loop in linked list
Quick Sort on Linked List
Merge Sort
Quick Sort
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
Add all greater values to every node in a BST
Sum Tree
Flattening a Linked List
Tree Boundary Traversal
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
Max sum path in two arrays
The Celebrity Problem
Largest subarray with 0 sum
Topological sort
Vertical Tree Traversal
Merge K sorted linked lists
Max sum in the configuration
Get Min from Stack
Gas Station
Generate IP Addresses
Check if subtree
Kth smallest element in a Matrix
Is Binary Tree Heap
Validate an IP Address
Remove loop in Linked List
Dijkstra Algorithm
Minimum Spanning Tree
Largest BST
Interleaved Strings
Sorted subsequence of size 3
Minimum Swaps to Sort
Implement Atoi
Palindrome Linked List
Strongly Connected
Rat in a Maze Problem - I
Bipartite Graph
Count distinct elements in every window
Bridge edge in a graph
Find triplets with zero sum
Sort a stack
Top View of Binary Tree
Peak element
Mountain Subarray Problem
Pair Sum in BST
Counting elements in two arrays
Leftmost and rightmost nodes of binary tree
Construct Tree from Inorder & Preorder
Isomorphic Trees
Predecessor and Successor
Sum of nodes on the longest path
ZigZag Tree Traversal
Count Number of SubTrees having given Sum
C++ Generic sort
Maximum sum of Non-adjacent nodes
Count set bits
Tower Of Hanoi
Wave Array
Rearrange Array Alternately
Rearrange an array with O(1) extra space
Maximum Index
Stock buy and sell
Rotate Array
Kadane's Algorithm
Majority Element
Binary Array Sorting
Count Inversions
Union of 2 Sorted Arrays
Indexes of Subarray Sum
Count the number of possible triangles
Triplet Sum in Array
Merge Without Extra Space
Possible paths between 2 vertices
Boolean Matrix
Spirally traversing a matrix
Search in a sorted Matrix
Subarrays with equal 1s and 0s
Longest Consecutive Subsequence
Postfix Evaluation
Stock span problem
Next Greater Element
Infix to Postfix
K Sized Subarray Maximum
Kth smallest element
Nearly sorted
Activity Selection
Fractional Knapsack
Job Sequencing Problem
Minimum Platforms
Combination Sum
Minimum Jumps
Stickler Thief
Ways to Reach the n'th Stair
Egg Dropping Puzzle
Minimum number of jumps
Longest Increasing Subsequence
Longest Common Subsequence
0 - 1 Knapsack Problem
Lucky Numbers
Number of Unique Paths
Allocate Minimum Pages
Zero Sum Subarrays
Kth Smallest
Implement Trie
Nth number made of prime digits
Nth Catalan Number
Rotten Oranges
Steps by Knight
Count subsequences of type a^i, b^j, c^k
Container With Most Water
Print Anagrams Together
Rotate by 90 degree
Convert Integer to English Word
Top K Frequent in Array
Maximum Subarray Sum
Closest Three Sum
Prerequisite Tasks
Sort 0s, 1s and 2s
Pascal Triangle
Maximum Index
Large Factorial
Maximize Number of 1's
Sum of Middle elements of two sorted arrays
Count Occurences of Anagrams
Single Among Doubles
Pythagorean Triplet
Smallest number with at least n trailing zeroes in factorial
Form the Largest Number
Maximum Product Subarray
Longest subarray with sum divisible by K
Row with max 1s
Swapping pairs make sum equal
Concatenation of Zig-Zag String in n Rows
Nuts and Bolts Problem
Longest Subarray with Sum K
Transform String
Count the Reversals
Number of positive integral solutions
Factorials of large numbers
Maximum length Bitonic Subarray
Reverse each word in a given string
Length of the longest substring
Remove leading zeros from an IP address
Magnet Array Problem
Smallest distinct window
Longest substring with distinct characters
Longest Substring with K Uniques
Look and Say Pattern
Integer to Words
K-th element of two Arrays
String formation from substring
Triplets with Smaller Sum
LCS of three strings
First negative in every window of size k
Maximum difference of zeros and ones in binary string
Minimum sum
Minimize the Heights II
First and Last Occurrences
Next higher palindromic number using the same set of digits
Maximum Product of Increasing Subsequence of Size 3
Valid Substring
Permutations of a String
Number following a pattern
Previous number in one swap
Friends Pairing Problem
Subarrays Product Less than K
Unique Number II
Coin Change (Count Ways)
Sequence of Sequence
Coin Change (Minimum Coins)
Kth Smallest Factor
Power Set
nCr
Number of ways
Count of sum of consecutives
Subsets with XOR value
Maximum path sum in matrix
XOR Game
Handshakes
Count possible ways to construct buildings
Count digit groupings of a number
Array Pair Sum Divisibility Problem
Money Distributions
Killing Spree
Subset Sums
N Digit numbers with digits in increasing order
Fill the Tank
Number of paths
Nth Natural Number
Permutation with Spaces
Choose and Swap
Return two prime numbers
Find nth root of m
Sum of Query II
Find Prime numbers in a range
Reduce N to 1
Game with String
Dudeney's Cow Problem
A prime longest Increasing Subsequences
Next Permutation
Mics & Jury
String rp or pr
Boolean Matrix
Finding Profession
Total Decoding Messages
Stream First Non-repeating
Possible paths
Segregate even and odd nodes in a Linked List
Valid Pair Sum
Tricky Subset Problem
Rat Maze With Multiple Jumps
Kth Largest in a Stream
Eulerian Path in an Undirected Graph
nCr mod M | Part 2
Nodes at even distance
Help a Thief!!!
Flood fill Algorithm
Form coils in a matrix
Shortest Path between Cities
Recursively Remove Adjacent Duplicates
Number of minimum picks to get 'k' pairs of socks from a drawer
Spiral Matrix
Valid Pair Sum
Dam of Candies
Repeated String Match
Ruling Pair
Triplets in Sorted Linked List
Help Classmates
Restricted Pacman
Valentine Sum
Lucy's Neighbours
Project Manager
Jump Game
Max Diff Elements and Indexes
Iterative Inorder
Triplets with sum with given range
Preorder traversal (Iterative)
Iterative Postorder
Search Pattern (Z-algorithm)
Gray Code
Subarrays with sum K
Partition a Linked List around a given value
Minimum XOR value pair
Capacity To Ship Packages Within D Days
Sort a 2D vector diagonally
Remove K Digits
Clone a stack without using extra space
Count pairs in array divisible by K
Maximum GCD of siblings of a binary tree
Hotel Booking
Division without using multiplication, division and mod operator
Minimize the Heights I
Longest Bitonic subsequence
All Unique Permutations of an array
Course Schedule
Find and Replace in String
Maximum Value
Min Cost Climbing Stairs
Overlapping Intervals
Bitwise AND of the Array
Longest Possible Route in a Matrix with Hurdles
Farthest number
Robots
Concatenate Equal to Target
Special Keyboard 2
Maximum selections
LCP
Reverse a linked list
Pairwise swap elements of a linked list
Inorder Traversal
Bubble Sort
Selection Sort
Insertion Sort
Check for BST
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
Find Transition Point
Remove Duplicates from a Sorted Linked List
Stack using two queues
Level Order in spiral form
DFS of Graph
Stack using Linked List
BFS of graph
Identical Trees
Square Root
Lowest Common Ancestor in a BST
Binary Search
Run Length Encoding
Largest subarray of 0's and 1's
Remove Duplicates Sorted Array
BST Keys in a Range
Minimum Depth of a Binary Tree
Remove Duplicates from an array
Third largest element
Convert to Roman No
Match specific pattern
Josephus problem
Count Occurrence of digit k
Kth largest element in BST
Minimum distance in an Array
Array Duplicates
Special Stack
Inorder Successor in BST
Index of an Extra Element
More than n/k Occurrences
Counting Sort
Full Binary Tree
Symmetric Tree
Find length of Loop
Find n/k th node in Linked list
Queue Reversal
Reverse first K of a Queue
Move all zeros to the front of the linked list
Max and Second Max
First Set Bit
Rightmost different bit
Check K-th Bit
Longest Consecutive 1's
Power of 2
Swap odd and even bits
Frequencies in a Limited Array
Equilibrium Point
Array Leaders
Floor in a Sorted Array
Minimum Number in a sorted rotated array
Closet 0s 1s and 2s
Print adjacency list
Anagram
Winner of an election
String Rotated by 2 Places
Reverse Words
Minimum indexed character
Parenthesis Checker
K largest elements
Minimum Cost of ropes
N meetings in one room
Largest number with given sum
Reach a given score
Union-Find
Count number of hops
Positive Negative Pair
Find Immediate Smaller Than X
Two Sum
Missing in Array
First Non Repeating Character
Product array puzzle
Roman Number to Integer
Reverse The Array
Search an element in sorted and rotated array
Intersection of Arrays with Distinct
Trapping Rain Water
Left View of Binary Tree
Max Value Permutation
Missing And Repeating
Sort by Set Bit Count
k sorted array
Maximize sum after K negations
Pairs with certain difference
Common in 3 Sorted Arrays
Sum of elements between k1'th and k2'th smallest elements
Move All Zeroes to End
Minimize the sum of product
Chocolate Distribution Problem
Count the triplets
Bitonic Point
Left most and right most index
Smallest subarray with sum greater than x
Alternate Positive Negative
Remove Duplicates
Convert array into Zig-Zag fashion
Two Sum - Pair with Given Sum
Rearrange to Make arr[i] = i
Sort Unsorted Subarray
Find all pairs with a given sum
Longest common prefix
Find missing in second array
Longest Common Prefix of Strings
First Repeated Character
Counts Zeros Xor Pairs
Two sum -Pairs with 0 Sum
Element with left side smaller and right side greater
Maximum sum of increasing order elements from n arrays
Count the Zeros
Merge two binary Max heaps
Four Elements
Palindrome String
Maximum average subarray
Shop in Candy Store
Encrypt the string - 2
Minimum Operations
Adding Array Elements
Number of 1 Bits
Reverse Bits
Max Sum Subarray of size K
Nth Fibonacci Number
Change Bits
Sum Of Digits
Maximum Sum Problem
Party of Couples
Swap bits
Minimum number of Coins
Right most non zero digit
Maximize Toys
Largest number possible
Final Destination
Trailing zeroes in factorial
Smallest number by rearranging digits of a given number
Circular Prime Number
Maximum Diamonds
Rearrange the Digits
Make Zeroes
Farthest number
Minimum distinct numbers
Game of digits
Minimise the maximum difference
Rearrange Geek and his Classmates
Bit Difference
Repeated String Match
Overlapping rectangles
Help the Old Man!!!
Array to BST
Fraction Trouble
Gadgets of Doraland
Plus One
Reverse Bits
Sum of two numbers without using arithmetic operators
Minimum steps to make product equal to one
Even and Odd
Search insert position of K in a sorted array
Binary Search in forest
Maximum number of 2X2 squares
Smallest window containing 0, 1 and 2
Silver and Gold
Linked List Group Reverse
Binary Tree to DLL
Clone List with Next and Random
Max rectangle
Alien Dictionary
Smallest range in K lists
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
Median of 2 Sorted Arrays of Different Sizes
Merge Without Extra Space
Ugly Numbers
Search Pattern (KMP-Algorithm)
Largest rectangle of 1s with swapping of columns allowed
Edit Distance
Stock Buy and Sell – Max K Transactions Allowed
Check Tree Traversal
Median in a row-wise sorted Matrix
Number of Words with k maximum distinct vowels
Longest valid Parentheses
N-Queen Problem
Geek collects the balls
Longest Path in a matrix
Huffman Encoding
Water Connection Problem
Smallest Positive Integer that can not be represented as Sum
Shortest Range In BST
Elixir of Life
Number of subsets with product less than k
Minimum operations to convert array A to B
Sorted Linked List to BST
Palindrome Pairs
Array Partition
Distribution of Candies
Reverse a sublist of a linked list
Word Ladder II
Convert into simple matrix using only Prime Operations
Count the number of subarrays
Rotate Array
Count Leaves in Binary Tree
Implement stack using array
Queue using Linked List
Queue Using Array
Replace all 0's with 5
First Occurence
Sum Except First and Last
Play with an array
Anagram of String
Bit Difference
Number is sparse or not
Binary String
Reverse a String
Binary Array Sorting
C++ Hello World
Balanced Array
Value equal to index value
Immediate Smaller Element
Find element at a given Index
Last index of One
Rotate Array by One
Ishaan Loves Chocolates
Array Subset
Min and Max in Array
Print first letter of every word in the string
Find unique element
Addition of Two Numbers
C++ Input / Output
1s Complement
Find position of set bit
Set kth bit
Java Hello World
LCM And GCD
House Robber
Message Spreading
Binary number to decimal number
Remainder Evaluation
Find the position of M-th item
Sorted matrix
Preorder Traversal
Search in a 2D Matrix
close
S
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 !
✕