Book allocsation problem

WHAT IS WRONG IN THE CODE?

@Vibhuti0206
Return true at the end of your isValidConfig function.