1 capture
15 Aug 2025
Jul
AUG
Sep
15
2024
2025
2026
success
fail
About this capture
TIMESTAMPS
The Wayback Machine - https://web.archive.org/web/20250815165448/https://www.geeksforgeeks.org/user/muazzamfaraaz/
Tutorials
Courses
Go Premium
Data Structure
Java
Python
HTML
Interview Preparation
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
M
muazzamfaraaz
Current POTD Streak
STREAK
01
/1474
days
Longest streak/Global longest streak
Institution
SRMIST
Language Used
C++, C, Python, Java
Coding Score
1508
Problem Solved
562
Contest Rating
__
Apply for Campus Mantri
430 points
Contributor
430 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
2019
January
February
March
April
May
June
July
August
SCHOOL (0)
BASIC (56)
EASY (213)
MEDIUM (255)
HARD (38)
Reverse a linked list
Pairwise swap elements of a linked list
Delete nodes having greater value on right
Remove duplicates from an unsorted linked list
Delete in a Doubly Linked List
Inorder Traversal
Bubble Sort
Selection Sort
Insertion Sort
Check for BST
Right View of Binary Tree
K distance from root
Mirror Tree
Two Mirror Trees
Maximum Width of 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
Transform to Sum Tree
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
Reverse Level Order Traversal
DFS of Graph
Stack using Linked List
Implement stack using array
Insert a node in a BST
BFS of graph
Identical Trees
Root to leaf path sum
Square Root
Nodes without a Sibling
Insertion at doubly linked list
Lowest Common Ancestor in a BST
Run Length Encoding
Largest subarray of 0's and 1's
Remove Duplicates Sorted Array
Level Order Line by Line
BST Keys in a Range
Print all possible strings
Minimum Depth of a Binary Tree
Remove Duplicates from an array
Odd even level difference
Binary Tree to BST
Unique rows in boolean matrix
Leaves at Same Level or Not
Third largest element
Convert to Roman No
Match specific pattern
Josephus problem
Expression Tree
Generate Grey Code Sequences
Kth largest element in BST
Minimum distance in an Array
Array Duplicates
Max Level Sum in Binary Tree
Special Stack
Three way partitioning
String Modification
Longest consecutive sequence in Binary tree
Inorder Successor in BST
Index of an Extra Element
Intersection of Two Linked Lists
Insert in a Sorted List
Level of a Node in Binary Tree
More than n/k Occurrences
Counting Sort
Full Binary Tree
Symmetric Tree
Count Pairs whose sum is equal to X
Maximum Node Level
Find length of Loop
Median of BST
Queue Reversal
Reverse first K of a Queue
Remove Half Nodes
Height of Spiral Tree
Sum of Left Leaf Nodes
Delete Mid of a Stack
Start Coding - Java
The New Line - Java
Data Types - Java
Taking input - Java
Learn to Comment - Java
Precise Format - Java
Count Odd Even - 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
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
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
Minimum Cost of ropes
N meetings in one room
Count Digits in a Number
Digital Root
Count ways to N'th Stair
Count number of hops
First Repeating Element
Union of Arrays with Duplicates
Check Equal Arrays
Numbers containing 1, 2 and 3
Positive Negative Pair
Two Sum
Missing in Array
First Non Repeating Character
Product array puzzle
Needle in a Haystack
Roman Number to Integer
Compare Version Number
Search an element in sorted and rotated array
Reorder data files
Super Balanced Network
Harry-The Clever Boy
Password Decryption
Pizza Love
Algorithm Experts and Software Developers
Intersection of Arrays with Distinct
Trapping Rain Water
Left View of Binary Tree
Count ways to reach the n'th stair
Trie | (Insert and Search)
Number of Rotations
Sum of M elements after Kth smallest element in BST
Missing And Repeating
ArrayList Operations
ArrayList Iterate Front to Back
Common in 3 Sorted Arrays
Maximum Neighbours In ArrayList
Move All Zeroes to End
Chocolate Distribution Problem
Count the triplets
Punish the Students
Left most and right most index
Smallest subarray with sum greater than x
Sort Array II
Alternate Positive Negative
List of Smaller Elements
Convert array into Zig-Zag fashion
Two Sum - Pair with Given Sum
Sort Unsorted Subarray
Find missing in second array
Longest Common Prefix of Strings
Min Number of Flips
Two sum -Pairs with 0 Sum
Element with left side smaller and right side greater
Number of 1 Bits
Final Destination
Trailing zeroes in factorial
Plus One
Sum of two numbers without using arithmetic operators
Search insert position of K in a sorted array
Maximum number of 2X2 squares
Smaller on Right
Reverse alternate nodes in Link List
Rotate a Linked List
Sort a linked list of 0s, 1s and 2s
Add Number Linked Lists
Rearrange a linked list
Add 1 to a Linked List Number
Linked List in Zig-Zag fashion
Detect Loop in linked list
Insert in Sorted Circular Linked List
Merge Sort
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
Add all greater values to every node in a BST
Sum Tree
Construct Binary Tree from Parent Array
Connect Nodes of Levels
Flattening a Linked List
Diagonal Tree Traversal
Tree Boundary Traversal
Reverse alternate levels of a perfect binary tree
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
Find the number of islands
Find kth element of spiral matrix
Max sum in the configuration
Get Min from Stack
Gas Station
Wildcard Pattern Matching
Linked List to Binary Tree
Generate IP Addresses
Check if subtree
Extreme nodes in alternate order
Kth smallest element in a Matrix
Clone a Binary Tree
Validate an IP Address
Remove loop in Linked List
Dijkstra Algorithm
Minimum Spanning Tree
Largest BST
Interleaved Strings
Sorted subsequence of size 3
Multiply two strings
Minimum Swaps to Sort
Implement Atoi
Palindrome Linked List
Strongly Connected
Print matrix in diagonal pattern
Rat in a Maze Problem - I
Bipartite Graph
Closest in BST
Delete keys in a Linked list
Merge two BST 's
Count distinct elements in every window
Merge k Sorted Arrays
Root to leaf paths sum
Bridge edge in a graph
Print Nodes having K leaves
Find triplets with zero sum
Sort a stack
Top View of Binary Tree
k-th Smallest in BST
Find Common Nodes in two BSTs
Level order traversal
Peak element
Polynomial Addition
Merge Sort for Linked List
Union of Two Linked Lists
Ancestors in Binary Tree
Binary Tree to CDLL
Mountain Subarray Problem
Pair Sum in BST
Root to Leaf Paths
XOR Linked List
Counting elements in two arrays
Linked List that is Sorted Alternatingly
Foldable Binary Tree
Leftmost and rightmost nodes of binary tree
Construct Tree from Inorder & Preorder
Vertical sum
Isomorphic Trees
Maximum path sum from any node
Predecessor and Successor
Leaves to DLL
Children Sum in a Binary Tree
Diagonal sum in binary tree
Construct Tree from Preorder Traversal
Convert Level Order Traversal to BST
ZigZag Tree Traversal
Count Number of SubTrees
Vertical Width of a Binary Tree
Coin Change - Minimum number of coins
Pairwise swap of nodes in Linked List
Swap Kth nodes from ends
Mother Vertex
Rabin Karp - Pattern Searching
Floor in BST
Ceil in BST
Pair Sum in BST
Count set bits
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
Kadane's Algorithm
Majority Element
Binary Array Sorting
Count Inversions
Two Repeated Elements
Smallest Positive missing number
Unique BST's
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
Possible paths between 2 vertices
Boolean Matrix
Spirally traversing a matrix
Search in a sorted Matrix
Rotate by 90 degree
Level of Nodes
Distance of nearest cell having 1
Unit Area of largest region of 1's
Subarray with 0 sum
Subarrays with equal 1s and 0s
Sort Elements by Decreasing Frequency
Longest Consecutive Subsequence
Strings Rotations of Each Other
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
Nearly sorted
Rearrange characters
Activity Selection
Fractional Knapsack
Job Sequencing Problem
Minimum Platforms
Largest number in K swaps
Combination Sum
Unique Subsets
M-Coloring Problem
Minimum Jumps
Stickler Thief
Ways to Reach the n'th Stair
Egg Dropping Puzzle
Optimal Strategy For A Game
Minimum number of jumps
nCr
Longest Increasing Subsequence
Longest Common Subsequence
0 - 1 Knapsack Problem
Lucky Numbers
Equal Sum Partition
Sort according to an Array
Zero Sum Subarrays
Find whether path exist
Kth Smallest
Rotten Oranges
Steps by Knight
Count subsequences of type a^i, b^j, c^k
Longest Substring Without Repeating Characters
Maximize The Cut Segments
Container With Most Water
Print Anagrams Together
Rotate by 90 degree
Convert Integer to English Word
Top K Frequent in Array
K closest point to origin
Maximum Subarray Sum
Closest Three Sum
Word Break
Generate Parentheses
Word Search
Word Boggle
Hard Arrangement
Prerequisite Tasks
4 Sum - All Quadruples
Excel Sheet | Part - 1
Maximum Water Between Two Buildings
Sort 0s, 1s and 2s
Pascal Triangle
Maximize Number of 1's
Minimum Vertical Sum
Single Among Doubles in a Sorted
Pythagorean Triplet
Search in Rotated Sorted Array
Form the Largest Number
Add Binary Strings
Maximum Product Subarray
Longest subarray with sum divisible by K
Max Sum without Adjacents
Factorials of large numbers
Maximum length Bitonic Subarray
Longest Palindrome in a String
Look and Say Pattern
Product Pair
Minimize the Heights II
LinkedList Josephus Circle
Next higher palindromic number using the same set of digits
Permutations of a String
Max Sum Increasing Subsequence
Coin Change (Minimum Coins)
Trail of ones
Power Set
Partition Equal Subset Sum
Array Pair Sum Divisibility Problem
Subset Sums
Number of paths
Choose and Swap
Find nth root of m
Assembly Line
Next Permutation
Stream First Non-repeating
Restrictive Candy Crush
Subset Sum Problem
Gray Code
Subarrays with sum K
Remove K Digits
Division without using multiplication, division and mod operator
Group Anagram
Linked List Group Reverse
Reorder List
Binary Tree to DLL
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
AVL Tree Insertion
Partition array to k subsets
Maximum subset XOR
Smallest range in K lists
Merge Sort on Doubly Linked List
Max Path Sum 2 Special Nodes
Number of Turns in Binary Tree
Pattern Search KMP
String Permutations
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
Solve the Sudoku
Strongly connected component (Tarjans's Algo)
Median of 2 Sorted Arrays of Different Sizes
Merge Without Extra Space
Longest Prefix Suffix
Wildcard string matching
Palindromic Partitioning
Matrix Chain Multiplication
Median in a row-wise sorted Matrix
Longest valid Parentheses
132 Geeky Buildings
Maximum XOR subarray
Fraction To Recurring Decimal
Find Length of Linked List
Postorder Traversal
Queue using Linked List
Queue Using Array
Replace all 0's with 5
Preorder Traversal
First Occurence
Sum Except First and Last
Search a node in BST
Linked List Insertion At End
Minimum element in BST
Anagram of String
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
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
Reverse a String
Keypad typing
Binary Array Sorting
ArrayList insertion
LinkedList Insertion
LinkedList Traversal
Last index of One
Rotate Array by One
Array Subset
No Parameter Lambda Expression
One Parameter Lambda Expression
Multi Parameters Lambda Expression
Java Streams Sum
Java Streams Max
Java Streams Average
Java Streams Filter
Binary number to decimal number
Middle of Three
close
M
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 !
✕