Given a string and pattern with (*, ?) Check if it can match the string.

0 votes
asked in Interview Question by shivani
Given a string and pattern with (*, ?) Check if it can match the string.
*  => Matches any number of characters
? => Matches a single letter

Example: String = waytocrack
                Pattern= w?y*c?
               Answer = Yes
Add question to:

1 Answer

0 votes
answered by shivani
...