Should improve the wording (unprecise)

  • 2

    It is not clear that the direction in which we pass a dress can be different for different machines during one round.
    To make that clear, we should add an example like:
    Input: [2,0,0,2]
    Ouptut: 1
    1st move: 2 --> 0 0 <-- 2 => 1 1 1 1

Log in to reply

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.