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: [438, 318, 174, 351, 424, 156, 443, 43, 142, 83, 234, 180, 494, 49, 376, 145, 115, 194, 280, 44]

Answer: [438, 318, 174, 351, 424, 156, 443, 494, 142, 83, 234, 180, 43, 49, 376, 145, 115, 194, 280, 44]

Question: [152, 116, 100, 375, 391, 303, 242, 390, 269, 470, 277, 35, 184, 350, 292, 347, 441, 29, 262, 171]

Answer: [152, 116, 100, 375, 391, 303, 242, 390, 269, 29, 277, 35, 184, 350, 292, 347, 441, 470, 262, 171]

Question: [25, 266, 227, 468, 309, 322, 381, 155, 271, 86, 284, 469, 108, 499, 389, 184, 464, 384, 198, 352]

Answer:
[499, 266, 227, 468, 309, 322, 381, 155, 271, 86, 284, 469, 108, 25, 389, 184, 464, 384, 198, 352]