Tutorials
Courses
Data Structure
Java
Python
HTML
Interview Preparation
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
beagarwal
Current POTD Streak
STREAK
01
/1431
days
Longest streak/Global longest streak
Institution
College of Engineering Anna University (CEG) Chennai
15 Rank
Institute Rank
Organization
Visa Inc
Language Used
C++, Java, Python, C
Coding Score
1365
Problem Solved
480
Contest Rating
__
Apply for Campus Mantri
78 points
Contributor
78 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
SCHOOL (1)
BASIC (71)
EASY (189)
MEDIUM (180)
HARD (39)
Sahil love good scorer
Reverse a linked list
Frequency in 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
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
Check for BST
Right View of Binary Tree
K distance from root
Mirror Tree
Two Mirror Trees
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
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
Insert a node in a BST
BFS of graph
Identical Trees
Root to leaf path sum
Square Root
Nodes without a Sibling
Postorder from Inorder and Preorder
Binary Search
Remove Duplicates Sorted Array
Level Order Line by Line
BST Keys in a Range
Minimum Depth of a Binary Tree
Remove duplicates in array
Josephus problem
Delete in a Singly Linked List
Array Duplicates
Special Stack
Three way partitioning
Level order traversal
Inorder Successor in BST
Reverse Using Stack
Symmetric Tree
Delete Alternate Nodes
Count Pairs whose sum is equal to X
Find length of Loop
Median of BST
Maximum Pairwise Computed Value
Queue Reversal
Reverse first K of a Queue
Sum of Leaf Nodes
Delete Mid of a Stack
Rotate doubly Linked List
Product of an Array
C++ Template
The New Line
Data Types
Taking input
Learn to Comment
GetLine and Ignore
Learning to be precise
Bitwise Operators
For Loop- primeCheck
While loop- printTable
Learning Macros
Step by Step Condition
Swap the array elements
Count the Specials
Matrix Interchange
Predict the Column
Xoring and Clearing
Consonants and Vowels check
Even Subsets
The Pattern Matcher
Swap values using References
Swap the objects
Structs and Objects
Two Dimensional World
Learning Structs
Delete Array
Sum of Big Integers
Find the Frequency
Back to Front
Pair Sum in Vector
Student of the Year
Java ArrayList Operation
Stack Operations
Frequency in Queue
Operations on PriorityQueue
Get min at pop
Deque Implementations
Min Heap implementation
Max and Second Max
Fibonacci Numbers - Top Down DP
Fibonacci Numbers - Bottom Up DP
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
Wave Array
Frequencies in a Limited Array
Equilibrium Point
Array Leaders
Sort by Absolute Difference
Print adjacency list
Separate chaining in Hashing
Linear Probing in Hashing
Quadratic Probing in Hashing
Count Non-Repeated Elements
Print Non-Repeated Elements
Reverse Words
Non Repeating Character
Parenthesis Checker
Generate Binary Numbers
Digital Root
Reach a given score
Power Set Using Recursion
Union-Find
Count ways to N'th Stair
Count number of hops
First Repeating Element
Union of Arrays with Duplicates
Reach a given score
Check Equal Arrays
Nth number made of prime digits
Search Query for Strings
Missing in Array
Product array puzzle
Intersection of Arrays with Distinct
Missing And Repeating
Find Kth Rotation
Adding Ones
Search in a Row-Column sorted matrix
Move All Zeroes to End
Min Subsets with Consecutive Numbers
Move all negative elements to end
Find Pair Given Difference
Bitonic Point
Single Number
Addition of submatrix
Reversing the equation
Find missing in second array
Counts Zeros Xor Pairs
Segregate 0s and 1s
Three Great Candidates
Element with left side smaller and right side greater
Count the Zeros
Length of longest subarray
Minimum Operations
Love For The Twins
Reverse Bits
Nth Fibonacci Number
Compute (a*b)%c
Count numbers containing 4
Minimum number of Coins
Maximize Toys
Trailing zeroes in factorial
Triangular Number
Sum of First N Natural Numbers
Right angled triangles
Smallest number by rearranging digits of a given number
Rearrange the Digits
Farthest number
Boundary Elements of Matrix
Array to BST
Sum of two numbers without using arithmetic operators
Stickler Thief
Rank of Matrix
Rearrange characters
Reverse alternate nodes in Link List
Rotate a Linked List
Sort a linked list of 0s, 1s and 2s
Add Number Linked Lists
Add 1 to a Linked List Number
Merge 2 sorted linked list in reverse order
Linked List in Zig-Zag fashion
Detect Loop in linked list
Quick Sort on Linked List
QuickSort on Doubly Linked List
Quick Sort
Binary Tree from Inorder and Postorder
Bottom View of Binary Tree
Intersection in Y Shaped Lists
Diameter of a Binary Tree
Merge two sorted linked lists
Sum Tree
Connect Nodes of Levels
Flattening a Linked List
Tree Boundary Traversal
Delete a node from BST
Directed Graph Cycle
Undirected Graph Cycle
LCA in Binary Tree
Absolute List Sorting
Two Stacks in an Array
Binary Heap Operations
The Celebrity Problem
Topological sort
Vertical Tree Traversal
Merge K sorted linked lists
Find the number of islands
Get Min from Stack
Gas Station
Linked List to Binary Tree
Clone a Binary Tree
Validate an IP Address
Remove loop in Linked List
Multiply two strings
Implement Atoi
Palindrome Linked List
Strongly Connected
Rat in a Maze Problem - I
Bipartite Graph
Delete keys in a Linked list
Merge two BST 's
Find triplets with zero sum
Sort a stack
Top View of Binary Tree
k-th Smallest in BST
Find Common Nodes in two BSTs
Polynomial Addition
Merge Sort for Linked List
Euler circuit and Path
Binary Tree to CDLL
Occurences of 2 as a digit
Linked List that is Sorted Alternatingly
Leftmost and rightmost nodes of binary tree
Construct Tree from Inorder & Preorder
Construct tree from Inorder and LevelOrder
Children Sum in a Binary Tree
Deletion and Reverse in Circular Linked List
Construct Tree from Preorder Traversal
Convert Level Order Traversal to BST
C++ Friend function
C++ Generic sort
Swap Kth nodes from ends
Add two numbers represented by Linked List
Maximum sum of Non-adjacent nodes
Mother Vertex
Floor in BST
Ceil in BST
Smallest Positive Missing
Power Of Numbers
Maximum occured integer
Rearrange Array Alternately
Rearrange an array with O(1) extra space
Maximum Index
Stock buy and sell
Rotate Array
Kadane's Algorithm
Unique BST's
Indexes of Subarray Sum
Count the number of possible triangles
Merge Without Extra Space
Merge three sorted arrays
Make Matrix Beautiful
Boolean Matrix
Spirally traversing a matrix
Search in a sorted Matrix
Unit Area of largest region of 1's
Subarrays with equal 1s and 0s
Sort Elements by Decreasing Frequency
Stock span problem
Next Greater Element
Kth largest element
Kth smallest element
K Most occurring elements
Activity Selection
Fractional Knapsack
Job Sequencing Problem
M-Coloring Problem
Minimum Jumps
Ways to Reach the n'th Stair
nCr
Longest Increasing Subsequence
Longest Common Subsequence
0 - 1 Knapsack Problem
Allocate Minimum Pages
X Total Shapes
Find whether path exist
Kth Smallest
Implement Trie
Shortest Common Supersequence
Nth Catalan Number
Rotten Oranges
Most frequent word in an array of strings
Camel Case
Renaming Cities
Overlapping Intervals
Sort 0s, 1s and 2s
Maximum Index
Max Score from Subarray Mins
Nuts and Bolts Problem
Rotate a Matrix
Count the Reversals
Longest Common Substring
Longest Palindrome in a String
Product Pair
Tic Tac Toe
Integer to Words
Missing element of AP
LCS of three strings
First negative in every window of size k
Minimize the Heights II
Palindrome in Alphanumeric String
Smaller on Left
Permutations of a String
Subarrays Product Less than K
Unique Number II
Minimum number of deletions and insertions
Coin Change (Count Ways)
Sieve of Eratosthenes
Coin Change (Minimum Coins)
Dice throw
Count ways to N'th Stair(Order does not matter)
Maximum path sum in matrix
Partition Equal Subset Sum
Handshakes
Array Pair Sum Divisibility Problem
Return two prime numbers
Sum of Query II
Find Prime numbers in a range
Game with String
Fraction to Repeating Decimal
Next Permutation
Smaller on Left
Decode the string
Preorder Traversal and BST
Kth Largest in a Stream
Snake and Ladder Problem
Satisfy the equation
Replace O's with X's
Mail System Design
Check Mirror in N-ary tree
Your Social Network
Count the paths
Flood fill Algorithm
Largest subsquare surrounded by X
Valid Pair Sum
Iterative Inorder
Preorder traversal (Iterative)
Iterative Postorder
Longest Palindromic Substring
Covid Spread
Maximum Value
Detect cycle in a directed graph
Longest Palindrome Substring
Rotate Array
Count Linked List Nodes
Power of Four
Size of Binary Tree
Count Leaves in Binary Tree
Postorder Traversal
Implement stack using array
Queue using Linked List
Queue Using Array
Replace all 0's with 5
Count zeros in a sorted matrix
Preorder Traversal
Sum Except First and Last
C++ STL | Set 5 (queue)
Search a node in BST
Equal Sum and XOR
C++ STL | Set 8 (unordered set)
Peak element
Linked List Insertion At End
C++ Functions (Sum of numbers) | Set 1
Play with an array
Minimum element in BST
Is Linked List Length Even?
C++ Classes Introduction
C++ Inheritance introduction
C++ Call by reference
The Size of
Logical Operators
Count Odd and Even
Sort and Reverse Vector
Front to Back
Stack designer
Queue Push & Pop
Set Operations
Absolute Value
Convert Celsius To Fahrenheit
Quadratic Equation Roots
Array Search
Binary Array Sorting
Binary String
Most Frequent Character
Sum of numbers in string
Power Using Recursion
Reverse a String
Keypad typing
First n Fibonacci
C++ Hello World
Doubling the value
Balanced Array
Check if divisible by 4
Uncommon characters
Merge two strings
Largest Element in Array
Exceptionally odd
Product is even or odd?
Multiply left and right array sum
Extract Maximum
Print first letter of every word in the string
Red OR Green
Find unique element
XOR of all elements
Check an Integer is power of 3 or not
House Robber
Check perfect square
Difference series
Series X1
Doctors Clinic
Sum Terms Nth Row
The Lazy Caterer's Problem
Finding Position
2's Complement
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
Max rectangle
LRU Cache
Alien Dictionary
Smallest range in K lists
AVL Tree Deletion
Nodes at given distance in binary tree
Fixing Two nodes of a BST
Max Path Sum 2 Special Nodes
Huffman Decoding
Number of Turns in Binary Tree
Trapping Rain Water
Max Circular Subarray Sum
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)
Minimum Cost Path
Contiguous Elements XOR
Median of 2 Sorted Arrays of Different Sizes
Burning Tree
Merge Without Extra Space
Distinct palindromic substrings
Ugly Numbers
Edit Distance
Minimum Points To Reach Destination
Minimum sum partition
Palindromic Partitioning
Next Happy Number
Stock Buy and Sell – Max K Transactions Allowed
Bit Difference
Boolean Parenthesization
N-Queen Problem
Sorted Linked List to BST
Search in a 2D Matrix
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 !