Maximum Pair Sum Below Threshold — Coding problem | OneNoughtOne