Q: 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.
[134, 90, 332, 408, 359, 366, 186, 335, 474, 378, 249, 307, 302, 421, 171, 461, 422, 30, 344, 295]
A:
[134, 90, 332, 408, 359, 366, 186, 335, 30, 378, 249, 307, 302, 421, 171, 461, 422, 474, 344, 295]