reverse nodes in K group