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
amit2197kumar
Follow
2
Rank
Current POTD Streak
STREAK
01
/970
days
Institution
Jaipur National University (JNU) Jaipur
Organization
Adobe Systems
Language Used
Javascript, C++, Java
Overall Coding Score
1361
Total Problem Solved
625
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 (43)
BASIC (119)
EASY (215)
MEDIUM (219)
HARD (29)
Smaller and Larger
At least two greater elements
Perfect Arrays
Value equal to index value
Palindromic Array
Print Elements of Array
Display longest name
Sum of Array
C++ Array (print an element) | Set 2
C++ Input / Output
Java Hello World
Triangle shrinking downwards
Surface Area and Volume of Cuboid
Multiply Array
Binary representation
1s Complement
Combinational Logic
Diagonal sum
Toeplitz matrix
Greatest of three numbers
Odd or Even
Sum of Digits Multiple - copy
Simple Interest
Area of Rectangle, Right Angled Triangle and Circle
Multiplication Table
Swap two numbers
a^b (Set 1)-(ambiguous)
Check for Binary
Lower case to upper case
Pattern of Strings
Remove characters from alphanumeric string
Remove Spaces
Average in a stream
Sum of Array Elements
Fascinating Number
Automorphic Number
Series AP
Sum Of Digits
Maximum and Minimum Of Array Elements
Armstrong Numbers
Sum of Series
Swap kth elements
Reverse an Array
Find the smallest and second smallest element in an array
Greater on right side
Array Subset of another array
Maximum Occuring Character
Searching an element in a sorted array
Count Leaves in Binary Tree
Postorder Traversal
Inorder Traversal
Preorder Traversal
Check for subsequence
Replace all 0's with 5
Third largest element
Binary Array Sorting
Print Linked List elements
Insert in Middle of Linked List
Replace all 0's with 5
Linked List Insertion
Find the Sum of Last N nodes of the Linked List
Exceptionally odd
Count nodes of linked list
Doubling the value
Sort The Array
Angle between hour and minute hand
Squares in a Matrix
Check if the door is open or closed
Thief trying to escape
Half N by M
Invert the Bits
Sum of Consecutives
Equal Sum and XOR
Replace the Bit
XOR of all elements
Missing number in shuffled array
Check if two arrays are equal or not
Form largest number from digits
Minimize string value
Permutations in array
Check if a number can be expressed as x^y
Power of 2
Strong Numbers
Make a Distinct Digit Array
C++ STL | Set 5 (queue)
C++ STL | Set 4 (stack)
Finding Position
Find Number of Numbers
Bit Difference
Find position of set bit
Check perfect square
Implement Queue using Linked List
Check if given four points form a square
Implement stack using array
Binary Addition of 1
Elements before which no element is bigger
Repetitive Addition Of Digits
Implement Queue using array
Smallest divisible number
Count Squares
Student record
Perfect Reversible String
Triangle growing downwards
Search a node in BST
Numbers containing 0's from 1 to N
C++ STL | Set 1 (vector)
Power of Four
Check if the number is Fibonacci
Binary number to decimal number
Repeated sum of digits
The XOR Gate
Count zeros in a sorted matrix
Implement strstr
Mega Sale
GCD of Array
Good String
Keypad typing
Reverse array in groups
Rearranging array
Even occurring elements
Total count
Remove Consecutive Characters
Shortest direction
How many pizzas ?
Largest product
Sum of Digits Divisibility
Sum of primes
Multiples Power
Multiply 2 matrices
LCM And GCD
LCM of given array elements
Celsius to Fahrenheit Conversion
Add two fractions
Binary String
Leap Year
Extraction of secret message
Remove character
Binary Search
Implement Stack using Linked List
Rotating an Array
Doubly linked list Insertion at given position
Delete node in Doubly Linked List
Check If Circular Linked List
Size of Binary Tree
Segregate Even and Odd numbers
Search an Element in an array
Immediate Smaller Element
Digits in a set
Sort a String
Node at a given index in linked list
Factorial
Prime Number
Searching a number
Print the Kth Digit
Maximum product of two numbers
Perfect Squares in a Range
Pairs of prime number
Union of two arrays
Reverse sub array
Minimum difference pair
Sum of distinct elements
Rotate Array
Swap the array elements
Longest Common Prefix in an Array
Maximum Depth Of Binary Tree
Rotate Array
Finding middle element in a linked list
Largest subarray of 0's and 1's
Count distinct elements in every window
Common Elements
DFS of Graph
BFS of graph
Alternate positive and negative numbers
Count all possible paths from top left to bottom right
Max Sum Subarray of size K
Floor in a Sorted Array
Rotation
N meetings in one room
Reverse words in a given string
Missing number in array
Count the triplets
Insertion Sort
Delete without head pointer
Given a linked list of 0s, 1s and 2s, sort it.
Pairwise swap elements of a linked list
Reverse a linked list
Lowest Common Ancestor in a BST
Minimum number of deletions to make a sorted sequence
Check for BST
Minimum Depth of a Binary Tree
Root to leaf path sum
Minimum Cost of ropes
Merge two binary Max heaps
Right View of Binary Tree
Left View of Binary Tree
Kth largest element in BST
Determine if Two Trees are Identical
Level order traversal
Check for Balanced Tree
Symmetric Tree
Level order traversal in spiral form
Delete Middle of Linked List
Minimum Operations
Linked List in Zig-Zag fashion
Find length of Loop
Detect Loop in linked list
Intersection of two sorted Linked lists
Nth node from end of linked list
Insert in a Sorted List
Max and Second Max
Find the element that appears once in sorted array
Print all possible strings
Remove duplicate element from sorted Linked List
Product Pair
Find duplicates in an array
Product array puzzle
Roman Number to Integer
Does robot moves circular
Palindromic Subsequences
Leaders in an array
Equilibrium Point
Evaluation of Postfix Expression
Reverse a string using Stack
Count the paths
Shortest path from 1 to n
Finding Number
Does array represent Heap
Index Of an Extra Element
Inorder Successor in BST
Intersection of Two Linked Lists
Bubble Sort
Pattern Searching
Fill array with 1's
Sum of dependencies in a graph
Common elements
Swap bits
Change Bits
Longest Consecutive 1's
Element that appears once where every element occurs twice
Longest Distinct characters in string
String Modification
Longest consecutive sequence in Binary tree
Special Stack
K-Palindrome
Remove duplicates in small prime array
Repetition of k length substring
Maximum no of 1's row
Count increasing Subarrays
Left most and right most index
1[0]1 Pattern Count
Generate Binary Numbers
Expression Tree
Minimum element in a sorted and rotated array
Reverse Coding
Root to leaf paths sum
Pair with greatest product in array
Minimize the sum of product
Selection Sort
Max Level Sum in Binary Tree
Check if two strings are k-anagrams or not
Number of 1's in smallest repunits
Perfect Numbers
Letter Writer
Lucas Number
Count Increasing Subsequences
Padovan Sequence
Delete a Node in Single Linked List
Chocolate Distribution Problem
Equilibrium index of an array
Count BST nodes that lie in a given range
Maximum 0s between two immediate 1s
Circular Prime Number
Sum of elements between k1'th and k2'th smallest elements
Min sum formed by digits
Sphenic Number
Stack using two queues
Queue using two Stacks
Next sparse binary number
Convert array into Zig-Zag fashion
Three Great Candidates
Move all negative elements to end
Min Subsets with Consecutive Numbers
Number of 1 Bits
Bitonic Point
Longest Consecutive Subsequence
Maximize sum after K negations
Largest Even Number
Trailing zeroes in factorial
Squares in N*N Chessboard
Equal Point in Sorted Array
Max distance between same elements
Punish the Students
K distance from root
Magic Number
Class Average
Unique rows in boolean matrix
Nth Fibonacci Number
Series GP
Find Maximum value
Multiply two linked lists
Search in a matrix
Pascal Triangle
Rotate by 90 degree
Reverse alternate levels of a perfect binary tree
Special array reversal
Delete nodes having greater value on right
Sum of two numbers represented as arrays
Next greater number set digits
Missing ranges of numbers
Max value
Buildings receiving sunlight
Decimal Equivalent of Binary Linked List
Cut rope to maximise product
Ordering of strings
Replace by X
Wave Array
Count number of hops
Reach the Nth point
Reach a given score
Run Length Encoding
Check if all leaves are at same level
Remove every kth node
Sieve of Eratosthenes
Remove Duplicates
Amend The Sentence
Remove b and ac from a given string
Remove all duplicates from a given string
Count Substrings
Non Repeating Character
Anagram
Binary Tree to BST
Compare two linked lists
Occurence of an integer in a Linked List
linked list of strings forms a palindrome
Count Alphabets
Palindrome String
Odd even level difference
Postorder traversal from given Inorder and Preorder traversals
Level order traversal Line by Line
Print BST elements in given range
Remove duplicate elements from sorted Array
Square root of a number
Maximum Width of Tree
Rearrange linked list in-place
Remove duplicates from an unsorted linked list
Delete N nodes after M nodes of a linked list
Parenthesis Checker
Implement two stacks in an array
Split a Circular Linked List into two halves
Reverse a Doubly Linked List
Insert a node in a BST
Inorder Traversal and BST
Transform to Sum Tree
Reverse Level Order Traversal
Two Mirror Trees
Height of Binary Tree
Print all nodes that don't have sibling
Count the Zeros
Find Transition Point
DELETED - Common elements in three arrays(error)
Mirror Tree
Equal Sum and Product
Facing the sun
Move all zeroes to end of array
Pairs with difference k
First Repeating Element
Count pairs with given sum
Second Largest
Check if array is sorted
Maximum Gap
Adding One
Convert an array to reduced form
Single Number
Frequencies of Limited Range Array Elements
Number of factors
Intersection of two arrays
Key Pair
Largest BST
Nearly sorted
Inorder Traversal (Iterative)
Postorder Traversal (Iterative)
Preorder traversal (Iterative)
Insertion Sort for Singly Linked List
Prefix to Postfix Conversion
Postfix to Prefix Conversion
Clone a stack without using extra space
Postfix to Infix Conversion
Prefix to Infix Conversion
Two numbers with odd occurrences
Equal 0, 1 and 2
Longest subarray with sum divisible by K
Subarrays with equal 1s and 0s
Print Anagrams Together
Equivalent Sub-Arrays
Longest K unique characters substring
Zero Sum Subarrays
Largest subarray with 0 sum
Array Pair Sum Divisibility Problem
Bipartite Graph
Detect cycle in an undirected graph
Root to Leaf Paths
Rat in a Maze Problem - I
Topological sort
Detect cycle in a directed graph
Count Occurences of Anagrams
First negative integer in every window of size k
Allocate minimum number of pages
Number of occurrence
Trapping Rain Water
Stock span problem
Next Greater Element
Fractional Knapsack
Activity Selection
Circular tour
Permutations of a given string
Kadane's Algorithm
Find Indexes of a subarray with given sum
Merge Sort
Quick Sort
Check if Linked List is Palindrome
Merge two sorted linked lists
Flattening a Linked List
Merge Sort for Linked List
Reverse a Linked List in groups of given size
Rotate a Linked List
Minimum Deletions
Count Palindrome Sub-Strings of a String
Longest Bitonic subsequence
Maximum sum increasing subsequence
Diameter of a Binary Tree
Diagonal Traversal of Binary Tree
Boundary Traversal of binary tree
Longest Repeating Subsequence
Shortest Common Supersequence
Minimum number of deletions and insertions.
Longest Common Substring
Longest Common Subsequence
Maximize The Cut Segments
Coin Change
Knapsack with Duplicate Items
Partition Equal Subset Sum
0 - 1 Knapsack Problem
Is Binary Tree Heap
Top k numbers in a stream
Sorting Elements of an Array by Frequency
Nearly Sorted Algorithm
Rearrange characters
Merge k Sorted Arrays
Kth smallest element
Maximum of all subarrays of size k
k largest elements
Kth largest element in a stream
Merge K sorted linked lists
Heap Sort
Binary Heap Operations
Serialize and deserialize a binary tree
Array to BST
k-th smallest element in BST
Connect Nodes at Same Level
Bottom View of Binary Tree
Top View of Binary Tree
Vertical Traversal of Binary Tree
Longest Palindrome in a String
Longest Increasing Subsequence
Number of Coins
Union of Two Linked Lists
Intersection Point in Y Shaped Linked Lists
Remove loop in Linked List
Rearrange a linked list
Add two numbers represented by linked lists
Add 1 to a number represented as linked list
Sum Of Prime
Print matrix in diagonal pattern
Rotten Oranges
Overlapping Intervals
The Celebrity Problem
Count the Reversals
Combination Sum - Part 2
Combination Sum
Sum of two elements with sum nearest to zero
Maximum Difference
First non-repeating character in a stream
Next Permutation
Largest Number formed from an Array
Minimum Platforms
Sort an array of 0s, 1s and 2s
Subarray with 0 sum
Infix to Postfix
Flood fill Algorithm
Transitive closure of a Graph
Floyd Warshall
Jumping Numbers
Stock buy and sell
Find Common Nodes in two BSTs
Linked List that is Sorted Alternatingly
Counting elements in two arrays
Modify Linked List-1
Arranging the array
K Sum Paths
QuickSort on Doubly Linked List
Find a pair with given target in BST
X Total Shapes
Construct Binary Tree from Parent Array
Trie | (Delete)
Insert and Search in a Trie
Rod Cutting
Sum of bit differences
Longest Palindromic Subsequence
Game of XOR
Non Repeating Numbers
Peak element
Polynomial Addition
Integer to Words
Largest square formed in a matrix
Sort a stack
Find triplets with zero sum
Print Nodes having K leaves
Get minimum element from stack
Substring - Subsequence problem
Sort an array according to the other
Find the number of islands
Excel Sheet | Part - 1
Palindromic Strings
Consecutive 1's not allowed
Count ways to reach the n'th stair
Reverse each word in a given string
Delete keys in a Linked list
Number of root to leaf paths
Find the Closest Element in BST
Check whether BST contains Dead End
Maximum path sum in matrix
Maximum difference between node and its ancestor
Make Binary Tree From Linked List
Count ways to N'th Stair(Order does not matter)
Maximum Index
Prime Factors and their Powers
Rotate a 2D array without using extra space
Minimum steps to get desired array
Find Prime numbers in a range
Number of paths
Max sum path in two arrays
Count total set bits
Pythagorean Triplet
Sum of Middle Elements of two sorted arrays
Implement Atoi
Preorder to PostOrder
Preorder Traversal and BST
Kth element in Matrix
Max sum in the configuration
Boolean Matrix
Number of paths in a matrix with k coins
Find kth element of spiral matrix
Spirally traversing a matrix
Validate an IP Address
Water Collection
Reverse alternate nodes in Link List
Length of the longest substring
Extreme nodes in alternate order
Rearrange an array with O(1) extra space
Taking 1 out of 3 consecutives
Kth smallest element
Factorials of large numbers
Longest Even Length Substring
Search Pattern (KMP-Algorithm)
Equal Sum
Find Missing And Repeating
Check if subtree
Minimum sum
Minimum number of jumps
Egg Dropping Puzzle
Number of Unique Paths
Skip the work
Unique BST's
Segregate even and odd nodes in a Linked List
Case-specific Sorting of Strings
Subsequence matching
Sorted insert for circular linked list
Surpasser Count
Min distance between two given nodes of a Binary Tree
Lowest Common Ancestor in a Binary Tree
Absolute List Sorting
Smallest number on left
Merge 2 sorted linked list in reverse order
Add all greater values to every node in a BST
Delete a node from BST
Construct Binary Tree from Inorder and Postorder
Find the number of subarrays having even sum
Sum Tree
Count the number of possible triangles
Two Repeated Elements
Search in a Rotated Array
Possible groups
Rearrange Array Alternately
Triplet Sum in Array
Max Sum without Adjacents
Majority Element
Smallest window in a string containing all the characters of another string
Maximum Rectangular Area in a Histogram
Max rectangle
Merge Without Extra Space
Matrix Chain Multiplication
Merge two BST 's
Edit Distance
Find median in a stream
Binary Tree to DLL
Fixing Two nodes of a BST
Boolean Parenthesization
Form a palindrome
Minimum sum partition
Subtraction in Linked List
Return two prime numbers
Solve the Sudoku
N-Queen Problem
Nodes at given distance in binary tree
AVL Tree Deletion
Wildcard Pattern Matching
Bit Difference
Clone a linked list with next and random pointer
Maximum Profit
Count Pairs in an Array
AVL Tree Insertion
Merge Without Extra Space
Reorder List
Ugly Numbers
Count Smaller elements