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/roman-to-integer - #13 - Roman to Integer - LeetC.

site address: leetcodejavascript.com/solutions/roman-to-integer redirected to: leetcodejavascript.com/solutions/roman-to-integer

site title: #13 - Roman to Integer - LeetCode JavaScript Solutions

Our opinion (on Wednesday 18 November 2026 21:26:59 UTC):

GREEN status (no comments) - no comments

Meta tags:
description=Roman numerals are represented by seven different symbols: `I`, `V`, `X`, `L`, `C`, `D` and `M`. Symbol Value I 1 V ...;
keywords=leetcode, javascript, solutions, algorithms, data structures, coding, programming, coding challenges, coding problems, coding solutions;
author=;

Headings (most frequently used words):

13, roman, to, integer, problem, description, solution,

Text of the page (most frequently used words):
and (7), the (7), roman (6), written (6), map (5), number (4), before (4), return (3), 1000 (3), 500 (3), 100 (3), result (3), numeral (3), integer (3), can (3), placed (3), make (3), four (3), which (3), are (3), leetcodejavascript (2), com (2), string (2), for (2), one (2), numerals (2), view (2), github (2), leetcode (2), solutions (2), 2025, josh, crozier, param, var, romantoint, function, const, split, reduce, length, solution, given, convert, 400, 900, however, not, iiii, instead, because, five, subtract, making, same, principle, applies, nine, there, six, instances, where, subtraction, used, usually, largest, smallest, from, left, right, xxvii, symbol, value, example, just, two, added, together, xii, simply, represented, seven, different, symbols, problem, description, math, hash, table, easy, back, all, star, javascript,


Text of the page (random words):
13 roman to integer leetcode javascript solutions leetcodejavascript com star on github back to all solutions 13 roman to integer easy view on leetcode view on github string hash table math problem description roman numerals are represented by seven different symbols i v x l c d and m symbol value i 1 v 5 x 10 l 50 c 100 d 500 m 1000 for example 2 is written as ii in roman numeral just two one s added together 12 is written as xii which is simply x ii the number 27 is written as xxvii which is xx v ii roman numerals are usually written largest to smallest from left to right however the numeral for four is not iiii instead the number four is written as iv because the one is before the five we subtract it making four the same principle applies to the number nine which is written as ix there are six instances where subtraction is used i can be placed before v 5 and x 10 to make 4 and 9 x can be placed before l 50 and c 100 to make 40 and 90 c can be placed before d 500 and m 1000 to make 400 and 900 given a roman numeral convert it to an integer solution param string s return number var romantoint function s const map m 1000 d 500 c 100 l 50 x 10 v 5 i 1 return s split reduce result v i result map v map s i 1 s length i 1 map v 1 map v return result 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: 4 subpage(s). Do you want to verify them? Verify pages:

    1-4


    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 21:26:59 GMT
    Content-Type text/html; charset=UTF-8
    Transfer-Encoding chunked
    Connection close
    Location htt????/leetcodejavascript.com/solutions/roman-to-integer
    Report-To group : cf-nel , max_age :604800, endpoints :[ url : htt????/a.nel.cloudflare.com/report/v4?s=I3JgyTTIrriRTqYpHh3QJ8cDB4niVn0EmNIYsW6ZQk0t5o6YUq23h7gG6%2BwNWqNNCAqq2Hg4X57iGFVNLsiFuV0k%2BYu8ii0KrhUJMwRuaQKWCqjIaQqCXY4TnvFcyKcgIgR6M5SJQ6uc ]
    Nel report_to : cf-nel , success_fraction :0.0, max_age :604800
    Server cloudflare
    CF-RAY a5ca0e7f3b39784d-CDG
    alt-svc h3= :443 ; ma=86400
    HTTP/2 200
    date Wed, 18 Nov 2026 21:26:59 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=s9qPhvPfLMlaNdd%2BZD6U7RhuShjQ96UiXd%2BaBeAMZbdQYJ1MkxVQ%2FmdZH7MTR4SuzR8BE6Aw4UEQvSmSdFQQ%2FAY2cTarct2O%2BynEiwo%2BNhl%2FHEBYX7%2FtXXMq2FV%2FDabF2V5FXQWR1qv8 ]
    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 21:26:59 GMT
    cf-cache-status MISS
    content-encoding gzip
    cf-ray a5ca0e7f89ed774e-AMS
    alt-svc h3= :443 ; ma=86400

    Meta Tags

    title="#13 - Roman to Integer - LeetCode JavaScript Solutions"
    charset="UTF-8"
    content="width=device-width,initial-scale=1" name="viewport"
    content="Roman numerals are represented by seven different symbols: `I`, `V`, `X`, `L`, `C`, `D` and `M`. Symbol Value I 1 V ..." name="description"
    content="leetcode, javascript, solutions, algorithms, data structures, coding, programming, coding challenges, coding problems, coding solutions" name="keywords"
    content="LeetCodeJavascript.com" name="author"
    content="index, follow" name="robots"
    content="article" property="og:type"
    content="htt????/leetcodejavascript.com/solutions/roman-to-integer" property="og:url"
    content="#13 - Roman to Integer - LeetCode JavaScript Solutions" property="og:title"
    content="Roman numerals are represented by seven different symbols: `I`, `V`, `X`, `L`, `C`, `D` and `M`. Symbol Value I 1 V ..." property="og:description"
    content="htt????/leetcodejavascript.com/og-image.jpg" property="og:image"
    content="LeetCode JavaScript Solutions" property="og:site_name"
    content="summary_large_image" name="twitter:card"
    content="htt????/leetcodejavascript.com/solutions/roman-to-integer" name="twitter:url"
    content="#13 - Roman to Integer - LeetCode JavaScript Solutions" name="twitter:title"
    content="Roman numerals are represented by seven different symbols: `I`, `V`, `X`, `L`, `C`, `D` and `M`. Symbol Value I 1 V ..." name="twitter:description"
    content="htt????/leetcodejavascript.com/og-image.jpg" name="twitter:image"
    content="@joshcrozier" name="twitter:creator"
    content="#1f2937" name="theme-color"

    Load Info

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