how to calculate distance in same question
Shortest path string
Hello @vishal_sangal_123 you mean by displacement between the coordinates we have calculated?
if yes then you can find this in the way like:
if a is the distance at you x axis and b is the distance at your y axis then the displacement will be:
square root of (a^2+b^2)
this is the displacement.
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.