In this video we are to solve the “Chefina and prefic suffix” problem from codechef jan 2020 long challenge.

This was 5th problem in the DIV2 in this long challenge.

This problem requires the basic knowledge of combinatorics and prefix and suffix series , these concepts are enough to solve this problem.

if you think this video was helpful leave a like here and at codechef article for this problem here : .

problem link : https://www.codechef.com/JAN20B/problems/CHEFPSA

solution link : https://www.codechef.com/viewsolution/28825516

Thank you guys for watching and keep coding.

CodeNCdode