Expedia Group Interview Question

String manipulation