BETA

Please Login first to view the editorial. Click here to

;

Related Problems
Problem Name Submissions Accuracy
Maximum Index 41818 31.25
Next Permutation 10227 38.89
Sum of GCDs 519 4.04
Binary Tree K level sum 6161 28.51
Shortest distance in infinite tree 2151 42.17
Water Overflow 9273 21.34
Kadane's Algorithm 90804 32.92
Longest Increasing Subsequence 59090 28.09
Longest Palindrome in a String 32843 31.67
Column name from a given column number 14490 30.03
K’th smallest element 17418 58.64
First non-repeating character in a stream 21086 32.04
Mail System Design 2580 18.29
Find the Highest number 8947 46.5
Remove common characters and concatenate 12166 28.84
Prime number of set bits 3152 48.36
Save Ironman 20146 23.71
Search in a Rotated Array 24276 38.1
Longest Common Subsequence 39067 33.33
Count ways to reach the n’th stair 13017 29.43