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.

Q: [378, 396, 254, 444, 434, 114, 369, 100, 122, 360, 312, 385, 165, 387, 416, 321, 374, 341, 69, 76]

A: [378, 396, 254, 69, 434, 114, 369, 100, 122, 360, 312, 385, 165, 387, 416, 321, 374, 341, 444, 76]
****
Q: [383, 310, 136, 63, 432, 287, 124, 203, 359, 221, 423, 493, 265, 363, 146, 76, 210, 48, 32, 119]

A: [383, 310, 136, 63, 432, 287, 124, 203, 359, 221, 423, 32, 265, 363, 146, 76, 210, 48, 493, 119]
****
Q: [427, 96, 142, 132, 231, 208, 368, 234, 238, 157, 365, 428, 149, 429, 337, 206, 260, 436, 194, 424]

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