Shortest Completing Word Problem

Shortest Completing Word Problem — ExecCode Easy DSA Practice

Solve the Shortest Completing Word problem on ExecCode. Free online easy DSA practice in Arrays - Logic Building. Write and run code in Java, C++, Python — no signup required to run.

Description Given a string licensePlate and an array of strings words, find the shortest completing word in words. A completing word is a word that contains all the letters in licensePlate. Ignore numbers and spaces in licensePlate, and treat letters as case insensitive. If a le…

Practice Shortest Completing Word free on ExecCode. Browse more ExecCode DSA problems.