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: [402, 206, 116, 203, 177, 470, 131, 168, 396, 66, 450, 225, 460, 314, 166, 426, 209, 467, 267, 389]

A: [402, 206, 116, 203, 177, 66, 131, 168, 396, 470, 450, 225, 460, 314, 166, 426, 209, 467, 267, 389]
****
Q: [406, 96, 257, 366, 379, 330, 393, 91, 131, 465, 210, 135, 385, 484, 295, 201, 146, 94, 342, 205]

A: [406, 96, 257, 366, 379, 330, 393, 484, 131, 465, 210, 135, 385, 91, 295, 201, 146, 94, 342, 205]
****
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]
****