The functions breaks for given input: ``` seq = [2, 5, 7, 3, 4, 9, 2, 3, 3, 2] k = 8 ``` > Cannot read property '0' of undefined