I am getting answer as
sat
rat
are
zap
xem
But it is expected that we should get this
are
rat
sat
xem
zap
This question is very simple but , I dont get the flaw .
Thank you gary .
I invested about 2 hours on this simple thing .
Its was so silly of me.
We've all been there. Sometimes we stare at code for too long that we miss the actual problem. A second eye would not hurt either.
Glad I softened the head banging.