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.
--------
Question: [66, 42, 133, 89, 419, 355, 104, 212, 452, 198, 240, 102, 496, 199, 68, 415, 364, 88, 491, 465]

Answer: [66, 496, 133, 89, 419, 355, 104, 212, 452, 198, 240, 102, 42, 199, 68, 415, 364, 88, 491, 465]

Question: [292, 152, 415, 277, 64, 30, 247, 444, 25, 348, 178, 167, 122, 347, 131, 484, 69, 22, 231, 349]

Answer: [292, 152, 415, 277, 64, 30, 247, 444, 25, 348, 178, 167, 122, 347, 131, 22, 69, 484, 231, 349]

Question: [25, 198, 30, 463, 163, 442, 215, 415, 443, 402, 275, 82, 111, 137, 63, 421, 102, 305, 118, 404]

Answer:
[463, 198, 30, 25, 163, 442, 215, 415, 443, 402, 275, 82, 111, 137, 63, 421, 102, 305, 118, 404]