Find Superwords (keteki)
CodeChefOpen on judge ↗
Given are a few words in an array. A superword is a combination of concatenation those words in that array, or even a single word in that array. A word can be used multiple times to create a superword. Given such a list of words, print "Yes" if its a superword, else print "No" for each word in that list. (Quotes for clarity). Input: Input will contain two integers separated by spaces on a new li
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start