Data Structure
Java
Python
HTML
Interview Preparation
Interview Prep
Tutorials
Tracks
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
S
sahil_chhabra
Current POTD Streak
STREAK
04
/1576
days
Longest streak/Global longest streak
Institution
Motilal Nehru National Institute of Technology, Allahabad (MNNITA)
Organization
GeeksforGeeks
Language Used
C++, C, Java
Coding Score
847
Problem Solved
384
Contest Rating
__
Apply for Campus Mantri
11304 points
Contributor
11304 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
2018
2017
2016
January
February
March
April
May
June
July
August
September
October
November
SCHOOL (5)
BASIC (82)
EASY (158)
MEDIUM (128)
HARD (11)
Rotate Array
Sort String
Print Linked List
Find Length of Linked List
Size of Binary Tree
Count Leaves in Binary Tree
Preorder Traversal
Bit Difference
Array Search
Binary String
Rearranging array
Sum of Array
Sum of Natural Numbers
Searching in an Array
Doubling the value
Print Elements of Array
Elements before which no element is bigger
Sort a String
Maximum product of two numbers
Value equal to index value
Segregate Even and Odd numbers
Reverse sub array
Sum of distinct elements
Swap kth elements
Rock Paper Scissors!
Lower case to upper case
Remove Spaces
Max and Min Product from 2 Arrays
Largest Element in Array
Rotate Array by One
Game with nos
One odd Occuring
Ishaan Loves Chocolates
Min and Max in Array
Multiply left and right array sum
Extract Maximum
Extraction of secret message
Remove character
No of Carry Operations
GCD of Array
Addition of Two Numbers
Odd or Even
The OR Gate
The AND Gate
Find position of set bit
Odd Divisors
Vowel or Not
Sum of Consecutives
Strong Numbers
Nth Even Fibonacci Number
Check if divisible by 5
LCM And GCD
Small Factorial
Cube root of a number
Leap Year
Factorial Number
Factorial
Automorphic Number
Parity of unsigned integer
Sum of Digit is Palindrome or not
Sum of an AP
Greatest of three numbers
Simple Interest
Binary number to decimal number
Series AP
Sum of divisors
Multiplication Table
Square Divisors
Count Squares
Check if the number is Fibonacci
Euler Totient Sum and Divisors
Repeated sum of digits
Narcissistic number
Print the Kth Digit
Swap two numbers
Unique Numbers
Series X1
Repetitive Addition Of Digits
Perfect Squares in a Range
Perfect Cubes in a Range
Finding Position
2's Complement
Replace by X
DELETED - Common elements in three arrays(error)
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
Delete nodes having greater value on right
Remove duplicates from an unsorted linked list
Split a Linked List into two halves
Delete in a Doubly Linked List
Inorder Traversal
Height of Binary Tree
Kth from End of Linked List
Middle of a Linked List
Left View of Binary Tree
Delete Middle of Linked List
Intersection Sorted Linked Lists
Find Transition Point
Remove Duplicates from a Sorted Linked List
Postorder Traversal
Identical Trees
Square Root
Insertion at doubly linked list
Binary Search
Remove Duplicates Sorted Array
BST Keys in a Range
Remove Duplicates from an array
Remove every k'th node
Find Maximum value
Search a node in BST
Max distance between same elements
Longest Consecutive Subsequence
Delete in a Singly Linked List
Intersection of Two Linked Lists
Find n/k th node in Linked list
Power of 2
Swap odd and even bits
Frequencies in a Limited Array
Equilibrium Point
Array Leaders
Floor in a Sorted Array
Anagram
Most Frequent Character
Reverse Words
Panagram Checking
Non Repeating Character
Parenthesis Checker
Largest number with given sum
Count number of hops
First Repeating Element
Union of Arrays with Duplicates
Check Equal Arrays
Missing in Array
Product array puzzle
Intersection of Arrays with Distinct
Adding One
Missing And Repeating
Max value
Maximum Gap
Find Kth Rotation
Sort by Set Bit Count
Minimum Energy
Max Length Removal
Find Maximum Sum Strictly Increasing Subarray
Good Pairs
Sorted and Rotated Minimum
Next greater number set digits
Search in a Row-Column sorted matrix
Move All Zeroes to End
String Duplicates Removal
Minimize the sum of product
Move all negative elements to end
String Manipulation
Pairs with difference k
Fascinating Number
Bitonic Point
Amend The Sentence
Sort Array II
Single Number
Even Greater than Odd
Alternate Positive Negative
Maximum Possible Sum of Products
Remaining String
Check if a given string is a rotation of a palindrome
Remove Consecutive Characters
Remove b and ac from a given string
Addition of submatrix
Remove Duplicates
Facing the sun
Greater on right side
Count Substrings
Distinct Substrings
Second Largest
Convert array into Zig-Zag fashion
Two Sum - Pair with Given Sum
Number of occurrence
Maximum repeating number
K-Pangrams
Convert an array to reduced form
Consecutive Array Elements
Special array reversal
Two sum -Pairs with 0 Sum
Three Great Candidates
Digits in a set
Count the Zeros
Distinct absolute array elements
Palindrome String
Missing ranges of numbers
Maximum average subarray
Total count
Chocolate Station
Pangram Strings
Pattern Searching
Shop in Candy Store
Last Match
Is Binary Number Multiple of 3
Cross character
Number of 1 Bits
Armstrong Numbers
AND operation
Three Number Even Sum
Reverse Bits
Nth Fibonacci Number
Change Bits
Count digits in a factorial
Number of factors
Sum Of Digits
Element that appears once where every element occurs twice
Prime Number
Party of Couples
Count Odd Factors
Make Number Odd
Magic Number
Exponentiation (Set 2)
Divisible Numbers
Reach the Nth point
Minimum number of Coins
Perfect Numbers
Palindrome numbers
Incomplete Array
Class Average
Minimum Notes Required
Adjacents are not allowed
Maximize Toys
Largest number possible
Rectangles in N*N Board
Squares in N*N Chessboard
Trailing zeroes in factorial
Form a number divisible by 3 using array digits
Natural Sum
Subtraction and two numbers
Sum of First N Natural Numbers
Subarray with least average
Prime Factors
Lexicographically Previous Permutation
Inorder Traversal and BST
Print Pattern
Reorder List
Binary Tree to DLL
Trapping Rain Water
Merge Without Extra Space
Count Pairs in an Array
Search Pattern
Longest Prefix Suffix
Edit Distance
Minimum sum partition
Bit Difference
Longest valid Parentheses
Sorting Elements of an Array by Frequency
Find the Maximum sum
Last two digits of Fibonacci
Reverse alternate nodes in Link List
Sort a linked list of 0s, 1s and 2s
Add Number Linked Lists
Rearrange a linked list
Merge 2 sorted linked list in reverse order
Detect Loop in linked list
Rearrange linked list in-place
Insert in Sorted Circular Linked List
QuickSort on Doubly Linked List
Count BST nodes that lie in a given range
Check for BST
Quick Sort
Delete without head pointer
Intersection in Y Shaped Lists
Merge two sorted linked lists
Flattening a Linked List
Absolute List Sorting
Lowest Common Ancestor in a BST
Merge K sorted linked lists
Max sum in the configuration
Wildcard Pattern Matching
Kth smallest element in a Matrix
Sum of permutations
Maximum Difference
Palindrome Linked List
Delete keys in a Linked list
Union of Two Linked Lists
Count set bits
Wave Array
Rearrange Array Alternately
Rearrange an array with O(1) extra space
Stock buy and sell
Kadane's Algorithm
Majority Element
Count Inversions
Two Repeated Elements
Unique BST's
Indexes of Subarray Sum
Count the number of possible triangles
Triplet Sum in Array
Spirally traversing a matrix
Rotate by 90 degree
Longest Consecutive Subsequence
Case-specific Sorting of Strings
Kth smallest element
Activity Selection
Ways to Reach the n'th Stair
Minimum number of jumps
Longest Increasing Subsequence
Longest Common Subsequence
0 - 1 Knapsack Problem
Number of Unique Paths
Equal Sum Partition
Sort according to an Array
Allocate Minimum Pages
Overlapping Intervals
Sort 0s, 1s and 2s
Taking 1 out of 3 consecutives
Pascal Triangle
Maximum Index
Equal Sum
Large Factorial
Max and Min Products
Sum of Middle elements of two sorted arrays
Consecutive 1's not allowed
Count Occurences of Anagrams
Single Among Doubles
Pythagorean Triplet
Pair Sum Closest to 0
Search in Rotated Sorted Array
Sum of bit differences
Maximize The Array
Form the Largest Number
Maximum Product Subarray
Check if a string is repetition of its substring of k-length
Row with max 1s
Concatenation of Zig-Zag String in n Rows
Form a palindrome
Rotate a Matrix
Factorials of large numbers
Maximum length Bitonic Subarray
Reverse each word in a given string
Length of the longest substring
k largest elements
Longest Common Substring
Smallest distinct window
Longest substring with distinct characters
Tic Tac Toe
Possible groups
Fill array with 1's
Missing element of AP
First negative in every window of size k
Smaller on Left
Find patterns
Permutations of a String
Previous number in one swap
Bleak Numbers
Maximum calorie
Modular Exponentiation
Game of XOR
Max Sum Increasing Subsequence
Coin Change (Count Ways)
Sieve of Eratosthenes
Ways To Tile A Floor
Coin Change (Minimum Coins)
Fibonacci Sum
Count ways to N'th Stair(Order does not matter)
Maximum path sum in matrix
Min Coin
Prime Pair with Target Sum
Count Numbers in Range
Number of paths
LCM Triplet
Return two prime numbers
Sum of Query II
Find Prime numbers in a range
Prime Factors and their Powers
Multiply 2 matrices
Next Permutation
Rank The Permutations
Smaller on Left
Filling Bucket
Composite and Prime
Largest square formed in a matrix
Array to BST
Reverse an Array
Maximum and Minimum Of Array Elements
a^b (Set 1)-(ambiguous)
Search in a 2D Matrix
Convert standard time to military time
close
S
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri