Spotify Interview Question

coding interview: return list of texts between two given string in a paragraph