Frage im Vorstellungsgespräch bei Nagarro

Coding: find cyclic palindrome, sort array after remove any item form list