Sign In
Profile
Articles
group
Community
people_outline
Campus Ambassadors
Uncover Diverse Options in Colleges and Companies
View Colleges
View Companies
close
Sort by:
relevance
date
My Profile
My Courses
Go Premium
Edit profile
settings
Account Settings
Logout
menu
Sign In
×
Sign In
Sign Up
account_circle
lock
Remember me
Forgot Password
Sign In
email
lock
business
Sign Up
or
Google
Facebook
LinkedIn
GitHub
Why Create an Account?
By creating this account, you agree to our
Privacy Policy
&
Cookie Policy
.
Please enter your email address or userHandle.
account_circle
Back to Login
Reset Password
person_outline
Profile
description
Articles
people_outline
Campus Ambassadors
Uncover Diverse Options in Colleges and Companies
View Colleges
View Companies
nayanjain2007
Follow
257
Rank
Current POTD Streak
STREAK
00
/970
days
Institution
National Institute of Technology, Tiruchirappalli (NIT Trichy)
Language Used
C++, C, Python, Java
Overall Coding Score
1109
Total Problem Solved
357
Monthly Coding Score
_ _
Contributor
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
SCHOOL (1)
BASIC (18)
EASY (84)
MEDIUM (226)
HARD (28)
Print alternate elements of an array
Maximum money
Binary String
Postorder Traversal
Swap two nibbles in a byte
Bit Difference
Power of 2
Set kth bit
Toggle bits in the given range
Preorder Traversal
Minimum element in BST
Inorder Traversal
Maximum in Struct Array
Count Leaves in Binary Tree
Implement Stack using Linked List
Implement Queue using Linked List
Uncommon characters
Check if two arrays are equal or not
Sum Terms Nth Row
Left View of Binary Tree
Common elements
BBT counter
Even and Odd
Minimum steps to make product equal to one
Count ways to N'th Stair
Remove Half Nodes
Square root of a number
Delete without head pointer
Count the Zeros
Bitonic Point
Find the Highest number
Is Binary Number Multiple of 3
Element with left side smaller and right side greater
Maximum Sum Problem
Root to leaf path sum
Count distinct elements in every window
Josephus problem
Index Of an Extra Element
Equilibrium Point
Largest subarray of 0's and 1's
Find duplicates in an array
BFS of graph
DFS of Graph
Circle and Lattice Points
Maximum height of the staircase
Rectangles in N*N Board
Squares in N*N Chessboard
Smallest subarray with sum greater than x
Minimum Cost of ropes
Check for BST
Odd even level difference
K distance from root
Expression Tree
Maximum Node Level
Party of Couples
Swap all odd and even bits
Rotate Bits
Check whether K-th bit is set or not
Rightmost different bit
Find first set bit
Minimum number of Coins
Minimum Operations
Shop in Candy Store
Huffman Decoding-1
Largest number possible
Page Faults in LRU
Maximize Toys
N meetings in one room
Parenthesis Checker
Check for Balanced Tree
Height of Binary Tree
Symmetric Tree
Determine if Two Trees are Identical
Lowest Common Ancestor in a BST
Level order traversal in spiral form
Pairwise swap elements of a linked list
Nth node from end of linked list
Detect Loop in linked list
Reverse a linked list
Finding middle element in a linked list
Find Transition Point
Addition of submatrix
Find the minimum time
Tom and Jerry
Reverse words in a given string
Second most repeated string in a sequence
String's Count
Print all nodes that don't have sibling
Binary Tree to BST
Minimum Depth of a Binary Tree
Count BST nodes that lie in a given range
Right View of Binary Tree
Sum of Leaf Nodes
Mirror Tree
Sum of Leaf Nodes at Min Level
Reverse Level Order Traversal
Level order traversal Line by Line
Level order traversal
Wave Array
Star elements
String comparison
Maximum no of 1's row
Roman Number to Integer
Duplicate Subtrees
Duplicate subtree in Binary Tree
Sum Tree
Largest BST
Minimum swaps and K together
Longest consecutive subsequence
Maximum Product Subarray
Factorials of large numbers
Subarray with 0 sum
Minimum sum
Non Repeating Numbers
Painting the Fence
Gold Mine Problem
Friends Pairing Problem
Print the Sequence
Distribute N candies among K people
Search Pattern (KMP-Algorithm)
Longest subarray with sum divisible by K
Maximum Index
Excel Sheet | Part - 1
Possible Words From Phone Digits
The Celebrity Problem
Count Palindrome Sub-Strings of a String
Unique partitions
Count of n digit numbers whose sum of digits equals to given sum
Count subsequences of type a^i, b^j, c^k
Remove BST keys outside given range
Implementing Dijkstra Algorithm
Check Mirror in N-ary tree
Top k numbers in a stream
Largest Number formed from an Array
Bridge edge in a graph
Unit Area of largest region of 1's
Count the number of possible triangles
Triplet Sum in Array
Merge Sort
Merge two sorted linked lists
Get minimum element from stack
Find the string in grid
Number of paths in a matrix with k coins
Column name from a given column number
Number of ways
Leaves to DLL
Rearrange an array with O(1) extra space
Occurences of 2 as a digit
Prerequisite Tasks
Dice throw
Word Break
Shortest Common Supersequence
Longest Bitonic subsequence
Interleaved Strings
Kadane's Algorithm
Max length chain
Partition Equal Subset Sum
Anti Diagonal Traversal of Matrix
Substrings of length k with k-1 distinct elements
Rank The Permutations
BST to greater sum tree
Sum of Query II
Count the Reversals
Maximum Intervals Overlap
Rearrange characters
Longest Palindromic Substring
Subset Sum Problem
Kth largest element in a stream
Max possible amount
Maximize Number of 1's
Sum of two large numbers
Count ways to N'th Stair(Order does not matter)
Print Anagrams Together
Maximum Sub-String after at most K changes
Form a palindrome
Restrictive Candy Crush
Minimum steps to destination
Complement
Reverse each word in a given string
Largest square formed in a matrix
Find the element that appears once
Add Binary Strings
Capacity To Ship Packages Within D Days
Construct list using given q XOR queries
Next Permutation
Container With Most Water
Possible groups
Row with max 1s
Maximum of all subarrays of size k
Kth smallest element
Merge k Sorted Arrays
Maximum Index
Peak element
Number following a pattern
String formation from substring
First non-repeating character in a stream
Longest Common Subsequence
Maximum sum Rectangle
Clone a Binary Tree
Generate Parentheses
Kth element in Matrix
Huffman Encoding
Maximum sum leaf to root path
Reverse alternate nodes in Link List
Extreme nodes in alternate order
Strongly Connected Components (Kosaraju's Algo)
Box Stacking
Coin Change
Number of Coins
Top View of Binary Tree
Majority Element
Sorted insert for circular linked list
Find triplets with zero sum
Count the nodes at distance K from leaf
Lowest Common Ancestor in a Binary Tree
Detect cycle in an undirected graph
Detect cycle in a directed graph
Count Inversions
Max sum in the configuration
Stock buy and sell
Word Search
Get Minimum Squares
Perfect Sum Problem
Sum of two elements with sum nearest to zero
Largest number in K swaps
Maximum path sum in matrix
Zero Sum Subarrays
Generate IP Addresses
Stock span problem
Maximize The Cut Segments
Bipartite Graph
Minimum number of jumps
Trapping Rain Water
Minimum Swaps to Sort
Delete a node from BST
Validate an IP Address
Topological sort
X Total Shapes
Find whether path exist
Pythagorean Triplet
Multiply two strings
Implement Atoi
Binary Tree to CDLL
Diagonal Traversal of Binary Tree
Add all greater values to every node in a BST
Construct Binary Tree from Parent Array
Find the Closest Element in BST
Maximum difference between node and its ancestor
Construct Tree from Inorder & Preorder
Count Number of SubTrees having given Sum
Serialize and deserialize a binary tree
Connect Nodes at Same Level
Distance from the Source (Bellman-Ford Algorithm)
Jump Game
Optimal Strategy For A Game
Job Sequencing Problem
Count ways to reach the n'th stair
Length of longest palindrome in linked list
Merge K sorted linked lists
Preorder to PostOrder
Make Binary Tree From Linked List
Equal Sum Partition
Minimum number of jumps
Maximum sum increasing subsequence
Knapsack with Duplicate Items
0 - 1 Knapsack Problem
Longest Increasing Subsequence
Longest Common Substring
Special Keyboard
Activity Selection
Leftmost and rightmost nodes of binary tree
Check if subtree
Diagonal sum in binary tree
Vertical sum
ZigZag Tree Traversal
Smallest distinct window
Boolean Matrix
Minimum Platforms
Nuts and Bolts Problem
Rotate a 2D array without using extra space
Stock buy and sell II
Smallest Positive missing number
Sorted subsequence of size 3
Find Indexes of a subarray with given sum
Next Greater Element
Diameter of a Binary Tree
Vertical Traversal of Binary Tree
Bottom View of Binary Tree
Add two numbers represented by linked lists
Flattening a Linked List
Remove loop in Linked List
Intersection Point in Y Shaped Linked Lists
Reverse a Linked List in groups of given size
Rotate a Linked List
The Infinite String
Egg Dropping Puzzle
Total Decoding Messages
Count the subarrays having product less than k
Special Matrix
Length of the longest substring
Rotten Oranges
Circular tour
Minimum number of deletions and insertions.
Probability of Knight
Money Distributions
N Digit numbers with digits in increasing order
Count possible ways to construct buildings
Construct Tree from Preorder Traversal
Construct Binary Tree from Inorder and Postorder
Check if Linked List is Palindrome
Mail System Design
Sort an array according to the other
Sum of Subarrays
Find Missing And Repeating
Design a tiny URL or URL shortener
Sum of bit differences
Longest Sub-Array with Sum K
Stickler Thief
Pizza Mania
Two water Jug problem
Integer to Words
Consecutive 1's not allowed
Mobile numeric keypad
Kth smallest element
Delete nodes greater than k
Delete keys in a Linked list
Polynomial Addition
Find Common Nodes in two BSTs
Segregate even and odd nodes in a Linked List
Merge Without Extra Space
Maximum Profit
Longest valid Parentheses
Smallest window in a string containing all the characters of another string
Palindromic Partitioning
Partition array to K subsets
Longest substring to form a Palindrome
Distribute candies in a binary tree
Alien Dictionary
Form a palindrome
Maximum Rectangular Area in a Histogram
Find median in a stream
Longest Prefix Suffix
Wildcard Pattern Matching
Fixing Two nodes of a BST
Nodes at given distance in binary tree
Maximum Path Sum between 2 Special Nodes
Minimum Points To Reach Destination
Reorder List
Edit Distance
Binary Tree to DLL
Ugly Numbers
Number Formation
Strictly Increasing Array
Max rectangle
Longest Zig-Zag Sub Sequence
Matrix Chain Multiplication
Solve the Sudoku