Detailed Instructions: 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.
Problem:[362, 207, 161, 47, 268, 177, 18, 311, 12, 137, 368, 493, 300, 447, 140, 448, 495, 405, 388, 244]
Solution:
[362, 207, 161, 47, 268, 177, 18, 311, 495, 137, 368, 493, 300, 447, 140, 448, 12, 405, 388, 244]