Tiện ích trình duyệt Firefox
  • Tiện ích mở rộng
  • Chủ đề
    • cho Firefox
    • Từ điển & gói ngôn ngữ
Đăng nhập
Xem trước LocalLeet

LocalLeet bởi Cheezer

Run LeetCode testcases locally in your browser using WebAssembly toolchains (Python via Pyodide, C++ via Clang).

0 (0 đánh giá)0 (0 đánh giá)
Tải xuống Firefox và tải tiện ích mở rộng
Tải xuống tập tin

Siêu dữ liệu mở rộng

Về tiện ích mở rộng này
A browser extension for Chrome and Firefox that runs LeetCode testcases locally, in your browser, using
WebAssembly builds of language toolchains. Python (via Pyodide) and C++ (via Clang/LLD from
YoWASP) are supported, and the code is laid out so other languages can be added.
  • Adds a Local button next to LeetCode's Run button, and a shortcut: Ctrl/⌘ + Shift + '.
  • Shows results in a LocalLeet tab next to LeetCode's own Test Result tab. A floating panel is used only if
    that tab can't be found.
  • Runs your code from the editor against the testcases in LeetCode's Testcase panel, including ones you add or edit.
  • Compares each output against the expected output from the problem's examples when the input matches an
    example. For problems that say "in any order", it also accepts the answer in any order.
  • Remembers the expected outputs LeetCode shows when you use its own Run or Submit, so running those
    inputs locally later gets a verdict. Run gives the expected output of every testcase you ran, custom ones
    included. A failed Submit gives the hidden testcase it failed on. Those cases are listed under
    Testcases from failed submissions in the LocalLeet tab, with a button that adds them to the Testcase panel.
    The outputs are kept in the extension's local storage (at most 500 per problem) and can be cleared on the
    options page.
  • Shows output, stdout and a filtered traceback per case, with LeetCode-style verdicts (Accepted, Wrong Answer,
    Runtime Error, Time Limit Exceeded, Compile Error).
  • Handles plain functions, in-place (void) problems, ListNode/TreeNode inputs and outputs, design problems
    (["LRUCache","put",...]), and the common custom-judge problems (linked list cycle, intersection, LCA, clone
    graph).
  • Mirrors LeetCode's Python environment: the usual standard-library star imports, typing, and sortedcontainers.
  • Mirrors LeetCode's C++ environment: C++23 at -O2, the whole standard library (including <bits/stdc++.h>),
    using namespace std, and ListNode/TreeNode. Runtime errors come out the way LeetCode's sanitizers report
    them, e.g. Line 4: Char 18: runtime error: signed integer overflow: ... or member access within null pointer.
Được xếp hạng 0 (bởi 1 người dùng)
Đăng nhập để đánh giá tiện ích này
Chưa có xếp hạng nào

Đã lưu xếp hạng sao

5
0
4
0
3
0
2
0
1
0
Chưa có đánh giá
Quyền hạn và dữ liệu

Quyền hạn bắt buộc:

  • Truy cập dữ liệu của bạn cho leetcode.com
  • Truy cập dữ liệu của bạn cho leetcode.cn

Thu thập dữ liệu:

  • Nhà phát triển cho biết tiện ích mở rộng này không yêu cầu thu thập dữ liệu.
Tìm hiểu thêm
Thêm thông tin
Liên kết tiện ích
  • Trang hỗ trợ
  • Sao chép ID tiện ích
Phiên bản
0.1.0
Kích cỡ
50,5 MB
Cập nhật gần nhất
4 ngày trước (19 Thg 10 2026)
Thể loại có liên quan
  • Khác
Giấy phép
Giấy phép MIT
Lịch sử các phiên bản
  • Xem tất cả phiên bản
Thêm vào bộ sưu tập
Báo cáo tiện ích này
Đi đến trang chủ Mozilla

Tiện ích

  • Giới thiệu
  • Blog tiện ích Firefox
  • Extension Workshop
  • Trung tâm nhà phát triển
  • Chính sách nhà phát triển
  • Blog cộng đồng
  • Diễn đàn
  • Báo cáo một lỗi
  • Hướng dẫn đánh giá

Tải xuống

  • Download Firefox
  • Windows
  • macOS
  • iOS
  • Android
  • Linux
  • All

Bản dựng mới nhất

  • Nightly
  • Beta

Firefox dành cho doanh nghiệp

  • Enterprise

Cộng đồng

  • Connect
  • Contribute
  • Developer

Theo dõi

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • Riêng tư
  • Cookie
  • Pháp lý

Trừ trường hợp khác đã ghi chú, nội dung trên trang này được cấp phép theo giấy phép Creative Commons Attribution Share-Alike v3.0 hoặc bất kỳ phiên bản nào sau này.