educative.io

How we came across this alogrithm for number of flips

Please Elaborate it

Hi @Nihal_Kumar, Thank you for reaching out to us

Can you please share the lesson link for this problem?

I hope Educative has helped you in your learning :slight_smile: