Microsoft Interview Question

Calculate distance between 2 stars