An Algorithm Problem

Updated: Sep 4, 2019