Pregunta de entrevista de ByteDance

Max width binary tree and some DP question