Tutorials
Courses
Go Premium
Data Structure
Java
Python
HTML
Interview Preparation
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
R
rajat_singh
Current POTD Streak
STREAK
93
/1472
days
Longest streak/Global longest streak
Institution
Graphic Era University (GEU) Dehradun
72 Rank
Institute Rank
Language Used
Java, Python
Coding Score
1126
Problem Solved
338
Contest Rating
__
Apply for Campus Mantri
97 points
Contributor
97 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
162 submissions in current year
Current
2024
2023
2022
2021
January
February
March
April
May
June
July
August
SCHOOL (0)
BASIC (18)
EASY (111)
MEDIUM (188)
HARD (21)
Sort a linked list of 0s, 1s and 2s
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
Bottom View of Binary Tree
Intersection in Y Shaped Lists
Merge two sorted linked lists
Sum Tree
Connect Nodes of Levels
Flattening a Linked List
Cycle in a Directed Graph
Undirected Graph Cycle
LCA in Binary Tree
The Celebrity Problem
Largest subarray with 0 sum
Topological sort
Vertical Tree Traversal
Find the number of islands
Max sum in the configuration
Get Min from Stack
Gas Station
Kth element in Matrix
Is Binary Tree Heap
Validate an IP Address
Remove loop in Linked List
Dijkstra Algorithm
Multiply two strings
Palindrome Linked List
Closest in BST
BST with Dead End
Merge two BST 's
Find triplets with zero sum
Sort a stack
Top View of Binary Tree
Root to Leaf Paths
Counting elements in two arrays
K Sum Paths
Foldable Binary Tree
Leftmost and rightmost nodes of binary tree
Predecessor and Successor
Sum of nodes on the longest path
Maximum sum of Non-adjacent nodes
Floor in BST
Count total set bits
Tower Of Hanoi
Smallest Positive Missing
Rearrange an array with O(1) extra space
Rotate Array
Kadane's Algorithm
Majority Element
Two Repeated Elements
Union of 2 Sorted with Duplicates
Count the number of possible triangles
Make Matrix Beautiful
Boolean Matrix
Search in a sorted Matrix
Unit Area of largest region of 1's
Subarray with 0 sum
Subarrays with equal 1s and 0s
Longest Consecutive Subsequence
Case-specific Sorting of Strings
Next Greater Element
Activity Selection
Fractional Knapsack
Minimum Platforms
Largest number in K swaps
Stickler Thief
Sum of all substrings of a number
0 - 1 Knapsack Problem
Sort according to an Array
Zero Sum Subarrays
Kth Smallest
Rotten Oranges
Longest Subarray Of Evens And Odds
Count subsequences of type a^i, b^j, c^k
Sort 0s, 1s and 2s
Pascal Triangle
Sum of Subarrays
Top k numbers in a stream
Longest Span in two Binary Arrays
Consecutive 1's not allowed
Pythagorean Triplet
Max Score from Subarray Mins
Subarray Sum Divisible By K
Sort the given array after applying the given equation
Row with max 1s
Check if frequencies can be equal
Substrings with K Distinct
Longest Subarray with Sum K
Cutting Binary String
Reverse each word in a given string
k largest elements
Longest Common Substring
Smallest distinct window
Longest Substring with K Uniques
Longest Palindrome in a String
Look and Say Pattern
Valid Expression
Rod Cutting
K closest elements
Missing element of AP
LCS of three strings
Equalize the Towers
Minimum sum
Minimum Deletions
Nine Divisors
Valid Substring
Shop in Candy Store
Number following a pattern
Unique Number II
Coin Change (Count Ways)
Mobile numeric keypad
Gold Mine Problem
Dice throw
Perfect Sum Problem
Trail of ones
Knapsack with Duplicate Items
nCr
LCM Triplet
Game with String
Next Permutation
Smaller on Left
Power of k in factorial of n
Exit Point in a Matrix
Rotate Each Row of Matrix K Times
Print leaf nodes from preorder traversal of BST
Count the paths
Flood fill Algorithm
Shortest Source to Destination Path
Police and Thieves
Save Your Life
Help Classmates
Subset Sum Problem
Search Pattern (Rabin-Karp Algorithm)
All Palindromic Partitions
Subarrays with sum K
Coin Piles
Rearrange characters
Substrings of length k with k-1 distinct elements
Prefix match with other strings
Check if a String is Subsequence of Other
Find duplicate rows in a binary matrix
Maximum sum of elements not part of LIS
Find rectangle with corners as 1
Paths from root with a specified sum
Unique Number III
Clone an Undirected Graph
Target Sum
K-th Largest Sum Contiguous Subarray
Exactly one swap
Next element with greater frequency
Number of Distinct Islands
Shortest Distance in a Binary Maze
Eventual Safe States
Path With Minimum Effort
Shortest path in Directed Acyclic Graph
Majority Element II
Koko Eating Bananas
Longest subarray with Atmost two distinct integers
Sum of subarray minimum
Aggressive Cows
Smallest Divisor
Shortest Path in Weighted undirected graph
Maximum Sum Combination
Partitions with Given Difference
Floor in BST
Largest Divisible Subset
Next Greater Element in Circular Array
Find the longest string
Prime List
Unique Paths in a Grid
Remove the balls
Powerful Integer
Set Matrix Zeros
Last Moment Before All Ants Fall Out
Search in an almost Sorted Array
Longest Subarray with Majority Greater than K
Balancing Consonants and Vowels Ratio
Subarrays With At Most K Distinct Integers
Divisible by 13
Lexicographically Largest String After K Deletions
Group Balls by Sequence
Count Unique Vowel Strings
Count Numbers Containing Specific Digits
ASCII Range Sum
2D Difference Array
Difference Check
Reverse a linked list
Remove duplicates from an unsorted linked list
Insertion Sort
Check for BST
Maximum Width of Tree
Delete without head pointer
Height of Binary Tree
Balanced Tree Check
Kth from End of Linked List
Middle of a Linked List
Left View of Binary Tree
Intersection Sorted Linked Lists
Find Transition Point
Remove Duplicates from a Sorted Linked List
Stack using two queues
Level Order in spiral form
Square Root
Binary Search
Largest subarray of 0's and 1's
Remove Duplicates Sorted Array
Kth largest element in BST
Array Duplicates
Special Stack
Three way partitioning
Inorder Successor in BST
Reverse Using Stack
Symmetric Tree
Find length of Loop
Reverse First K elements of Queue
Closest Neighbour in BST
Delete Mid of a Stack
The Loner - Java
Exists or Not? - Java
Swap the array elements
The Pattern Matcher - Java
Almost Equal -Java
Count the Specials - Java
Predict the Column - Java
Queue Operations
First Set Bit
Rightmost different bit
K-th Bit is Set or Not
Factorial Of Number
Digits In Factorial
GP Term
Primality Test
Longest Consecutive 1's
Exactly 3 Divisors
Modular Inverse
Power of 2
Swap all odd and even bits
Wave Array
Frequencies in a Limited Array
Array Leaders
Floor in a Sorted Array
Anagram
Winner of an election
Strings Rotations of Each Other
The Modified String
Reverse Words
Minimum indexed character
Panagram Checking
Non Repeating Character
Parenthesis Checker
Count Total Digits in a Number
Digital Root
First Repeating Element
Union of Arrays with Duplicates
Check Equal Arrays
Missing in Array
Roman Number to Integer
Missing And Repeating
Common in 3 Sorted Arrays
Sorted and Rotated Minimum
String Duplicates Removal
Minimize the sum of product
Chocolate Distribution Problem
Count pairs Sum in matrices
Count the triplets
Bitonic Point
Alternate Positive Negative
Palindrome Sentence
Arya's Long String
Remove Duplicates
Jumping Caterpillars
Second Largest
Substrings with same first and last characters
Count the Zeros
Palindrome String
Extract the Number from the String
Reverse Bits
Max Sum Subarray of size K
Nth Fibonacci Number
Compare two fractions
Form a number divisible by 3 using array digits
Maximum Collatz sequence length
Balloon Everywhere
Introduction to Trees
Binary Tree Representation
Calculate The Work Done
Select Maximum number
Geekina loves order
Valuable String
Special Array
Count the Substrings
Wave Array
Antique Collections
Find Only Repetitive Element from 1 to n-1
Books Reordering
Unique Number I
Maximum Matching Pair
Queue Using Array
Replace all 0's with 5
Absolute Value
Convert Celsius To Fahrenheit
Bit Difference
Number is sparse or not
Binary To Gray Code equivalent
Most Frequent Character
Sum of numbers in string
Sum of Digits of a Number
Power Using Recursion
Addition Under Modulo
Multiplication Under Modulo
Immediate Smaller Element
Largest Element in Array
Rotate Array by One
Ways To Tile A Floor
Naughty Geek
Linked List Group Reverse
Reorder List
Alien Dictionary
Smallest range in K lists
Max Circular Subarray Sum
Word Ladder I
Burning Tree
Merge Without Extra Space
Palindrome SubStrings
Longest Prefix Suffix
Sum-string
Minimum sum partition
Maximum sum Rectangle
Word Ladder II
Split Array Largest Sum
Kth Smallest Number in Multiplication Table
Max min Height
Meeting Rooms III
Count the Coprimes
Longest Periodic Proper Prefix
Maximum Non-Overlapping Odd Palindrome Sum
close
R
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 !