my attempt at solving leetcode 806: number of lines to write string [SOLVED] Published -- Download video MP4 360p