Domanda di colloquio di Bloomberg

Remove every nth element from cyclical elements and return the index