I was trying a problem in the DSA learning series, dynamic programming basic level,
can anyone say what is difference between these 2 codes:
https://www.codechef.com/viewsolution/47014321
https://www.codechef.com/viewsolution/47342871
I used same logic, in fact I viewed other person’s solution and i tried, only variable names are changed , then how come , i get partially correct and he get AC