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/scramble-string - #87 - Scramble String - LeetCo.

site address: leetcodejavascript.com/solutions/scramble-string redirected to: leetcodejavascript.com/solutions/scramble-string

site title: #87 - Scramble String - LeetCode JavaScript Solutions

Our opinion (on Wednesday 18 November 2026 20:56:16 UTC):

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



Meta tags:
description=We can scramble a string s to get a string t using the following algorithm: If the length of the string is 1, stop. If the length of the st...;
keywords=leetcode, javascript, solutions, algorithms, data structures, coding, programming, coding challenges, coding problems, coding solutions;
author=;

Headings (most frequently used words):

87, scramble, string, problem, description, solution,

Text of the page (most frequently used words):
#string (12), the (12), return (7), dfs (6), length (4), result (4), two (4), const (3), new (3), array (3), fill (3), and (3), substrings (3), scramble (3), leetcodejavascript (2), com (2), param (2), function (2), map (2), null (2), let (2), false (2), same (2), following (2), step (2), view (2), github (2), leetcode (2), solutions (2), 2025, josh, crozier, boolean, var, isscramble, for, solution, given, strings, true, scrambled, otherwise, apply, recursively, each, randomly, decide, swap, keep, them, order, after, this, may, become, split, into, non, empty, random, index, divide, where, stop, can, get, using, algorithm, problem, description, dynamic, programming, hard, back, all, star, javascript,


Text of the page (random words):
87 scramble string leetcode javascript solutions leetcodejavascript com star on github back to all solutions 87 scramble string hard view on leetcode view on github string dynamic programming problem description we can scramble a string s to get a string t using the following algorithm if the length of the string is 1 stop if the length of the string is 1 do the following split the string into two non empty substrings at a random index i e if the string is s divide it to x and y where s x y randomly decide to swap the two substrings or to keep them in the same order i e after this step s may become s x y or s y x apply step 1 recursively on each of the two substrings x and y given two strings s1 and s2 of the same length return true if s2 is a scrambled string of s1 otherwise return false solution param string s1 param string s2 return boolean var isscramble function s1 s2 const n s1 length const dp new array n fill map new array n fill map new array n fill null function dfs i1 j1 i2 if dp i1 j1 i2 null return dp i1 j1 i2 if i1 j1 return dp i1 j1 i2 s1 i1 s2 i2 const j2 j1 i1 i2 let result false for let i i1 i j1 i result result dfs i1 i i2 dfs i 1 j1 i2 i i1 1 dfs i1 i j2 i i1 dfs i 1 j1 i2 return dp i1 j1 i2 result return dfs 0 n 1 0 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 20:56:16 GMT
    Content-Type text/html; charset=UTF-8
    Transfer-Encoding chunked
    Connection close
    Location htt????/leetcodejavascript.com/solutions/scramble-string
    Report-To group : cf-nel , max_age :604800, endpoints :[ url : htt????/a.nel.cloudflare.com/report/v4?s=VLlgGipWIXJumE0Boo%2FLQDDdUjzYTP2whBsbrEEomw7MoEwwHxbZSVlaWJ%2BPJagThIbF82srcifv3%2F3c3Px4ZFvGnEtt1luGwnSEv8wscs2FuulURN%2FZid5CnMhbeYz0dZwvaV5B0KsK ]
    Nel report_to : cf-nel , success_fraction :0.0, max_age :604800
    Server cloudflare
    CF-RAY a5c9e1804e0c6ff4-CDG
    alt-svc h3= :443 ; ma=86400
    HTTP/2 200
    date Wed, 18 Nov 2026 20:56:16 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=2gvpNt5vnnt0Y%2FVY2Mg9FyzzK0mGBW1q17GEgvAMqlZwaD9ejhW5P9hO1J46bszU2%2Ba7AIUqQBfZYoM5gU8QUAefdfmV%2Fcje2Zc90uhGm3dEVoaVorF2ZYyOUKVEaZQwlceCDbIa8gx7 ]
    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 20:56:16 GMT
    cf-cache-status MISS
    content-encoding gzip
    cf-ray a5c9e180fc1eecdb-LHR
    alt-svc h3= :443 ; ma=86400

    Meta Tags

    title="#87 - Scramble String - LeetCode JavaScript Solutions"
    charset="UTF-8"
    name="viewport" content="width=device-width, initial-scale=1.0"
    name="description" content="We can scramble a string s to get a string t using the following algorithm: If the length of the string is 1, stop. If the length of the st..."
    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/scramble-string"
    property="og:title" content="#87 - Scramble String - LeetCode JavaScript Solutions"
    property="og:description" content="We can scramble a string s to get a string t using the following algorithm: If the length of the string is 1, stop. If the length of the st..."
    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/scramble-string"
    name="twitter:title" content="#87 - Scramble String - LeetCode JavaScript Solutions"
    name="twitter:description" content="We can scramble a string s to get a string t using the following algorithm: If the length of the string is 1, stop. If the length of the st..."
    name="twitter:image" content="htt????/leetcodejavascript.com/og-image.jpg"
    name="twitter:creator" content="@joshcrozier"
    name="theme-color" content="#1f2937"

    Load Info

    page size2962
    load time (s)0.28623
    redirect count1
    speed download10356
    server IP 188.114.96.2
    * all occurrences of the string "http://" have been changed to "htt???/"