Topic: Matrix Manipulation Problem / Level: advanced

Problem: Write a program to check if a matrix is a valid distance metric and compute its properties.

Run the code to see the output here...