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.

[459, 172, 489, 263, 163, 437, 246, 265, 466, 146, 332, 350, 236, 401, 467, 104, 130, 230, 468, 74]
[459, 172, 74, 263, 163, 437, 246, 265, 466, 146, 332, 350, 236, 401, 467, 104, 130, 230, 468, 489]

[311, 319, 362, 321, 22, 213, 35, 453, 117, 287, 461, 66, 234, 37, 250, 470, 108, 25, 334, 387]
[311, 319, 362, 321, 470, 213, 35, 453, 117, 287, 461, 66, 234, 37, 250, 22, 108, 25, 334, 387]

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

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