Question about example 1
I didn\'t understand the example 1 in the description.\nIs there any typos?\n\nMy thoughts:\nOriginally nums = [1,1,0,0,0,1,1,0,0,1], k = 3, maxChanges = 1\nPic
I didn\'t understand the example 1 in the description.\nIs there any typos?\n\nMy thoughts:\nOriginally nums = [1,1,0,0,0,1,1,0,0,1], k = 3, maxChanges = 1\nPick aliceIndex = 1\nAt time 0, pick the 1 at aliceIndex and nums becomes [1,0,0,0,0,1,1,0,0,1];\nAt time 1, make index 2 from 0 to 1 through action 1: nums become [1,0,1,0,0,1,1,0,0,1];\nAt time 2, pick 1 through action 2 (index x = 2, y = 1): nums become [1,0,0,0,0,1,1,0,0,1]\nAt time 3, pick 1 through action 2 (index x = 0, y = 1): nums become [0,0,0,0,0,1,1,0,0,1]\n\nI really didn\'t get the example 1 in the task description. Could someone please explain it? Many thanks.
['Python3']