3 Lines Simple Solution for 1920. Build array from permutation leetcode problem.

Click a thumbnail to watch in a lightweight modal. (No downloads — view only.)