224. Distance Metrics for Sparse Vectors
medium

Two high-dimensional sparse vectors are compared using Euclidean and cosine distance. The vectors share many zero-valued dimensions. Which metric is more appropriate and why?