Neural Ninjas · DSA Simulation Labs · Lab 50

✏️ The Word Morpher

Turning one word into another, one letter operation at a time. Every cell picks the cheapest of three moves: delete (up), insert (left), or replace (diagonal) — each costs 1, unless the letters already match, which costs nothing at all.

Fill Log

Controls

✅ Free MatchIf the letters already agree, I cost nothing — just copy the diagonal value straight across. No operation needed at all.
💸 Edit CostDelete, insert, or replace — every single one of these costs exactly 1. I always take whichever of the three neighbors is cheapest.
Pick a level above to begin.