Domanda di colloquio di BeaconFire Solution

Easy leetcode question on strings