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.

[157, 434, 175, 478, 388, 418, 362, 274, 292, 343, 81, 493, 447, 146, 125, 190, 134, 468, 104, 101]
[157, 434, 175, 478, 388, 418, 362, 274, 292, 343, 493, 81, 447, 146, 125, 190, 134, 468, 104, 101]

[176, 166, 493, 27, 119, 265, 62, 317, 489, 443, 455, 488, 461, 189, 142, 351, 404, 187, 14, 182]
[176, 166, 14, 27, 119, 265, 62, 317, 489, 443, 455, 488, 461, 189, 142, 351, 404, 187, 493, 182]

[83, 244, 378, 130, 291, 190, 199, 474, 112, 225, 109, 450, 228, 439, 143, 227, 394, 47, 203, 246]

[83, 244, 378, 130, 291, 190, 199, 47, 112, 225, 109, 450, 228, 439, 143, 227, 394, 474, 203, 246]

