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: [79, 333, 195, 449, 374, 267, 294, 64, 344, 237, 433, 385, 315, 185, 66, 473, 359, 265, 469, 120]

A: [79, 333, 195, 449, 374, 267, 294, 473, 344, 237, 433, 385, 315, 185, 66, 64, 359, 265, 469, 120]
****
Q: [10, 480, 227, 122, 103, 371, 175, 131, 151, 260, 125, 449, 394, 198, 255, 178, 417, 149, 140, 256]

A: [480, 10, 227, 122, 103, 371, 175, 131, 151, 260, 125, 449, 394, 198, 255, 178, 417, 149, 140, 256]
****
Q: [416, 325, 428, 413, 489, 314, 17, 375, 103, 16, 34, 183, 47, 111, 285, 281, 159, 86, 447, 107]

A:
[416, 325, 428, 413, 16, 314, 17, 375, 103, 489, 34, 183, 47, 111, 285, 281, 159, 86, 447, 107]
****