Lenskart Solutions Interview Question

1. One medium-level string-based problem