PLS explain for the test case

for n = 4;
consider: 10111001

as per the explanation, i will have to divide this string in
1011 | 1001
which is incorrect

Which problem are you talking about?