Skip to content

feat: add TypeScript solutions to lc problems: No.0301,1541 - #6176

Merged
yanglbme merged 20 commits into
doocs:mainfrom
mehdijony:mehdijony
Oct 9, 2026
Merged

yanglbme merged 20 commits into
doocs:mainfrom
mehdijony:mehdijony

Conversation

@mehdijony

Copy link
Copy Markdown
Contributor

Summary

Type

  • New solution
  • Update solution
  • Docs
  • Other

Checklist

For new or updated solutions:

  • README.md / README_EN.md follow solution/template.md
  • If a Thinking block is added, it sits after the method heading, is non-empty, and matches the code in the repo (naive idea vs constraints, bottleneck, key observation, why this method). Thinking is optional.
  • All languages implement the same algorithm; unrelated Solution.* files and code tabs are unchanged
  • Code is formatted as described in AGENTS.md

@idoocs idoocs added md Issues or Pull requests relate to .md files ts Issues or Pull requests relate to .ts code labels Oct 7, 2026
@cursor cursor Bot changed the title Mehdijony feat: add typescript solutions to problems 301 and 1541 Oct 9, 2026
@cursor cursor Bot changed the title feat: add typescript solutions to problems 301 and 1541 feat: add TypeScript solutions to lc problems: No.0301,1541 Oct 9, 2026
@yanglbme
yanglbme merged commit 0e904ef into doocs:main Oct 9, 2026
8 checks passed
@cursor

cursor Bot commented Oct 9, 2026

Copy link
Copy Markdown

Summary

Add TypeScript solutions for 301. Remove Invalid Parentheses and 1541. Minimum Insertions to Balance a Parentheses String. Each one follows the algorithm already used by the other languages for that problem. The Chinese and English README tabs match the new Solution.ts files.

Type

  • New solution
  • Update solution
  • Docs
  • Other

Checklist

For new or updated solutions:

  • README.md / README_EN.md follow solution/template.md
  • If a Thinking block is added, it sits after the method heading, is non-empty, and matches the code in the repo (naive idea vs constraints, bottleneck, key observation, why this method). Thinking is optional.
  • All languages implement the same algorithm; unrelated Solution.* files and code tabs are unchanged
  • Code is formatted as described in AGENTS.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

md Issues or Pull requests relate to .md files ts Issues or Pull requests relate to .ts code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants