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: [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]
****
Q: [320, 10, 227, 416, 142, 312, 60, 139, 293, 413, 376, 404, 407, 180, 379, 303, 286, 315, 26, 240]

A: [320, 416, 227, 10, 142, 312, 60, 139, 293, 413, 376, 404, 407, 180, 379, 303, 286, 315, 26, 240]
****
Q: [157, 298, 54, 206, 237, 485, 440, 282, 247, 450, 28, 280, 474, 496, 379, 390, 392, 217, 422, 165]

A:
[157, 298, 54, 206, 237, 485, 440, 282, 247, 450, 496, 280, 474, 28, 379, 390, 392, 217, 422, 165]
****