Amount of Time for Binary Tree to Be Infected

mediumSolve on LeetCodeLast edited: August 2, 2025