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: [427, 96, 142, 132, 231, 208, 368, 234, 238, 157, 365, 428, 149, 429, 337, 206, 260, 436, 194, 424]

Answer: [427, 436, 142, 132, 231, 208, 368, 234, 238, 157, 365, 428, 149, 429, 337, 206, 260, 96, 194, 424]


Question: [338, 79, 27, 229, 433, 471, 328, 497, 474, 322, 424, 42, 341, 393, 32, 479, 280, 493, 428, 103]

Answer: [338, 79, 497, 229, 433, 471, 328, 27, 474, 322, 424, 42, 341, 393, 32, 479, 280, 493, 428, 103]


Question: [304, 238, 225, 39, 179, 446, 165, 139, 69, 450, 51, 374, 188, 193, 68, 259, 433, 464, 127, 63]

Answer:
[304, 238, 225, 464, 179, 446, 165, 139, 69, 450, 51, 374, 188, 193, 68, 259, 433, 39, 127, 63]