Error in the outcome

error is coming in this.
pls rectify it and send the code again .

hello @juyal.sid

image

this loop should not be here instead
it should be
k[i]=bitonic(arr,n)

if i place this in last loop
then error is coming that arr and n is not defined in that loop.

no need to place it anywhere.
simply remove those highlighted for loop.

then where will the max variable returned from bitonic function be stored if i remove the loop??

in k
after removing that loop
write this line.
k[i]=bitonic();

what are you sending?
kuch bhi??

pls send the code with your suggestions

ye kya tha?

sorry sent my mistake.
was not able to implement your help.

actually these problems are taking me more than hours and still sometimes i am not able to answer some questions.
So can you share some tips as i am a beginner in dsa and i am in first year of my college.
how should i proceed in this course as this course is for 6 months only and i joined late also.(so 5 months now) and the questions seems too tough like the rainwater harvestor one. About how should i learn faster.
pls tell

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.