72. Edit Distance
·
Algorithm
Edit Distance - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 정직하게 편집 거리 알고리즘을 구현하는 문제다. 1. 편집 거리 알고리즘 class Solution: def minDistance(self, word1: str, word2: str) -> int: len1, len2 = len(word1), len(word2) board = [[0] * (len2 + 1) for _ in range(len1 + 1)] for i in range(len(..