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/decode-ways - #91 - Decode Ways - LeetCode J.

site address: leetcodejavascript.com/solutions/decode-ways redirected to: leetcodejavascript.com/solutions/decode-ways

site title: #91 - Decode Ways - LeetCode JavaScript Solutions

Our opinion (on Wednesday 18 November 2026 22:13:35 UTC):

GREEN status (no comments) - no comments
After content analysis of this website we propose the following hashtags:



Meta tags:
description=You have intercepted a secret message encoded as a string of numbers. The message is decoded via the following mapping: "1" -> ...;
keywords=leetcode, javascript, solutions, algorithms, data structures, coding, programming, coding challenges, coding problems, coding solutions;
author=;

Headings (most frequently used words):

91, decode, ways, problem, description, solution,

Text of the page (most frequently used words):
the (11), group (8), return (6), string (5), #decode (5), number (4), length (4), are (4), ways (4), message (4), const (3), that (3), decoded (3), valid (3), grouping (3), you (3), leetcodejavascript (2), com (2), for (2), slice (2), only (2), there (2), because (2), with (2), can (2), codes (2), view (2), github (2), leetcode (2), solutions (2), 2025, josh, crozier, param, var, numdecodings, function, null, new, array, fill, let, solution, test, cases, generated, answer, fits, bit, integer, entire, cannot, any, way, given, containing, digits, note, may, strings, impossible, invalid, not, code, kjf, aajf, example, 11106, into, however, while, decoding, realize, many, different, some, contained, other, and, have, intercepted, secret, encoded, numbers, via, following, mapping, problem, description, dynamic, programming, medium, back, all, star, javascript,


Text of the page (random words):
91 decode ways leetcode javascript solutions leetcodejavascript com star on github back to all solutions 91 decode ways medium view on leetcode view on github string dynamic programming problem description you have intercepted a secret message encoded as a string of numbers the message is decoded via the following mapping 1 a 2 b 25 y 26 z however while decoding the message you realize that there are many different ways you can decode the message because some codes are contained in other codes 2 and 5 vs 25 for example 11106 can be decoded into aajf with the grouping 1 1 10 6 kjf with the grouping 11 10 6 the grouping 1 11 06 is invalid because 06 is not a valid code only 6 is valid note there may be strings that are impossible to decode given a string s containing only digits return the number of ways to decode it if the entire string cannot be decoded in any valid way return 0 the test cases are generated so that the answer fits in a 32 bit integer solution param string s return number var numdecodings function s if s null s length 0 return 0 if s 0 0 return 0 const group new array s length 1 fill 0 group 0 1 group 1 1 for let i 2 i s length i const a number s slice i 1 i if a 1 a 9 group i group i 1 const b number s slice i 2 i if b 10 b 26 group i group i 2 return group s 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 Wed, 18 Nov 2026 22:13:35 GMT
    Content-Type text/html; charset=UTF-8
    Transfer-Encoding chunked
    Connection close
    Location htt????/leetcodejavascript.com/solutions/decode-ways
    Report-To group : cf-nel , max_age :604800, endpoints :[ url : htt????/a.nel.cloudflare.com/report/v4?s=rYSdBRSJJdP5Wo%2Bf8JzdPL7dhBUL7R3%2F1dABI4ba%2B5M1kkR6SAMmeCQxmaKhjxEd1ZGkEDPkn%2FlCnw9vqTZmKgn7zItALRZ63f7BjHUOtSzfKfE9Z%2Fb8nmSjiIRXkwN06cmKcZ%2B0XS6I ]
    Nel report_to : cf-nel , success_fraction :0.0, max_age :604800
    Server cloudflare
    CF-RAY a5ca52c1adc4c3be-CDG
    alt-svc h3= :443 ; ma=86400
    HTTP/2 200
    date Wed, 18 Nov 2026 22:13:35 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=FQKZb%2BxRvdxJW1fre4GHqC96qQyovShWAT%2FAef3W4wYQo36z81uXiCRFEOSJ4uVSjIpvzI7CXZUN5n901d6WiKRCgASUM7TTmeo3WCD%2BQlzA14xixbNNPuFnkdxOXg08EsfBW3qZ25x%2F ]
    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 Wed, 18 Nov 2026 22:13:35 GMT
    cf-cache-status EXPIRED
    content-encoding gzip
    cf-ray a5ca52c20a3df387-CDG
    alt-svc h3= :443 ; ma=86400

    Meta Tags

    title="#91 - Decode Ways - LeetCode JavaScript Solutions"
    charset="UTF-8"
    name="viewport" content="width=device-width, initial-scale=1.0"
    name="description" content="You have intercepted a secret message encoded as a string of numbers. The message is decoded via the following mapping: "1" -> ..."
    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/decode-ways"
    property="og:title" content="#91 - Decode Ways - LeetCode JavaScript Solutions"
    property="og:description" content="You have intercepted a secret message encoded as a string of numbers. The message is decoded via the following mapping: "1" -> ..."
    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/decode-ways"
    name="twitter:title" content="#91 - Decode Ways - LeetCode JavaScript Solutions"
    name="twitter:description" content="You have intercepted a secret message encoded as a string of numbers. The message is decoded via the following mapping: "1" -> ..."
    name="twitter:image" content="htt????/leetcodejavascript.com/og-image.jpg"
    name="twitter:creator" content="@joshcrozier"
    name="theme-color" content="#1f2937"

    Load Info

    page size3081
    load time (s)0.133162
    redirect count1
    speed download23165
    server IP 188.114.97.2
    * all occurrences of the string "http://" have been changed to "htt???/"