Publicis Sapient interview question

Array / String manipulation LeetCode questions