Qeexo interview question

The coding question involves string manipulation in the final round