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/basic-calculator - #224 - Basic Calculator - Leet.

site address: leetcodejavascript.com/solutions/basic-calculator redirected to: leetcodejavascript.com/solutions/basic-calculator

site title: #224 - Basic Calculator - LeetCode JavaScript Solutions

Our opinion (on Thursday 19 November 2026 1:08:53 UTC):

GREEN status (no comments) - no comments

Meta tags:
description=Given a string s representing a valid expression, implement a basic calculator to evaluate it, and return the result of the evaluation. Note...;
keywords=leetcode, javascript, solutions, algorithms, data structures, coding, programming, coding challenges, coding problems, coding solutions;
author=;

Headings (most frequently used words):

224, basic, calculator, problem, description, solution,

Text of the page (most frequently used words):
result (9), sign (6), stack (5), value (4), else (4), string (3), return (3), let (3), basic (3), calculator (3), leetcodejavascript (2), com (2), function (2), pop (2), the (2), view (2), github (2), leetcode (2), 224 (2), solutions (2), 2025, josh, crozier, param, number, var, calculate, const, for, length, while, push, solution, note, you, are, not, allowed, use, any, built, which, evaluates, strings, mathematical, expressions, such, eval, given, representing, valid, expression, implement, evaluate, and, evaluation, problem, description, recursion, math, hard, back, all, star, javascript,


Text of the page (random words):
224 basic calculator leetcode javascript solutions leetcodejavascript com star on github back to all solutions 224 basic calculator hard view on leetcode view on github string math stack recursion problem description given a string s representing a valid expression implement a basic calculator to evaluate it and return the result of the evaluation note you are not allowed to use any built in function which evaluates strings as mathematical expressions such as eval solution param string s return number var calculate function s const stack let result 0 for let i 0 sign 1 i s length i 1 if s i 0 s i 9 let value 0 while s i 0 s i 9 value value 10 s i 0 i 1 result value sign i 1 else if s i sign 1 else if s i sign 1 else if s i stack push result sign result 0 sign 1 else if s i result stack pop result result stack pop return result 2025 leetcodejavascript com josh crozier
Thumbnail images (randomly selected): * Images may be subject to copyright.GREEN status (no comments)

    No Images


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

    1-5


    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 01:08:53 GMT
    Content-Type text/html; charset=UTF-8
    Transfer-Encoding chunked
    Connection close
    Location htt????/leetcodejavascript.com/solutions/basic-calculator
    Report-To group : cf-nel , max_age :604800, endpoints :[ url : htt????/a.nel.cloudflare.com/report/v4?s=9xBgSmrGLyeVnyGoBl%2Fa7NQgXV61gaicIz2UhWAXXQmuq6CcSYUZgcj%2FS33R0h1vknbVCUGnXHka1NuMYPh7gMki9O0pIgw9KHewy%2BBeNyq7RhxDaaHxYwVZHAdvdE%2BKITq7HkakFruV ]
    Nel report_to : cf-nel , success_fraction :0.0, max_age :604800
    Server cloudflare
    CF-RAY a5cb53899aab1344-CDG
    alt-svc h3= :443 ; ma=86400
    HTTP/2 200
    date Thu, 19 Nov 2026 01:08:53 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=pjGqPWpUTxE8uPcGglmMGc2wtWl6ETA7kr5S5ugVTLXksG16tr5NuYM85shai2n28zibpqbRjYTGFS7ynby9YYvt6To2pW8YqGbR8t7x9PNTzrDzATv91DtvC7QXBaUhPg76BvflKCGD ]
    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 01:08:53 GMT
    cf-cache-status MISS
    content-encoding gzip
    cf-ray a5cb5389d83ef5bf-AMS
    alt-svc h3= :443 ; ma=86400

    Meta Tags

    title="#224 - Basic Calculator - LeetCode JavaScript Solutions"
    charset="UTF-8"
    name="viewport" content="width=device-width, initial-scale=1.0"
    name="description" content="Given a string s representing a valid expression, implement a basic calculator to evaluate it, and return the result of the evaluation. Note..."
    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/basic-calculator"
    property="og:title" content="#224 - Basic Calculator - LeetCode JavaScript Solutions"
    property="og:description" content="Given a string s representing a valid expression, implement a basic calculator to evaluate it, and return the result of the evaluation. Note..."
    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/basic-calculator"
    name="twitter:title" content="#224 - Basic Calculator - LeetCode JavaScript Solutions"
    name="twitter:description" content="Given a string s representing a valid expression, implement a basic calculator to evaluate it, and return the result of the evaluation. Note..."
    name="twitter:image" content="htt????/leetcodejavascript.com/og-image.jpg"
    name="twitter:creator" content="@joshcrozier"
    name="theme-color" content="#1f2937"

    Load Info

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