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.

[190, 136, 460, 107, 184, 48, 278, 318, 27, 308, 173, 333, 281, 253, 296, 396, 299, 90, 255, 301]
[190, 136, 27, 107, 184, 48, 278, 318, 460, 308, 173, 333, 281, 253, 296, 396, 299, 90, 255, 301]

[190, 43, 71, 390, 182, 235, 154, 282, 493, 69, 468, 317, 489, 132, 336, 375, 160, 432, 163, 374]
[190, 493, 71, 390, 182, 235, 154, 282, 43, 69, 468, 317, 489, 132, 336, 375, 160, 432, 163, 374]

[161, 38, 129, 34, 32, 387, 172, 89, 220, 189, 257, 229, 218, 43, 268, 39, 210, 411, 22, 99]

[161, 38, 129, 34, 32, 387, 172, 89, 220, 189, 257, 229, 218, 43, 268, 39, 210, 22, 411, 99]