Stamping The Sequence

Problem: Stamping The Sequence

You are given two strings, stamp and target, with lengths m and n respectively.

Initially, a string of length n consists entirely of question marks:

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: