Indeed interview question

Basic string manipulation problems and some abstract math concepts, nothing hard really