Q: In this task, you are given a list of unique integers you need to swap the positions of maximum and minimum element in the list and return the updated list.
[488, 495, 268, 140, 130, 379, 67, 298, 407, 250, 449, 74, 499, 465, 66, 426, 215, 43, 251, 374]
A:
[488, 495, 268, 140, 130, 379, 67, 298, 407, 250, 449, 74, 43, 465, 66, 426, 215, 499, 251, 374]