Implement more optimal solution by pushing all elements from s1 to s2 to get the first node