Discussion About Only Ladders

This is Discussion thread about Only Ladders

My solution is right but first test case is failing.Plz check