• I would add some assertions

Question related to mission Find Sequence

 

Guys,

Don't you think that this mission requires some tests with a matrix which contains not only digits less than 10. I would like to add two arrays:

  • array1 = [[1, 2, 7, 9], [12, 12, 12, 12], [5, 2, 6, 4], [0, 7, 2, 1]]`
  • array2 = [[1, 2, 7, 9], [1, 2, 3, 4], [1, 11, 11, 4], [0, 7, 2, 1]]

I have checked few solutions and some people uses strings to find a sequence, if they will take this array the result will be not correct (will not find 12, 12, 12, 12 and mistakenly take 1, 11, 11 as 11111)

What do you think?