Quantum Metric interview question

Html