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: [178, 290, 466, 27, 49, 124, 287, 462, 459, 486, 489, 464, 48, 13, 293, 136, 482, 407, 336, 415]

A: [178, 290, 466, 27, 49, 124, 287, 462, 459, 486, 13, 464, 48, 489, 293, 136, 482, 407, 336, 415]
****
Q: [282, 38, 402, 29, 79, 187, 434, 308, 398, 386, 470, 358, 266, 214, 145, 115, 380, 66, 20, 136]

A: [282, 38, 402, 29, 79, 187, 434, 308, 398, 386, 20, 358, 266, 214, 145, 115, 380, 66, 470, 136]
****
Q: [157, 434, 175, 478, 388, 418, 362, 274, 292, 343, 81, 493, 447, 146, 125, 190, 134, 468, 104, 101]

A:
[157, 434, 175, 478, 388, 418, 362, 274, 292, 343, 493, 81, 447, 146, 125, 190, 134, 468, 104, 101]
****
