I am not able to implement this code can anybody provide the code or algorithm

actually i am not able to update lb and rb

@jatinkumarjk2001

You can check this out then.

If your doubt is resolved please mark it as closed.