1199: Minimum Time to Build Blocks

Problem Statement