Unravel Data interview question

API, CI/CD, Basic Coding question on string and list