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: [140, 445, 344, 121, 328, 36, 73, 139, 244, 416, 309, 192, 319, 134, 412, 93, 195, 355, 76, 279]

A: [140, 36, 344, 121, 328, 445, 73, 139, 244, 416, 309, 192, 319, 134, 412, 93, 195, 355, 76, 279]
****
Q: [412, 382, 419, 44, 424, 49, 395, 14, 131, 181, 19, 323, 51, 494, 417, 124, 10, 206, 428, 387]

A: [412, 382, 419, 44, 424, 49, 395, 14, 131, 181, 19, 323, 51, 10, 417, 124, 494, 206, 428, 387]
****
Q: [327, 436, 340, 301, 485, 256, 28, 448, 492, 271, 276, 431, 130, 359, 91, 221, 319, 87, 157, 224]

A:
[327, 436, 340, 301, 485, 256, 492, 448, 28, 271, 276, 431, 130, 359, 91, 221, 319, 87, 157, 224]
****