PLZ EXPLAIN BABY - STEP GIANT-STEP ALGORITHM

Can someone explain me in detail the algorithm BABY - STEP GIANT-STEP which i came to know by seeing this problem Programming tutorials, Coding problems, and Practice questions

I tried in various tutorials but unable to understand.

Thank You!

see this …MAXimal :: algo :: Дискретное логарифмирование алгоритмом baby-step-giant-step Шэнкса

Thansk @avi892nash.I am unaable to understand the implementation part.If you don’t mind can you spare some time.