Manhattan Distance
It is not shortest distance between 2 points and is rather computed in a grid like structure.
It is more efficient than Euclidean distance in higher dimension. This is because the outliers are greatly considered at higher dim and Euclidean distance becomes unstable.
![](https://greengnomie.wordpress.com/wp-content/uploads/2024/02/image-1.png?w=441)
Euclidean Distance
It is the shortest distance and usually preferred at lower dimensions.
![](https://greengnomie.wordpress.com/wp-content/uploads/2024/02/image.png?w=1024)