Approach hintTry it first, then revealHide
Build the answer one character at a time. The strings that start with H number C(h + v - 1, v); compare k with this count to choose the next letter, and reduce k when you choose V.
Build the answer one character at a time. The strings that start with H number C(h + v - 1, v); compare k with this count to choose the next letter, and reduce k when you choose V.