Time Complexity of KMP String Matching

Company: Recruit CRM_27aug

Difficulty: easy