If you are not sure if the website you would like to visit is secure, you can verify it here. Enter the website address of the page and see parts of its content and the thumbnail images on this site. None (if any) dangerous scripts on the referenced page will be executed. Additionally, if the selected site contains subpages, you can verify it (review) in batches containing 5 pages.
favicon.ico: leetcodejavascript.com/solutions/edit-distance - #72 - Edit Distance - LeetCode.

site address: leetcodejavascript.com/solutions/edit-distance redirected to: leetcodejavascript.com/solutions/edit-distance

site title: #72 - Edit Distance - LeetCode JavaScript Solutions

Our opinion (on Thursday 19 November 2026 0:37:14 UTC):

GREEN status (no comments) - no comments

Meta tags:
description=Given two strings word1 and word2, return the minimum number of operations required to convert word1 to word2. You have the following three ...;
keywords=leetcode, javascript, solutions, algorithms, data structures, coding, programming, coding challenges, coding problems, coding solutions;
author=;

Headings (most frequently used words):

72, edit, distance, problem, description, solution,

Text of the page (most frequently used words):
cache (10), word1 (8), word2 (8), length (6), string (3), return (3), else (3), character (3), leetcodejavascript (2), com (2), param (2), number (2), new (2), array (2), for (2), let (2), the (2), operations (2), view (2), github (2), leetcode (2), edit (2), distance (2), solutions (2), 2025, josh, crozier, var, mindistance, function, const, fill, map, math, min, solution, replace, delete, insert, you, have, following, three, permitted, word, given, two, strings, and, minimum, required, convert, problem, description, dynamic, programming, medium, back, all, star, javascript,


Text of the page (random words):
72 edit distance leetcode javascript solutions leetcodejavascript com star on github back to all solutions 72 edit distance medium view on leetcode view on github string dynamic programming problem description given two strings word1 and word2 return the minimum number of operations required to convert word1 to word2 you have the following three operations permitted on a word insert a character delete a character replace a character solution param string word1 param string word2 return number var mindistance function word1 word2 const cache new array word1 length 1 fill 0 map new array word2 length 1 for let i 0 i word1 length i for let j 0 j word2 length j if i 0 cache 0 j j else if j 0 cache i 0 i else if word1 i 1 word2 j 1 cache i j cache i 1 j 1 else cache i j math min cache i j 1 cache i 1 j 1 cache i 1 j 1 return cache word1 length word2 length 2025 leetcodejavascript com josh crozier
Thumbnail images (randomly selected): * Images may be subject to copyright.GREEN status (no comments)

    No Images


    Verified site has: 3 subpage(s). Do you want to verify them? Verify pages:

    1-3


    The site also has 3 references to external domain(s).

     github.com  Verify  leetcode.com  Verify  joshcrozier.com  Verify


    The site also has 1 references to other resources (not html/xhtml )

     github.com/JoshCrozier/leetcode-javascr___.js  Verify


    Top 50 hastags from of all verified websites.

    Supplementary Information (add-on for SEO geeks)*- See more on header.verify-www.com

    Header

    HTTP/1.1 301 Moved Permanently
    Date Thu, 19 Nov 2026 00:37:14 GMT
    Content-Type text/html; charset=UTF-8
    Transfer-Encoding chunked
    Connection close
    Location htt????/leetcodejavascript.com/solutions/edit-distance
    Report-To group : cf-nel , max_age :604800, endpoints :[ url : htt????/a.nel.cloudflare.com/report/v4?s=X%2FNiFb1jSL1ONj81gNKOCGQC%2FPUuQUPv7KHXeVwhaSRONiR6o6RdUPlucP2tbLyeTEDV7rOcQ%2BYmSaXDpX24m1hmnJ%2FXpzB01i%2FiEikGGQAwmw7HC40RgAJCXZ4kMniXDhtvsDcQPAgt ]
    Nel report_to : cf-nel , success_fraction :0.0, max_age :604800
    Server cloudflare
    CF-RAY a5cb252acda50df3-AMS
    alt-svc h3= :443 ; ma=86400
    HTTP/2 200
    date Thu, 19 Nov 2026 00:37:14 GMT
    content-type text/html; charset=utf-8
    x-frame-options DENY
    report-to group : cf-nel , max_age :604800, endpoints :[ url : htt????/a.nel.cloudflare.com/report/v4?s=NtltHTnif%2Bv4MhAUhArQ5Og9AbAqCk3hWnapt%2FBXTMPCIFtDg8QVcG2Em41UhjTWY5a4dHnHrFjWBVNsGtyAQ%2FIUelD9CAlJxhULgj0d9KsuMFBGR8wfO3dy6u2SmVoY3JHZp9mtsXwB ]
    nel report_to : cf-nel , success_fraction :0.0, max_age :604800
    access-control-allow-origin htt????/leetcodejavascript.com
    cache-control public, max-age=14400, must-revalidate
    x-content-type-options nosniff
    strict-transport-security max-age=31536000
    permissions-policy geolocation=(), microphone=(), camera=(), payment=(), usb=(), accelerometer=(), gyroscope=(), magnetometer=()
    referrer-policy no-referrer
    vary accept-encoding
    server cloudflare
    last-modified Thu, 19 Nov 2026 00:37:14 GMT
    cf-cache-status MISS
    content-encoding gzip
    cf-ray a5cb252b3eae0e50-AMS
    alt-svc h3= :443 ; ma=86400

    Meta Tags

    title="#72 - Edit Distance - LeetCode JavaScript Solutions"
    charset="UTF-8"
    name="viewport" content="width=device-width, initial-scale=1.0"
    name="description" content="Given two strings word1 and word2, return the minimum number of operations required to convert word1 to word2. You have the following three ..."
    name="keywords" content="leetcode, javascript, solutions, algorithms, data structures, coding, programming, coding challenges, coding problems, coding solutions"
    name="author" content="LeetCodeJavascript.com"
    name="robots" content="index, follow"
    property="og:type" content="article"
    property="og:url" content="htt????/leetcodejavascript.com/solutions/edit-distance"
    property="og:title" content="#72 - Edit Distance - LeetCode JavaScript Solutions"
    property="og:description" content="Given two strings word1 and word2, return the minimum number of operations required to convert word1 to word2. You have the following three ..."
    property="og:image" content="htt????/leetcodejavascript.com/og-image.jpg"
    property="og:site_name" content="LeetCode JavaScript Solutions"
    name="twitter:card" content="summary_large_image"
    name="twitter:url" content="htt????/leetcodejavascript.com/solutions/edit-distance"
    name="twitter:title" content="#72 - Edit Distance - LeetCode JavaScript Solutions"
    name="twitter:description" content="Given two strings word1 and word2, return the minimum number of operations required to convert word1 to word2. You have the following three ..."
    name="twitter:image" content="htt????/leetcodejavascript.com/og-image.jpg"
    name="twitter:creator" content="@joshcrozier"
    name="theme-color" content="#1f2937"

    Load Info

    page size2740
    load time (s)0.169751
    redirect count1
    speed download16213
    server IP 188.114.96.0
    * all occurrences of the string "http://" have been changed to "htt???/"