Please Login first to view the editorial. Click here to



Related Problems
Problem Name Submissions Accuracy
Next larger element 50304 33.32
Parenthesis Checker 76118 27.18
Evaluation of Postfix Expression 5892 56.25
Maximum Rectangular Area in a Histogram 15431 49.97
Print Bracket Number 5954 45.63
Maximum of all subarrays of size k 40146 44.16
Pythagorean Triplet 39520 38.09
Edit Distance 36179 33.33
Infix to Postfix 9427 44.02
Valid Substring 7325 31.87
Smallest number on left 4157 46.12
Count the Reversals 4345 42.86
Longest valid Parentheses 21034 24.1
Trapping Rain Water 33699 42.45
Stock buy and sell 49707 30.43
Maximum of minimum for every window size 5030 44.04
Stickler Thief 24252 32.98
Next Permutation 13450 42.62
Largest Number formed from an Array 27412 40.41
Minimum Cost of ropes 11808 46.71