final remove single odd element with no duplicates, complexity O(n^2) OK