Should the example output be 4?
For the example output, should it be 4 instead?\n\nInput: A = [5,4,0,3,1,6,2]\nOutput: 6\nExplanation: \nA[0] = 5, A[1] = 4, A[2] = 0, A[3] = 3, A[4] = 1, A[5] 
For the example output, should it be 4 instead?\n```\nInput: A = [5,4,0,3,1,6,2]\nOutput: 6\nExplanation: \nA[0] = 5, A[1] = 4, A[2] = 0, A[3] = 3, A[4] = 1, A[5] = 6, A[6] = 2.\n\nOne of the longest S[K]:\nS[0] = {A[0], A[5], A[6], A[2]} = {5, 6, 2, 0}\n```
[]