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: [292, 152, 415, 277, 64, 30, 247, 444, 25, 348, 178, 167, 122, 347, 131, 484, 69, 22, 231, 349]

Answer: [292, 152, 415, 277, 64, 30, 247, 444, 25, 348, 178, 167, 122, 347, 131, 22, 69, 484, 231, 349]

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

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

Question: [117, 339, 458, 196, 352, 486, 260, 72, 55, 238, 395, 455, 33, 118, 142, 408, 348, 70, 379, 233]

Answer:
[117, 339, 458, 196, 352, 33, 260, 72, 55, 238, 395, 455, 486, 118, 142, 408, 348, 70, 379, 233]