AlgoSec interview question

Leetcode easy question tranfer zeroes