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: [277, 412, 88, 399, 406, 323, 449, 20, 33, 443, 418, 405, 254, 224, 390, 269, 61, 146, 203, 195]

Answer: [277, 412, 88, 399, 406, 323, 20, 449, 33, 443, 418, 405, 254, 224, 390, 269, 61, 146, 203, 195]

Question: [190, 43, 71, 390, 182, 235, 154, 282, 493, 69, 468, 317, 489, 132, 336, 375, 160, 432, 163, 374]

Answer: [190, 493, 71, 390, 182, 235, 154, 282, 43, 69, 468, 317, 489, 132, 336, 375, 160, 432, 163, 374]

Question: [55, 409, 435, 374, 277, 460, 418, 43, 450, 399, 210, 260, 178, 289, 57, 262, 495, 499, 112, 26]

Answer:
[55, 409, 435, 374, 277, 460, 418, 43, 450, 399, 210, 260, 178, 289, 57, 262, 495, 26, 112, 499]