Tutorials
Courses
Go Premium
Data Structure
Java
Python
HTML
Interview Preparation
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
S
sonalipatel
Current POTD Streak
STREAK
02
/1477
days
Longest streak/Global longest streak
Institution
Shri Govindram Seksaria Institute of Technology and Science (SGSITS) Indore
61 Rank
Institute Rank
Language Used
C++, Python, Java, C
Coding Score
1148
Problem Solved
449
Contest Rating
__
Apply for Campus Mantri
260 points
Contributor
260 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 (1)
BASIC (51)
EASY (191)
MEDIUM (188)
HARD (18)
Sorting Elements of an Array by Frequency
Nearly Sorted Algorithm
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
Insert in Sorted Circular Linked List
Count BST nodes that lie in a given range
Merge Sort
Quick Sort
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
LCA in Binary Tree
Absolute List Sorting
Two Stacks in an Array
The Celebrity Problem
Largest subarray with 0 sum
Merge K sorted linked lists
Max sum in the configuration
Get Min from Stack
Gas Station
Check if subtree
Is Binary Tree Heap
Clone a Binary Tree
Remove loop in Linked List
Sum of permutations
Multiply two strings
Minimum Swaps to Sort
Implement Atoi
Maximum Difference
Palindrome Linked List
Max sum subarray by removing at most one element
Closest in BST
Delete keys in a Linked list
Count distinct elements in every window
Merge k Sorted Arrays
Find triplets with zero sum
Sort a stack
Find the missing no in string
k-th Smallest in BST
Level order traversal
Peak element
Ancestors in Binary Tree
Binary Tree to CDLL
Root to Leaf Paths
pth common ancestor in BST
Sum of nodes on the longest path
Check if two Nodes are Cousins
Convert Level Order Traversal to BST
ZigZag Tree Traversal
C++ Friend function
C++ Generic sort
Count set bits
Reverse array in groups
Smallest Positive Missing
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
Count Inversions
Smallest Positive missing number
Indexes of Subarray Sum
Count the number of possible triangles
Triplet Sum in Array
Boolean Matrix
Subarray with 0 sum
Subarrays with equal 1s and 0s
Sort Elements by Decreasing Frequency
Longest Consecutive Subsequence
Case-specific Sorting of Strings
Stock span problem
Next Greater Element
Kth smallest element
Minimum Platforms
Longest Common Subsequence
0 - 1 Knapsack Problem
Lucky Numbers
Sort according to an Array
Allocate Minimum Pages
Zero Sum Subarrays
Kth Smallest
Shortest Common Supersequence
Lazy Kid
Container With Most Water
Top K Frequent in Array
4 Sum - All Quadruples
Mandatory Flip Bit
Police and Thieves
Sort 0s, 1s and 2s
Paths to reach origin
Maximum Index
Equal Sum
Consecutive 1's not allowed
Count of Subarrays
Pythagorean Triplet
Mr Modulo and Pairs
Pair Sum Closest to 0
Sum of bit differences
Maximum Intervals Overlap
Form the Largest Number
Marks of PCM
Water Collection
Swapping pairs make sum equal
Check if frequencies can be equal
Design a tiny URL or URL shortener
Form a palindrome
Nuts and Bolts Problem
Rotate a Matrix
Longest Subarray with Sum K
Sum of two large numbers
The Fibonacci-prime number
The Tiny Miny
Magnet Array Problem
Longest Common Substring
Smallest distinct window
Longest substring with distinct characters
Longest Substring with K Uniques
Pass the semester
String formation from substring
Rod Cutting
Greater tower sum
Number of pairs
Longest Palindromic Subsequence
Palindrome in Alphanumeric String
Smaller on Left
Minimum Deletions
Number following a pattern
Subsequence matching
Find largest word in dictionary
Subarrays Product Less than K
Bleak Numbers
Modular Exponentiation
Largest prime factor
Maximum Tip Calculator
Minimum number of deletions and insertions
Coin Change (Count Ways)
Sieve of Eratosthenes
Coin Change (Minimum Coins)
Firing employees
Knapsack with Duplicate Items
Special Keyboard
Handshakes
Array Pair Sum Divisibility Problem
Matchsticks game
Prime Pair with Target Sum
Count Numbers in Range
Number of paths
Sisters and coins
Nth Natural Number
Pasha and Primes
Return two prime numbers
Find nth root of m
Find Prime numbers in a range
Count Divisors of Factorial
Fraction to Repeating Decimal
Find the Safe Position
Smith Number
Next Permutation
Prime factorization and geek number
How Many X's?
Composite and Prime
Finding Profession
Stream First Non-repeating
Count Divisors
Snake and Ladder Problem
Pairs of Non Coinciding Points
Replace O's with X's
Mail System Design
Cost of Sweets
Express as sum of power of natural numbers
Flood fill Algorithm
Recursively Remove Adjacent Duplicates
Jump Game
M and N
Geek and his Marks
Geek and New Job
Reverse a linked list
Frequency in a Linked List
Delete N nodes after M nodes of a linked list
Pairwise swap elements of a linked list
Node at a given index in linked list
Linked list of strings forms a palindrome
Compare two linked lists
Delete nodes having greater value on right
Remove duplicates from an unsorted linked list
Split a Linked List into two halves
Inorder Traversal
Reverse a Doubly Linked List
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
Check If Circular Linked List
Delete Middle of Linked List
Decimal Equivalent of Binary Linked List
Transform to Sum Tree
Intersection Sorted Linked Lists
Find Transition Point
Remove Duplicates from a Sorted Linked List
Level Order in spiral form
Reverse Level Order Traversal
Stack using Linked List
Implement stack using array
Identical Trees
Square Root
Insertion at doubly linked list
Lowest Common Ancestor in a BST
Binary Search
Largest subarray of 0's and 1's
Remove Duplicates Sorted Array
Minimum Depth of a Binary Tree
Equilibrium index of an array
Remove every k'th node
Leaves at Same Level or Not
Convert to Roman No
Match specific pattern
Multiply two linked lists
Josephus problem
Expression Tree
Max distance between same elements
Count Occurrence of digit k
Generate Grey Code Sequences
Delete in a Singly Linked List
Kth largest element in BST
Array Duplicates
Max Level Sum in Binary Tree
Special Stack
Three way partitioning
Index of an Extra Element
Convert Ternary Expression to Binary Tree
Intersection of Two Linked Lists
Split Linked List Alternatingly
Play with an array
Counting Sort
Perfect Binary Tree
Reverse Using Stack
XOR of a given range
Symmetric Tree
Delete Alternate Nodes
Merge Lists Alternatingly
Find the Sum of Last N nodes of the Linked List
Count Pairs whose sum is equal to X
Find length of Loop
Maximum Pairwise Computed Value
Queue Reversal
Reverse first K of a Queue
Remove Half Nodes
Height of Spiral Tree
Sum of Leaf Nodes
Sum of Right Leaf Nodes
Sum of Left Leaf Nodes
Sum of Leaf Nodes at Min Level
Tilt of Binary Tree
Delete Mid of a Stack
Swap the array elements
Matrix Interchange - Java
Java ArrayList Operation
Reverse an Array
Frequency in Queue
Frequency Game
Digits In Factorial
GP Term
Primality Test
Exactly 3 Divisors
Modular Inverse
Swap odd and even bits
Equilibrium Point
Array Leaders
Floor in a Sorted Array
Roof Top
Check if a string is Isogram or not
Anagram
Winner of an election
String Rotated by 2 Places
Most Frequent Character
The Modified String
Reverse Words
Minimum indexed character
Panagram Checking
Non Repeating Character
Parenthesis Checker
Minimum indexed character
Minimum Cost of ropes
First Repeating Element
Check Equal Arrays
Numbers containing 1, 2 and 3
Find Immediate Smaller Than X
Missing in Array
Product array puzzle
Roman Number to Integer
Intersection of Arrays with Distinct
Perfect Pair Sum
Missing And Repeating
Number of pairs with maximum sum
Professor and Parties
Pairs which are Divisible by 4
Adding Ones
Common in 3 Sorted Arrays
Good Pairs
Search in a Row-Column sorted matrix
Move All Zeroes to End
Minimize the sum of product
Chocolate Distribution Problem
Count the triplets
Finding Number
Drive the car
Bitonic Point
Count increasing Subarrays
Largest Even Number
Remaining String
Remove Duplicates
Sorting Employees
Two Sum - Pair with Given Sum
Second most repeated string in a sequence
Check if array contains contiguous integers
Find all pairs with a given sum
Convert an array to reduced form
Find missing in second array
Longest Common Prefix of Strings
Counts Zeros Xor Pairs
Two sum -Pairs with 0 Sum
Segregate 0s and 1s
Three Great Candidates
At Least K Occurrences
Element with left side smaller and right side greater
Ishaan and Sticks
Find the closest pair from two arrays
Count the Zeros
Four Elements
Print Bracket Number
Odd Even Problem
Love For The Twins
Pairs with Positive Negative values
Reverse Bits
Number Of Open Doors
Maximum height of the staircase
Kth Prime Factor
Maximize Toys
Recamans sequence
Find (a^b)%m
Squares in N*N Chessboard
Trailing zeroes in factorial
Form a number divisible by 3 using array digits
Least Prime Factor
Sphenic Number
Arithmetic Number
Make Zeroes
Next Prime Palindrome
Collection of pens
Prime number of set bits
Inorder Traversal and BST
Print Pattern
Binary Tree K level sum
Shortest distance in infinite tree
Print Diagonally
Plus One
Geek and Snow Fighting
Rotate Array
Print Linked List
Find Length of Linked List
Check for Binary String
Size of Binary Tree
Count Leaves in Binary Tree
Postorder Traversal
Queue using Linked List
Queue Using Array
Replace all 0's with 5
Preorder Traversal
First Occurence
Smallest divisible number
Linked List Insertion At End
Minimum element in BST
Circular Linked List Traversal
Is Linked List Length Even?
Identical Linked Lists
Sum of Binary Tree
Insert in Middle of Linked List
Count Non-Leaf Nodes in Tree
Count Odd and Even
Sum Array Puzzle
Who has the majority?
Absolute Value
Convert Celsius To Fahrenheit
Sorted Array Search
Remove common characters and concatenate
Fibonacci Using Recursion
Addition Under Modulo
Ishaan's Internship
Remove consonants from a string
Maximum product of two numbers
Encrypt the string - 1
Count Pairs Odd Xor
Uncommon characters
Remove repeated digits in a given number
Repeated Character
Making elements distinct
Merge two strings
Last duplicate element in a sorted array
Ishaan Loves Chocolates
Jay's Apples
Array Subset
Multiply left and right array sum
Boolean String Value
Perfect Square String
Check for Power
Find the fine
Height of Heap
Finding Position
Search in a 2D Matrix
Linked List Group Reverse
Reorder List
Min distance between two given nodes of a Binary Tree
AVL Tree Insertion
Alien Dictionary
Trapping Rain Water
Smallest window containing all characters
Histogram Max Rectangular Area
Find median in a stream
Median of Two sorted arrays
Count Pairs in an Array
The Painter's Partition Problem-II
Ugly Numbers
Count Smaller elements
Longest Prefix Suffix
Next Happy Number
Bit Difference
Smallest Positive Integer that can not be represented as Sum
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 !