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.

Example Input: [381, 400, 249, 254, 218, 89, 138, 417, 447, 419, 83, 15, 108, 228, 307, 102, 226, 65, 320, 224]
Example Output: [381, 400, 249, 254, 218, 89, 138, 417, 15, 419, 83, 447, 108, 228, 307, 102, 226, 65, 320, 224]

Example Input: [25, 198, 30, 463, 163, 442, 215, 415, 443, 402, 275, 82, 111, 137, 63, 421, 102, 305, 118, 404]
Example Output: [463, 198, 30, 25, 163, 442, 215, 415, 443, 402, 275, 82, 111, 137, 63, 421, 102, 305, 118, 404]

Example Input: [265, 475, 341, 442, 418, 161, 53, 69, 485, 331, 436, 450, 144, 455, 98, 488, 333, 273, 221, 51]
Example Output:
[265, 475, 341, 442, 418, 161, 53, 69, 485, 331, 436, 450, 144, 455, 98, 51, 333, 273, 221, 488]

