Publicis Sapient interview question

Develop a URL shorter service in Fast API Move zeroes in place in array