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: [72, 413, 263, 368, 213, 59, 15, 109, 330, 249, 419, 73, 267, 485, 499, 353, 210, 476, 118, 339]

A: [72, 413, 263, 368, 213, 59, 499, 109, 330, 249, 419, 73, 267, 485, 15, 353, 210, 476, 118, 339]
****
Q: [207, 308, 148, 303, 185, 297, 283, 217, 441, 433, 178, 486, 390, 228, 221, 489, 100, 299, 277, 452]

A: [207, 308, 148, 303, 185, 297, 283, 217, 441, 433, 178, 486, 390, 228, 221, 100, 489, 299, 277, 452]
****
Q: [292, 152, 415, 277, 64, 30, 247, 444, 25, 348, 178, 167, 122, 347, 131, 484, 69, 22, 231, 349]

A:
[292, 152, 415, 277, 64, 30, 247, 444, 25, 348, 178, 167, 122, 347, 131, 22, 69, 484, 231, 349]
****