Tech Mahindra interview question

Implode and explode