Code not understandable


This is the more optimised version of LIS.I can’t understand the code specially ceil function.Can u please explain the code by comments.

@Hk199977
Which ceil function are you talking about?

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.