Ad
  • Default User Avatar

    In PHP, I get an error that says:

    Expected: Array (

    0 => 1

    1 => 1

    2 => 1

    3 => 3

    4 => 5

    5 => 9

    6 => 17

    7 => 31

    8 => 57

    9 => 105

    10 => 193

    )

    However when I look at the test cases it says:

    $this->assertEquals(tribonacci([1,1,1],10),[1,1,1,3,5,9,17,31,57,105]);