Data Structure
Java
Python
HTML
Interview Preparation
Tutorials
Courses
Tracks
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
A
ajaymakvana
Current POTD Streak
STREAK
48
/1542
days
Longest streak/Global longest streak
Institution
Sardar Vallabhbhai National Institute of Technology (SVNIT) Surat
4 Rank
Institute Rank
Language Used
C++, Python, Java, C
Coding Score
2257
Problem Solved
847
Contest Rating
__
Apply for Campus Mantri
341 points
Contributor
341 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
42 submissions in current year
Current
2024
2023
2022
2021
2020
January
February
March
April
May
June
July
August
September
October
SCHOOL (3)
BASIC (150)
EASY (275)
MEDIUM (369)
HARD (50)
Rearrange characters
Minimum Moves
Yet Another Minimization Problem
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
Merge 2 sorted linked list in reverse order
Detect Loop in linked list
Count BST nodes that lie in a given range
Check for BST
Merge Sort
Bottom View of Binary Tree
Intersection in Y Shaped Lists
Diameter of a Binary Tree
Merge two sorted linked lists
Add all greater values to every node in a BST
Sum Tree
Flattening a Linked List
Stack using Queue
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
Lowest Common Ancestor in a BST
Two Stacks in an Array
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
Get Min from Stack
Gas Station
Check if subtree
Kth smallest element in a Matrix
Is Binary Tree Heap
Remove loop in Linked List
Dijkstra Algorithm
Minimum Spanning Tree
Interleaved Strings
Count Palindromic Subsequences
Implement Atoi
Palindrome Linked List
Strongly Connected
Rat in a Maze
Bipartite Graph
Merge two BST 's
Count distinct elements in every window
Merge k Sorted Arrays
Root to leaf paths sum
Find triplets with zero sum
Sort a stack
Duplicate Subtree
Top View of Binary Tree
Find Common Nodes in two BSTs
Level order traversal
Peak element
Polynomial Addition
Delete nodes greater than k
Merge Sort for Linked List
Union of Two Linked Lists
Counting elements in two arrays
Foldable Binary Tree
Arrange Consonants and Vowels
Maximum path sum
Predecessor and Successor
Leaves to DLL
Find length of Loop
Median of BST
Construct Tree from Preorder Traversal
Sum of nodes on the longest path
Kth Ancestor in a Tree
Count Number of SubTrees
Ceil in BST
Count set bits
Tower Of Hanoi
Reverse array in groups
Smallest Positive Missing
Power Of Numbers
Wave Array
Possible Words From Phone Digits
Stock buy and sell
Rotate Array
Kadane's Algorithm
Majority Element
Binary Array Sorting
Count Inversions
Indexes of Subarray Sum
Count the number of possible triangles
Triplet Sum in Array
Merge Without Extra Space
Possible paths between 2 vertices
Level of Nodes
Boolean Matrix
Spirally traversing a matrix
Search in a sorted Matrix
Determinant of a Matrix
Unit Area of largest region of 1's
Subarray with 0 sum
Subarrays with equal 1s and 0s
Longest Consecutive Subsequence
Strings Rotations of Each Other
Case-specific Sorting of Strings
Postfix Evaluation
Stock span problem
Next Greater Element
Infix to Postfix
K Sized Subarray Maximum
Minimum Cost of ropes
Activity Selection
Fractional Knapsack
Job Sequencing Problem
Minimum Platforms
Target Sum Combinations
Unique Subsets
M-Coloring Problem
Minimum Jumps
Stickler Thief
Ways to Reach the n'th Stair
Egg Dropping Puzzle
Sum of all substrings of a number
Longest Increasing Subsequence
Longest Common Subsequence
0 - 1 Knapsack Problem
Number of Unique Paths
Allocate Minimum Pages
Preorder to BST
X Total Shapes
Find whether path exist
Kth Smallest
Shortest Common Supersequence
Nth Catalan Number
Rotten Oranges
Steps by Knight
Maximize The Cut Segments
Rotate by 90 degree
Top K Frequent in Array
Stock Buy and Sell – Multiple Transaction Allowed
Generate Parentheses
Word Search
Prerequisite Tasks
4 Sum - All Quadruples
Excel Sheet | Part - 1
Sort 0s, 1s and 2s
Pascal Triangle
Number of subarrays with maximum values in given range
Equal Sum
Large Factorial
Maximize Number of 1's
Sum of Middle elements of two sorted arrays
Consecutive 1's not allowed
Count Occurences of Anagrams
Single Among Doubles
Pythagorean Triplet
Painting the Fence
Pair Sum Closest to 0
Super Primes
Maximum Product Subarray
Longest subarray with sum divisible by K
Row with max 1s
Column name from a given column number
Concatenation of Zig-Zag String in n Rows
Form a palindrome
Nuts and Bolts Problem
Rotate a Matrix
Longest Subarray with Sum K
Next Smaller Element
Transform String
Count the Reversals
Sum of two large numbers
Max Sum without Adjacents
Factorials of large numbers
Reverse each word in a given string
Length of the longest substring
Remove leading zeros from an IP address
k largest elements
Longest Common Substring
Smallest distinct window
Longest Substring with K Uniques
Longest Palindrome in a String
Integer to Words
K-th element of two Arrays
Possible groups
Triplets with Smaller Sum
Rod Cutting
Minimum swaps and K together
LCS of three strings
Longest Palindromic Subsequence
First negative in every window of size k
Maximum difference of zeros and ones in binary string
Number of palindromic strings
Minimum sum
Minimize the Heights II
Transform to prime
First and Last Occurrences
Reaching the heights
Palindrome in Alphanumeric String
Minimum Deletions
Valid Substring
Minimum number of deletions
Permutations of a String
CamelCase Pattern Matching
Subarrays Product Less than K
Unique Number II
Game of XOR
Largest prime factor
Modified Game of Nim
Minimum number of deletions and insertions
Max Sum Increasing Subsequence
Coin Change (Count Ways)
Sieve of Eratosthenes
Gold Mine Problem
Coin Change (Minimum Coins)
Dice throw
Perfect Sum Problem
Power Of 2 and Subsequences
Kth Smallest Factor
K-Palindrome
Power Set
Knapsack with Duplicate Items
nCr
Count of sum of consecutives
Subsets with XOR value
Maximum path sum in matrix
Partition Equal Subset Sum
XOR Game
Longest Bitonic subsequence
Min Coin
Count possible ways to construct buildings
Array Pair Sum Divisibility Problem
Money Distributions
Find Last Digit Of a^b for Large Numbers
Matchsticks game
Killing Spree
Subset Sums
N Digit numbers with digits in increasing order
Yes XOR No
Number of paths
Knight Walk
Permutation with Spaces
Choose and Swap
Return two prime numbers
Find nth root of m
Sum of Query II
Fact Digit Sum
Find Prime numbers in a range
Fraction to Repeating Decimal
Dudeney's Cow Problem
Rank The Permutations
Smaller on Left
Filling Bucket
How Many X's?
Longest Repeating Subsequence
Composite and Prime
Is Sudoku Valid
Stream First Non-repeating
Villain Con
Possible paths
Segregate even and odd nodes in a Linked List
Kth Largest in a Stream
Product of Primes
Transitive closure of a Graph
Find all distinct subset (or subsequence) sums
Queries on Strings
Special Matrix
Number of Palindromic paths in a Matrix
Help a Thief!!!
Count the paths
Floyd Warshall
Negative weight cycle
Flood fill Algorithm
Array to BST
Form coils in a matrix
Techfest and the Queue
Shortest Source to Destination Path
Base Equivalence
Shortest Path between Cities
Height Using Parent Array
Geek and Number String
Number of minimum picks to get 'k' pairs of socks from a drawer
Spiral Matrix
Coins of Geekland
Valid Pair Sum
Dam of Candies
Transfiguration
Repeated String Match
Ruling Pair
Triplets in Sorted Linked List
Restrictive Candy Crush
Help Classmates
Restricted Pacman
Lucy's Neighbours
Spidey Sense
Project Manager
Escape the Forbidden Forest
Jump Game
Max Diff Elements and Indexes
Iterative Inorder
Triplets with sum with given range
Iterative Postorder
Subset Sum Problem
Longest Palindromic Substring
Form a palindrome
All Palindromic Partitions
Bellman-Ford
Capacity To Ship Packages Within D Days
Sort a 2D vector diagonally
Rearrange characters
Distribute N candies among K people
Count pairs in array divisible by K
Number of Provinces
Prefix match with other strings
Maximum sum leaf to root path
Find duplicate rows in a binary matrix
Maximum GCD of siblings of a binary tree
BST to greater sum tree
Find rectangle with corners as 1
Cousins of a given node
Division without using multiplication, division and mod operator
Sort for Singly Linked List
Minimize the Heights I
Subsets
Flatten binary tree to linked list
Rank The Permutations
Anti Diagonal Traversal of Matrix
IPL 2021 - Match Day 2
Compute Before Matrix
Unique Number III
All Unique Permutations of an array
Course Schedule
Min Cost Climbing Stairs
Overlapping Intervals
Bitwise AND of the Array
Longest Possible Route in a Matrix with Hurdles
Reverse a Stack
Robots
Hit most Balloons
Maximum Meetings in One Room
Enemy
Buy Maximum Stocks
Exactly one swap
Maximum Winning score
Compute Before Matrix
Levels Of Game
Validate Stack Operations
Special Keyboard 2
Maximum selections
Next element with greater frequency
Calculate the average Waiting Time and Turnaround Time using Shortest Job First
Number of Distinct Islands
Number Of Enclaves
Eventual Safe States
Shortest path in Directed Acyclic Graph
Geek's Training
Task Scheduler
Number of Longest Increasing Subsequence
Print Longest Increasing Subsequence
Floor in BST
Max Sum without Adjacents
Count beautiful strings
Fraction pairs with sum 1
New Year Resolution
Count Subarrays with given XOR
Sahil love good scorer
Geek and his Marks
Geek-onacci Number
Geek and Code
Geek and Pens
The Hiring Contest
Geek-onacci Number ||
Ticket Counter
Minimum XOR
3 - Numbers
Reverse a linked list
Frequency in a Linked List
Pairwise swap elements of a linked list
Delete nodes having greater value on right
Remove duplicates from an unsorted linked list
Inorder Traversal
Reverse a Doubly Linked List
Bubble Sort
Selection Sort
Insertion Sort
Right View of Binary Tree
Mirror Tree
Two Mirror Trees
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
Postorder Traversal
Level Order in spiral form
Reverse Level Order Traversal
DFS of Graph
Insert a node in a BST
BFS of graph
Identical Trees
Square Root
Nodes without a Sibling
Binary Search
Remove Duplicates Sorted Array
BST Keys in a Range
K-Palindrome
Unique rows in boolean matrix
You and your books
Delete in a Singly Linked List
Kth largest element in BST
Minimum distance in an Array
Array Duplicates
Inorder Successor in BST
Index of an Extra Element
Disjoint set (Union-Find)
Insert in a Sorted List
Minimum element in BST
More than n/k Occurrences
Reverse Using Stack
Symmetric Tree
Next Right Node
Find n/k th node in Linked list
Queue Reversal
Reverse first K of a Queue
Find Sum Pairs Across Two BSTs
Move all zeros to the front of the linked list
Delete Mid of a Stack
The New Line
Data Types
Taking input
Learn to Comment
GetLine and Ignore
Learning to be precise
Bitwise Operators
Even Odd
For Loop- primeCheck
While loop- printTable
Learning Macros
Step by Step Condition
Start Coding - Java
Learn to Comment - Java
Swap the array elements
Count the Specials
Matrix Interchange
Predict the Column
Xoring and Clearing
Consonants and Vowels check
Almost Equal
The Pattern Matcher
Swap values using References
Swap the objects
Structs and Objects
Two Dimensional World
Learning Structs
Delete Array
Maximum Area Rectangle
Find the Frequency
Back to Front
Pair Sum in Vector
Frequency in Queue
Get min at pop
First Set Bit
Rightmost different bit
Check K-th Bit
Primality Test
Longest Consecutive 1's
Power of 2
Swap odd and even bits
Equilibrium Point
Array Leaders
Sum of upper and lower triangles
Print Matrix in snake Pattern
Transpose of Matrix
Matrix Boundary Traversal
Anagram
Winner of an election
Isomorphic Strings
Reverse Words
Minimum indexed character
Panagram Checking
Non Repeating Character
Parenthesis Checker
Generate Binary Numbers
N meetings in one room
Largest number with given sum
Count ways to N'th Stair
Count number of hops
Union of Arrays with Duplicates
Check Equal Arrays
Positive Negative Pair
Missing in Array
Product array puzzle
Roman Number to Integer
Mean of range in array
Max Value Permutation
Missing And Repeating
Max value
Find the closest number
Sort by Set Bit Count
k sorted array
Maximize sum after K negations
Adding Ones
Pairs with certain difference
Common in 3 Sorted Arrays
Sorted and Rotated Minimum
Sum of elements between k1'th and k2'th smallest elements
Search in a Row-Column sorted matrix
Move All Zeroes to End
Min sum formed by digits
Minimize the sum of product
Chocolate Distribution Problem
Swap and Maximize
Bitonic Point
Left most and right most index
Sort Array II
Alternate Positive Negative
Maximum Possible Sum of Products
Remove b and ac from a given string
Addition of submatrix
Rearrange a string
Facing the sun
Second Largest
Convert array into Zig-Zag fashion
Number of occurrence
Find missing in second array
String's Count
Longest Common Prefix of Strings
Counts Zeros Xor Pairs
Two sum -Pairs with 0 Sum
Segregate 0s and 1s
Play With OR
Hungry Pizza Lovers
At Least K Occurrences
Find the closest pair from two arrays
Maximum sum of increasing order elements from n arrays
Count the Zeros
Length of longest subarray
Four Elements
Palindrome String
Maximum average subarray
The Optimal Selection
Smallest greater elements in whole array
Fitting The Array
Shop in Candy Store
Encrypt the string - 2
Kth LSB
Minimum product pair
Minimum Operations
Adding Array Elements
Number of 1 Bits
Armstrong Numbers
Midori and chocolates
Reverse Bits
Max Sum Subarray of size K
Nth Fibonacci Number
Change Bits
Copy Set Bits in Range
Count Digits
Sum Of Digits
Palindrome
Shortest path from 1 to n
Sum 1 to n Divisors
Find sum of divisors
Minimum steps to minimize n as per given condition
Faithful Numbers
Reach the Nth point
Minimum number of Coins
Right most non zero digit
Perfect Numbers
Nth item through sum
Smallest number with sum of digits as N and divisible by 10^N
Adjacents are not allowed
Maximize Toys
Largest number possible
Check if it is possible to survive on Island
Deficient Number
Trailing zeroes in factorial
Form a number divisible by 3 using array digits
Sum of all prime numbers between 1 and n
Least Prime Factor
Subtraction and two numbers
Sum of First N Natural Numbers
Smallest number by rearranging digits of a given number
Sharing is Caring
Summing the Sum
Circular Prime Number
Maximum Diamonds
Make Zeroes
Surround the 1's
Prime number of set bits
Inorder Traversal and BST
Sequence Fun
Letters Collection
Game of digits
Rearrange Geek and his Classmates
Print Pattern
Print the pattern
Sum of dependencies in a graph
Count all possible paths from top left to bottom right
Rearrange Geek and his Classmates
Modified Numbers and Queries
Sum of k smallest elements in BST
Print Diagonally
Gadgets of Doraland
Plus One
Reverse Bits
Sum of two numbers without using arithmetic operators
Even and Odd
Search insert position of K in a sorted array
Queue using stack
Largest value in each level
Maximum number of 2X2 squares
First and last occurrences of x
Checkmate
Geek and Snow Fighting
License Key Formatting
Awesome Pairs
Smallest Subset with Greater Sum
Minimum Sum of Absolute Differences of Pairs
Smallest window containing 0, 1 and 2
Can Make Triangle
Matrix Operations
Find pairs with given sum in doubly linked list
Invalid Parenthesis
Maximum Frequency
Triangle and Square
Assign Tasks
Police Station
Maximum Depth Of Binary Tree
Bus Ticket Change
Refueling
Toggle
Ticket Counter
Magic and toy shop
Unique Number of Occurrences
Linked List Group Reverse
Binary Tree to DLL
Max rectangle
LRU Cache
Partition array to k subsets
Maximum subset XOR
Alien Dictionary
Nodes at given distance in binary tree
String Permutations
Trapping Rain Water
Max Circular Subarray Sum
Smallest window containing all characters
Histogram Max Rectangular Area
Max of min for every window size
Solve the Sudoku
Strongly connected component (Tarjans's Algo)
Minimum Cost Path
Median of 2 Sorted Arrays of Different Sizes
Merge Without Extra Space
The Painter's Partition Problem-II
Ugly Numbers
Search Pattern
Wildcard string matching
Edit Distance
Minimum sum partition
Palindromic Partitioning
Stock Buy and Sell – Max K Transactions Allowed
Check Tree Traversal
Matrix Chain Multiplication
Bit Difference
Boolean Parenthesization
N-Queen Problem
Geek collects the balls
Water Connection Problem
132 Geeky Buildings
Shortest Range In BST
Elixir of Life
Search Pattern (Z-algorithm)
Number of subsets with product less than k
Minimum X (xor) A
Minimum operations to convert array A to B
Sorted Linked List to BST
Palindrome Pairs
Word Ladder II
Split Array Largest Sum
Count the number of subarrays
Largest rectangular sub-matrix whose sum is 0
Minimum time to fulfil all orders
Candy
Maximum good length
Rotate Array
Print Linked List
Find Length of Linked List
Size of Binary Tree
Count Leaves in Binary Tree
Queue Using Array
Replace all 0's with 5
Print number pattern
Preorder Traversal
Equal Sum and XOR
Smallest divisible number
Palindromic Array
Anagram of String
Is Linked List Length Even?
Sum of Binary Tree
Alternates in an Array
Start Coding
The Size of
Logical Operators
Count Odd and Even
Sort and Reverse Vector
Front to Back
Queue Push & Pop
Who has the majority?
Sum of diagonals
Absolute Value
Convert Celsius To Fahrenheit
Bit Difference
Print 1 To N Without Loop
Array Search
Sorted Array Search
Addition Under Modulo
Reverse a String
Keypad typing
First n Fibonacci
Binary Array Sorting
C++ Hello World
Sum of Array
Searching in an Array
Doubling the value
Print Elements of Array
Balanced Array
At least two greater elements
Sort a String
Anagram Palindrome
Change the string
Value equal to index value
Convert a list of characters into a String
Count of camel case characters
Remove vowels from string
Uncommon characters
Swap kth elements
Lower case to upper case
Repeated Character
First 1 in a Sorted Binary Array
Max and Min Product from 2 Arrays
Elements in the Range
Display longest name
Find element at a given Index
Last index of One
Upper Case Conversion
Sort the string in descending order
Front-Back Transformation - copy
Merge two strings
Largest Element in Array
Rotate Array by One
Game with nos
One odd Occuring
Ishaan Loves Chocolates
Array Subset
Product is even or odd?
Minimum number to form the sum even
C++ Strings
Count of smaller elements
Min and Max in Array
Multiply left and right array sum
Positive and negative elements
Print first letter of every word in the string
Last index of a character in the string
Remove character
Delete alternate characters
No of Carry Operations
Magical String[Duplicate Problem]
GCD of Array
GCD of two numbers
C++ if-else (Decision Making)
Addition of Two Numbers
C++ Input / Output
1s Complement
Odd or Even
Check set bits
One's Complement
XOR of all elements
The OR Gate
The AND Gate
Find position of set bit
Set kth bit
Factor OR Multiple
Vowel or Not
The XOR Gate
Java Hello World
Change all even bits in a number to 0
XOR Count Zero and One
Strong Numbers
Set all odd bits
Check if divisible by 5
set-bits and number
LCM And GCD
House Robber
Maximum Area
Message Spreading
Find n-th term of series 1, 3, 6, 10, 15, 21
Binary Shift to Divide
Check perfect square
Strong Numbers
Median of an Array
Find N-th term in the series
Factorial
Sum of Digit is Palindrome or not
Reverse digits
Special Odd Series Sum
Special Series Sum
Difference series
Binary number to decimal number
Series AP
Floyd's triangle
Sum of elements in a matrix
Help Joey
Jumpy Ball
Multiplication Table
Square Divisors
The dice problem
Remainder Evaluation
Count Squares
Matching Pair
Check if the number is Fibonacci
Middle of Three
Anshuman's Favourite Number
Mind Game
Print the Kth Digit
Swap two numbers
Buy chocolates and save N rupees
12 hour clock Multiplication
12 hour clock subtraction
Modulus of two double numbers
Half N by M
Sum of large numbers
Make a Distinct Digit Array
Sum of product of x and y with floor(n/x) = y
Sum of primes
Reverse an Array
Search in a 2D Matrix
Arrays (Sum of array)
close
A
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri