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: [181, 410, 164, 375, 232, 351, 327, 52, 382, 128, 162, 248, 344, 478, 477, 284, 243, 73, 218, 35]

Answer: [181, 410, 164, 375, 232, 351, 327, 52, 382, 128, 162, 248, 344, 35, 477, 284, 243, 73, 218, 478]


Question: [275, 398, 432, 305, 25, 124, 329, 12, 422, 466, 295, 96, 29, 365, 427, 389, 284, 397, 13, 99]

Answer: [275, 398, 432, 305, 25, 124, 329, 466, 422, 12, 295, 96, 29, 365, 427, 389, 284, 397, 13, 99]


Question: [55, 363, 280, 341, 335, 185, 264, 143, 277, 88, 491, 282, 416, 301, 24, 288, 407, 23, 62, 93]

Answer:
[55, 363, 280, 341, 335, 185, 264, 143, 277, 88, 23, 282, 416, 301, 24, 288, 407, 491, 62, 93]