Leetcode 1165. Single-Row Keyboard | Hello Interview