Starting at cell destination
From any cell
Move down to 'V'.
Move right to 'H'.
A valid sequence of instructions consists of exactly row vertical moves 'V' and column horizontal moves 'H'.
There may be multiple valid instruction sequences that reach destination. When ordered lexicographically, 'H' comes before 'V'.
Given an array destination and an integer k, return the destination.
Constraints:
destination.length
destination
row, column
k
Starting at cell destination
From any cell
Move down to 'V'.
Move right to 'H'.
A valid sequence of instructions consists of exactly row vertical moves 'V' and column horizontal moves 'H'.
There may be multiple valid instruction sequences that reach destination. When ordered lexicographically, 'H' comes before 'V'.
Given an array destination and an integer k, return the destination.
Constraints:
destination.length
destination
row, column
k