Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
L

leetcode

> 编程语言
Open source

Leetcode solutions

6.4K stars0 likes1 views
WebsiteGitHub

About

Leetcode solutions

Leetcode solutions for NeetCode.io

This repo hosts the solutions found on NeetCode.io including the solutions shown on the NeetCode YouTube channel. The site will periodically be updated with new solutions from this repo!


Solutions from these languages will be linked from NeetCode.io:

Python, Java, JavaScript, C++, Go, Swift, C#, TypeScript, Rust, Kotlin, Ruby, C, Scala and Dart

Solutions are also welcome for any other supported language on leetcode.com!

Contributing

Please read the contributing guidlines before opening a PR

To contribute, please fork this repo and open a PR adding a missing solution from the supported languages.

If you would like to have collaborator permissions on the repo to merge your own PRs or review others' PRs please let me know.

Credits

Missing Solutions

Arrays & Hashing

Problem articles C C++ C# Dart GO hints Java JS Kotlin Python Ruby Rust Scala Swift TS
0217 - Contains Duplicate
0242 - Valid Anagram
1929 - Concatenation of Array
1299 - Replace Elements With Greatest Element On Right Side
0392 - Is Subsequence
0058 - Length of Last Word
0001 - Two Sum
0014 - Longest Common Prefix
0049 - Group Anagrams
0118 - Pascals Triangle
0027 - Remove Element
0929 - Unique Email Addresses
0205 - Isomorphic Strings
0605 - Can Place Flowers
0169 - Majority Element
0496 - Next Greater Element I
0724 - Find Pivot Index
0303 - Range Sum Query - Immutable
0448 - Find All Numbers Disappeared in An Array
1189 - Maximum Number of Balloons
0290 - Word Pattern
0705 - Design HashSet
0706 - Design HashMap
0912 - Sort an Array
0347 - Top K Frequent Elements
0238 - Product of Array Except Self
0036 - Valid Sudoku
0271 - Encode and Decode Strings
0128 - Longest Consecutive Sequence
0075 - Sort Colors
0535 - Encode and Decode TinyURL
0554 - Brick Wall

Issues· 1767 open

View all issuesOpen on GitHub
  • #6207

    Bug Report for k-closest-points-to-origin

    Updated Sep 23, 2026
  • #6206

    Typo Report for cheapest-flight-path

    Updated Sep 23, 2026
  • #6205

    Bug Report for merge-k-sorted-linked-lists

    Updated Sep 23, 2026
  • #6204

    Bug Report for two-integer-sum

    Updated Sep 23, 2026
  • #6203

    Bug Report for minimum-window-with-characters

    Updated Sep 23, 2026
  • #6202

    Bug Report for word-ladder

    Updated Sep 22, 2026
  • #6191

    Bug Report for GCC version

    Updated Sep 22, 2026
  • #6201

    Bug Report for palindrome-permutation

    Updated Sep 21, 2026
  • #6200

    Bug Report for trapping-rain-water

    Updated Sep 21, 2026
  • #6199

    Bug Report for Courses

    Updated Sep 21, 2026

> Tags

JavaScript

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 24, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言