Verify Business Name Overlap with Nickname
Given a business name and a nickname-like nickname field, determine whether their word overlap is sufficient.
Rules:
- Split
nameinto whitespace-separated words. - Ignore company-suffix wor...
Example
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:
