Skip to content

Latest commit

 

History

History
67 lines (58 loc) · 8.05 KB

README.md

File metadata and controls

67 lines (58 loc) · 8.05 KB

LeeCode-JavaScript

My JavaScript solution for LeetCode problems

Learning

Data Structures

  • Array
  • LinkedList
  • String
  • Stack/Queue
  • Heap
  • Hashmap
  • Matrix
  • Tree
  • Graph

Algorithms

  • Recursion 遞歸算法 (DFS)
  • BFS
  • Dynamic Programming
  • Binary Search
  • Sorting
# Problem Solution Difficulty
1 Two Sum JavaScript Easy
2 Add Two Numbers JavaScript Medium
3 Longest Substring Without Repeating Characters JavaScript Medium
5 Longest Palindrome Substring JavaScript Easy
7 Reverse Integer JavaScript Easy
9 Palindrome Number JavaScript Easy
11 Container With Most Water JavaScript Medium
13 Roman to Integer JavaScript Easy
14 Longest Common Prefix JavaScript Easy
15 3Sum JavaScript Medium
19 Remove Nth Node From End of List JavaScript Medium
20 Valid Parenttheses JavaScript Easy
21 Merge Two Sorted Lists JavaScript Easy
23 Merge k Sorted Lists JavaScript Hard
26 Remove Duplicates from Sorted Array JavaScript Easy
27 Remove Element JavaScript Easy
33 Search in Rotated Sorted Array JavaScript Medium
35 Search Insert Position JavaScript Easy
39 Combination Sum JavaScript Medium
48 Rotate Image JavaScript Medium
58 Length of Last Word JavaScript Easy
66 Plus One JavaScript Easy
67 Add Binary JavaScript Easy
70 Climbing Stairs JavaScript Easy
349 Intersection of Two Arrays JavaScript Easy
412 Fizz Buzz JavaScript Easy
509 Fibonacci Number JavaScript Easy
1189 Maximum Number of Balloos JavaScript Easy
2215 Find the Difference of Two Arrays JavaScript Easy

Reference