Problem Description Link
When shopping on Long Street, Michael usually parks his car at some random location,
and then walks to the stores he needs. Can you help Michael choose a place to park which minimizes the distance he needs to walk on his shopping round?
Now you can follow this technique to solve this problem
Algorithm:
It is a simple problem this problem says that When shopping on Long Street, Michael usually parks his car at some random location,
and then walks to the stores he needs. Can you help Michael choose a place to park which minimizes the distance he needs to walk on his shopping round?
Now you can follow this technique to solve this problem