Create a function that takes in an array of ids and returns the ids that were present in the array an odd number of times.
Use the signature def odd_occurrence_ids(ids):. Return each qualifying ID once, preserving the order of its first appearance. IDs are integers, and an empty input should return an empty array.
Example: [4, 7, 4, 7, 7] returns [7]; [1, 2, 1, 2] returns [].
def odd_occurrence_ids(ids):