Problem 3296 · Medium
Binary search the total time and let each worker remove as many layers as that time allows.
Open the interactive visualisation