Razorpay interview question

Word ladder,sorting , minimum among the group