Gorilla And Permutation Leetcode