1055. Shortest Way to Form String - Solutions and Explanation | Vultr Docs