Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/SiteFooter.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { SITE_NAME, REPO } from '../data/site';
---
<footer class="site-foot">
<div class="shell">
<span>Written and verified by hand — every solution on this site was compiled and run before it was published.</span>
<span>Written and verified by hand. Every solution here was compiled and run before it went up.</span>
<span>The source is public on <a class="foot-link" href={REPO} target="_blank" rel="noopener">GitHub ↗</a>. Found a bug, a wrong answer or a confusing step? <a class="foot-link" href={`${REPO}/issues/new/choose`} target="_blank" rel="noopener">Report it there ↗</a></span>
<a class="sep" href="/">{SITE_NAME}</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/Walkthrough.astro
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ const lcUrl = (slug: string) => `https://leetcode.com/problems/${slug}/`;

<aside class="report" aria-labelledby="report-h">
<h3 id="report-h" data-i18n="အမှား တွေ့သလား။">Spot a mistake?</h3>
<p data-i18n="ဤ site ၏ source code သည် GitHub ပေါ်တွင် public ဖြစ်သည်။ bug၊ မှားသော အဖြေ၊ ရှုပ်ထွေးသော အဆင့် သို့မဟုတ် ဘာသာပြန် အမှားကို issue တစ်ခုအဖြစ် report လုပ်နိုင်သည် — ပြင်ဆင်ချက် pull request များကိုလည်း ကြိုဆိုသည်။">This site's source is public on GitHub. A bug, a wrong answer, a step that doesn't add up or a clumsy translation can be reported there as an issue — and pull requests with a fix are welcome too.</p>
<p data-i18n="ဤ site ၏ source code သည် GitHub ပေါ်တွင် public ဖြစ်သည်။ bug၊ မှားသော အဖြေ၊ ရှုပ်ထွေးသော အဆင့် သို့မဟုတ် ဘာသာပြန် အမှားကို issue တစ်ခုအဖြစ် report လုပ်နိုင်သည် — ပြင်ဆင်ချက် pull request များကိုလည်း ကြိုဆိုသည်။">The source is on GitHub. If you find a bug, a wrong answer, a step that doesn't add up or a clumsy translation, open an issue there. Pull requests are welcome too.</p>
<div class="report-links">
<a class="plink" href={issueUrl} target="_blank" rel="noopener" data-i18n="ဤစာမျက်နှာအတွက် issue report လုပ်ရန် ↗">Report an issue with this page ↗</a>
<a class="plink" href={`${REPO}/tree/main/src/lessons/${p.slug}`} target="_blank" rel="noopener" data-i18n="ဤစာမျက်နှာ၏ source ကို ကြည့်ရန် ↗">View this page's source ↗</a>
Expand Down
10 changes: 3 additions & 7 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,18 @@ import { SITE_NAME } from '../data/site';
import { asOf } from '../data/problems-meta.json';
import { all, groups, haystack, leetcodeUrl, PAGE as WALKTHROUGH } from '../data/catalog';

const core = all.filter((p) => !p.extra).length;
const worked = all.filter((p) => WALKTHROUGH[p.id]).length;
---
<Base
title={`LeetCode · ${SITE_NAME}`}
description="Interview problems grouped by pattern, each with an interactive walkthrough and verified solutions in five languages."
description="LeetCode interview problems grouped by pattern, with step-by-step walkthroughs and tested code in five languages."
>
<div class="shell">
<div class="page-head">
<h1>LeetCode</h1>
<p class="lede">
{core} interview problems, split evenly across easy, medium and hard and chosen
where three separate study plans agree, grouped by the pattern that solves them.
Open a problem to see its interactive solution: a page that runs the algorithm
step by step, with solutions in Ruby, Python, JavaScript, Go and Rust that were
all run before they were published.
Interview problems, grouped by pattern. Open one to step through the solution,
with code in Ruby, Python, JavaScript, Go and Rust.
</p>
</div>

Expand Down
Loading