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.
--------
Question: [224, 469, 451, 462, 389, 258, 265, 276, 470, 366, 128, 432, 36, 133, 159, 213, 317, 467, 248, 89]

Answer: [224, 469, 451, 462, 389, 258, 265, 276, 36, 366, 128, 432, 470, 133, 159, 213, 317, 467, 248, 89]


Question: [174, 287, 437, 168, 125, 479, 31, 262, 301, 291, 102, 37, 152, 335, 325, 153, 248, 213, 233, 34]

Answer: [174, 287, 437, 168, 125, 31, 479, 262, 301, 291, 102, 37, 152, 335, 325, 153, 248, 213, 233, 34]


Question: [145, 256, 227, 230, 158, 361, 400, 68, 148, 15, 86, 454, 450, 102, 154, 451, 205, 199, 376, 364]

Answer:
[145, 256, 227, 230, 158, 361, 400, 68, 148, 454, 86, 15, 450, 102, 154, 451, 205, 199, 376, 364]