Please Login first to view the editorial. Click here to



Related Problems
Problem Name Submissions Accuracy
Shortest path from 1 to n 10161 39.54
X Total Shapes 8655 56.98
Count the paths 4635 22.97
Possible paths 6435 18.75
Transitive closure of a Graph 4920 23.58
Sum of dependencies in a graph 5614 64.66
Unit Area of largest region of 1's 7266 36.44
Floyd Warshall 6353 36.08
Kadane's Algorithm 122713 32.92
Snake and Ladder Problem 7809 35.7
N-Queen Problem 13650 32.75
Word Boggle 20482 17.28
Circle of strings 6774 20.49
Replace O's with X's 4322 21.56
Knight Walk 9876 31.55
Maximum Tip Calculator 30938 16.86
Your Social Network 532 51.68
Rotate and delete 15454 35.14
Flood fill Algorithm 8464 41.72
Find median in a stream 35426 30.57