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: [176, 166, 493, 27, 119, 265, 62, 317, 489, 443, 455, 488, 461, 189, 142, 351, 404, 187, 14, 182]

A: [176, 166, 14, 27, 119, 265, 62, 317, 489, 443, 455, 488, 461, 189, 142, 351, 404, 187, 493, 182]
****
Q: [420, 59, 180, 32, 111, 494, 38, 282, 435, 432, 147, 422, 414, 260, 51, 332, 343, 207, 362, 474]

A: [420, 59, 180, 494, 111, 32, 38, 282, 435, 432, 147, 422, 414, 260, 51, 332, 343, 207, 362, 474]
****
Q: [142, 384, 19, 322, 397, 411, 65, 214, 114, 75, 52, 40, 122, 337, 350, 289, 42, 236, 91, 386]

A:
[142, 384, 411, 322, 397, 19, 65, 214, 114, 75, 52, 40, 122, 337, 350, 289, 42, 236, 91, 386]
****
