3406: Find the Lexicographically Largest String From the Box II

Problem Statement