Why wrong answer?

This is Kadance Algo rite?