Shortest Word Edit Path

source = "bit", target = "dog"
words = ["but", "put", "big", "pot", "pog", "dog", "lot"]
output: 5
explanation

--

--

--

Actuary | ML Practitioner | Apply Tomorrow's Technology to Solve Today's Problems

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Top Five Reasons to take the CSSLP Exam This Year!

Building a Community for Software Users

Abstract Data Types: Starting with Nodes and Linked Lists

Find Deleted Branch With Git Reflog in Powershell

5 Day Workshop on Maintenance Planning

Disaster Recovery with Azure SQL Managed Instance

Traditional Project Management Vs Agile Product Development

Clippy’s guide to PennApps Winter 2018

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Yaokun Lin @ MachineLearningQuickNotes

Yaokun Lin @ MachineLearningQuickNotes

Actuary | ML Practitioner | Apply Tomorrow's Technology to Solve Today's Problems

More from Medium

LightGBM Starter Code

USING DATA TO PREDICT THE EXIT OF CUSTOMERS

Python: Create Adjacency List (Graph) From CSV Columns

Have you heard of the Zen of Python?