somebody please help me i don’t know why my solution is getting a partially correct feedback
link to my solution
https://www.codechef.com/viewsolution/24455419
ur soln has time complexity as O(T*N) i.e O(N^2)
it wont work
use memoization
somebody please help me i don’t know why my solution is getting a partially correct feedback
link to my solution
https://www.codechef.com/viewsolution/24455419
ur soln has time complexity as O(T*N) i.e O(N^2)
it wont work
use memoization