Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Solutions collection of LeetCode submissions in JavaScript & TypeScript (LeetCode 解题集之 JavaScript & TypeScript 版)

License

NotificationsYou must be signed in to change notification settings

dev2js/LeetCode-with-JavaScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 

Repository files navigation

This is the solutions collection of my LeetCode submissions, most of them are programmed in JavaScript. All JavaScript codes are wrote in ECMAScript 6 standard, each solution file will contain a problem description in the beginning, and followed by some necessary explanation, some problems will provide more than one solution, please refer to the comments after the main solution for one specific problem.

ATTENTION: If you also use JavaScript as your coding language, you should pay attention to some JavaScript INTERNAL issues, such as bitwise operators, so as to let you not drop into some trouble which may be caused by JavaScript itself.

Progress: 45/

IDTitleSolutionDifficulty
1Two SumJavaScriptEasy
2Add Two NumbersJavaScriptMedium
3Longest Substring Without Repeating CharactersJavaScriptMedium
5Longest Palindromic SubstringJavaScriptMedium
6ZigZag ConversionJavaScriptMedium
7Reverse IntegerJavaScriptEasy
8String to Integer (atoi)JavaScriptMedium
11Container With Most WaterJavaScriptMedium
13Roman to IntegerJavaScriptEasy
14Longest Common PrefixJavaScriptEasy
153SumJavaScriptMedium
17Letter Combinations of a Phone NumberJavaScriptMedium
19Remove Nth Node From End of ListJavaScriptMedium
22Generate ParenthesesJavaScriptMedium
26Remove Duplicates from Sorted ArrayJavaScriptEasy
29Divide Two IntegersJavaScriptMedium
33Search in Rotated Sorted ArrayJavaScriptMedium
34Search for a RangeJavaScriptMedium
43Multiply StringsJavaScriptMedium
46PermutationsJavaScriptMedium
48Rotate ImageJavaScriptMedium
49Group AnagramsJavaScriptMedium
54Spiral MatrixJavaScriptMedium
66Plus OneJavaScriptEasy
69Sqrt(x)JavaScriptEasy

|71|Simplify Path |JavaScript|Medium||73|Set Matrix Zeroes |JavaScript|Medium||75|Sort Colors |JavaScript|Medium||91|Decode Ways |JavaScript|Medium||120|Triangle |JavaScript|Medium||130|Surrounded Regions |JavaScript|Medium||133|Clone Graph |JavaScript|Medium||136|Single Number |JavaScript|Easy||152|Maximum Product Subarray |JavaScript|Medium||175|Combine Two Tables|SQL|Easy||176|Second Highest Salary|SQL|Easy||177|Nth Highest Salary|SQL|Medium||181|Employees Earning More Than Their Managers |SQL|Easy||182|Duplicate Emails |SQL|Easy||183|Customers Who Never Order |SQL|Easy||184|Department Highest Salary |SQL|Medium||189|Rotate Array |JavaScript|Easy||190|Reverse Bits |JavaScript|Easy||196|Delete Duplicate Emails |SQL|Easy||197|Rising Temperature |SQL|Easy||206|Reverse Linked List |JavaScript|Easy||207|Course Schedule |JavaScript|Medium||210|Course Schedule II |JavaScript|Medium||240|Search a 2D Matrix II |JavaScript|Medium||307|Range Sum Query - Mutable |JavaScript|Medium||310|Minimum Height Trees |JavaScript|Medium||342|Power of Four |JavaScript|Easy||344|Reverse String |JavaScript|Easy||371|Sum of Two Integers |JavaScript|Easy||384|Shuffle an Array |JavaScript|Medium||404|Sum of Left Leaves |JavaScript|Easy||413|Arithmetic Slices |JavaScript|Medium||416|Partition Equal Subset Sum |JavaScript|Medium||434|Number of Segments in a String |JavaScript|Easy||494|Target Sum |JavaScript|Medium||516|Longest Palindromic Subsequence |JavaScript|Medium||523|Continuous Subarray Sum |JavaScript|Medium||| |||

About

Solutions collection of LeetCode submissions in JavaScript & TypeScript (LeetCode 解题集之 JavaScript & TypeScript 版)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript74.3%
  • TypeScript23.8%
  • Python1.9%

[8]ページ先頭

©2009-2025 Movatter.jp