Epic Interview Question

Leetcode: List all well-ordered strings of a certain K length