I was solving question 216D - Spider's Web and getting tle over my submission 76082614 . Is it due to higher number of function calling or solution could be further optimized?
Why code giving TLE ?
I was solving question 216D - Spider's Web and getting tle over my submission 76082614 . Is it due to higher number of function calling or solution could be further optimized?