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: [175, 495, 288, 382, 334, 62, 268, 473, 452, 447, 232, 463, 163, 432, 465, 257, 145, 23, 110, 380]

Answer: [175, 23, 288, 382, 334, 62, 268, 473, 452, 447, 232, 463, 163, 432, 465, 257, 145, 495, 110, 380]


Question: [302, 130, 294, 366, 18, 311, 261, 263, 349, 160, 48, 323, 455, 177, 477, 384, 69, 377, 232, 107]

Answer: [302, 130, 294, 366, 477, 311, 261, 263, 349, 160, 48, 323, 455, 177, 18, 384, 69, 377, 232, 107]


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

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