Get unlimited access
Open in app
Home
Notifications
Lists
Stories

Write
Aanchal Patial
Aanchal Patial

May 31, 2020

·
1 min read

Last Day of 31-Day May LeetCode Challenge

Given two words word1 and word2, find the minimum number of operations required to convert word1 to word2.

You have the following 3 operations permitted on a word:

  1. Insert a character
  2. Delete a character
  3. Replace a character

--

--

More from Aanchal Patial

We never really grow up, we only learn how to act in public

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

Try Knowable

Recommended from Medium

Arijit Chowdhury

Arijit Chowdhury

Deploy React App with React Router to Github Pages for Free

Lewis Fairweather

Lewis Fairweather

in

JavaScript in Plain English

How to Use JSON-LD for Advanced SEO in Angular

Mobile Device with Google Chrome Logo
Eroosamuyi

Eroosamuyi

JavaScript Equality

Brett DeWoody

Brett DeWoody

Inlining SVGs in Eleventy

Haifeng Wang

Haifeng Wang

Node globals-Node.js essential knowledge 1

Kunal

Kunal

in

Frontend Shortcut

Why JavaScript should be your first Programming language

Hemanshu

Hemanshu

Add a splash screen in React Native Expo Apps

David Schnurr

David Schnurr

Better Reusable React Components with the Overrides Pattern

AboutHelpTermsPrivacy


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
Aanchal Patial

Aanchal Patial

We never really grow up, we only learn how to act in public

More from Medium

PHIL

PHIL

in

Coding Memo

[Leetcode] Unique Paths

Ayush Singh

Ayush Singh

Minimum Hop Cost [Dynamic Programming]

Tiankai Xie

Tiankai Xie

Solutions for LeetCode 743

Jonathan Chao

Jonathan Chao

The Blind 75 Leetcode Series: Minimum Window Substring

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable