Trying to debug this code, where given a vector {1,2}, it should print out {1,2,2,4}. However, I'm getting an infinte loop.Trying to debug this code, where given a vector
Trying to debug this code, where given a vector {1,2}, it should print out {1,2,2,4}. However, I'm getting an infinte loop.Trying to debug this code, where given a vector