Algotec interview question

implement a function that returns a string without spaces.