Ad
  • Custom User Avatar

    Got it thanks!

  • Custom User Avatar

    if n is 3, then you should return [0,0,0]

  • Custom User Avatar

    Is the statement below correct? I'm a bit confused on how to approach this.
    Since 3 is more than the length of the pattern, so the pattern will repeat right (fib-fib-tri)?

    zozonacci(["fib", "tri"], 3) == [0, 0, 0, 1, 1, 2]

    Thank you in advance!