Leetcode 1409. Queries on a Permutation With Key | Hello Interview