The test case in LeetCode is more readable compare to other online judges.
 1 doesn't mean there are only 2 params.
 indicates the
n=1 and the array has one element 1. The last
1 represents the k.
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.