0
I am trying to solve the following Codewars kata.
We are given a list as
seq = [0, 1, 2, 2]
We will have to write a function that will, firstly, add elements in the list using the following logic.
if n = 3 and as seq[n]=2, the new list will be seq = [0, 1, 2, 2, 3, 3]
if n = 4 and as seq[n]=3, th...