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]: [412, 382, 419, 44, 424, 49, 395, 14, 131, 181, 19, 323, 51, 494, 417, 124, 10, 206, 428, 387]
[A]: [412, 382, 419, 44, 424, 49, 395, 14, 131, 181, 19, 323, 51, 10, 417, 124, 494, 206, 428, 387]


[Q]: [402, 205, 172, 213, 11, 123, 489, 47, 283, 158, 291, 63, 77, 246, 463, 103, 372, 167, 245, 498]
[A]: [402, 205, 172, 213, 498, 123, 489, 47, 283, 158, 291, 63, 77, 246, 463, 103, 372, 167, 245, 11]


[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]


