Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Creative category for Swap Nodes by Rounin
def swap_nodes(a):
return list(map(lambda i: a[min(len(a)-1, i+1 - 2*(i&1))], range(len(a))))
May 2, 2020
Comments: