Microsoft Interview Report
- 0of 0 votes
Answerswrite a function to check given string matches with given pattern
- Andi November 24, 2012 in India
Condition: only one wildcard used in the pattern, that is '*', but can be used in the pattern more than once.
Example:
pattern: *abc*def*.doc*
str: adsfabcxyzdefgh.docx
fucntion signature is like: boolean isMatching(String str, String pattern);| Report Duplicate | Flag | PURGE
Microsoft
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.