this is book allocation problem
giving ans right at all input and all test cases are failed
All test cases are failed
same as earlier
and why it should even affect ??
0- max value of array false aa jayega aur baaki ka common hi h
check this -> https://ide.codingblocks.com/s/252242
agar hum s=0 karenge to hamara search space galat ho jayega .
minimum pages max in array hi hoga usse kam nahi ho sakta.
bhai mai yeh toh samaj gya aur test case pass bhi ho gya
lekin 0-max tak false aa jayega aur max se end tak normal toh affect kyu ho rha h ??
aur lecture m sir ne bhi bola tha ki search space 0 se bhi le skte h
ok mein test case dekhta hu ,jaha pe 0 pe fail ho raha hai.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.
bhai ek problem h mai toh doubt close krna chahata lekin shayad CB walo ne website update kri h toh doubt resolve nhi ho rhaa