Weighted Harmonic Mean of Precision… — Coding problem | OneNoughtOne