Skip to content

FizzyElt/leetcode-solution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 

Repository files navigation

紀錄LeetCode解法(go、js)

已解題目

  • 1 Two Sum
  • 11 Container With Most Water
  • 12 Integer to Roman
  • 15 3Sum
  • 16 3Sum Closest
  • 20 Valid Parentheses
  • 21 Merge Two Sorted Lists
  • 23 Merge k Sorted Lists
  • 24 Swap Nodes in Pairs
  • 94 Binary Tree Inorder Traversal
  • 100 Same Tree
  • 101 Symmetric Tree
  • 104 Maximum Depth of Binary Tree
  • 117 Populating Next Right Pointers in Each Node II
  • 120 Triangle
  • 125 Valid Palindrome
  • 141 Linked List Cycle
  • 144 Binary Tree Preorder Traversal
  • 145 Binary Tree Postorder Traversal
  • 148 Sort List
  • 160 Intersection of Two Linked Lists
  • 173 Binary Search Tree Iterator
  • 199 Binary Tree Right Side View
  • 200 Number of Islands
  • 203 Remove Linked List Elements
  • 222 Count Complete Tree Nodes
  • 226 Invert Binary Tree
  • 230 Kth Smallest Element in a BST
  • 234 Palindrome Linked List
  • 237 Delete Node in a Linked List
  • 283 Move Zeroes
  • 328 Odd Even Linked List
  • 349 Intersection of Two Arrays
  • 429 N-ary Tree Level Order Traversal
  • 430 Flatten a Multilevel Doubly Linked List
  • 445 Add Two Numbers II
  • 476 Number Complement
  • 448 Find All Numbers Disappeared in an Array
  • 508 Most Frequent Subtree Sum
  • 513 Find Bottom Left Tree Value
  • 515 Find Largest Value in Each Tree Row
  • 559 Maximum Depth of N-ary Tree
  • 589 N-ary Tree Preorder Traversal
  • 590 N-ary Tree Postorder Traversal
  • 617 Merge Two Binary Trees
  • 654 Maximum Binary Tree
  • 700 Search in a Binary Search Tree
  • 701 Insert into a Binary Search Tree
  • 705 Design HashSet
  • 725 Split Linked List in Parts
  • 784 Letter Case Permutation
  • 817 Linked List Components
  • 821 Shortest Distance to a Character
  • 852 Peak Index in a Mountain Array
  • 889 Construct Binary Tree from Preorder and Postorder Traversal
  • 894 All Possible Full Binary Trees
  • 897 Increasing Order Search Tree
  • 929 Unique Email Addresses
  • 938 Range Sum of BST
  • 951 Flip Equivalent Binary Trees
  • 965 Univalued Binary Tree
  • 979 Distribute Coins in Binary Tree
  • 1008 Construct Binary Search Tree from Preorder Traversal
  • 1019 Next Greater Node In Linked List
  • 1022 Sum of Root To Leaf Binary Numbers
  • 1026 Maximum Difference Between Node and Ancestor
  • 1029 Two City Scheduling
  • 1030 Matrix Cells in Distance Order
  • 1047 Remove All Adjacent Duplicates In String
  • 1078 Occurrences After Bigram
  • 1110 Delete Nodes And Return Forest
  • 1128 Lowest Common Ancestor of Deepest Leaves
  • 1161 Maximum Level Sum of a Binary Tree
  • 1305 All Elements in Two Binary Search Trees
  • 1325 Delete Leaves With a Given Value
  • 1379 Find a Corresponding Node of a Binary Tree in a Clone of That Tree
  • 1413 Minimum Value to Get Positive Step by Step Sum
  • 1431 Kids With the Greatest Number of Candies
  • 1448 Count Good Nodes in Binary Tree
  • 1455 Check If a Word Occurs As a Prefix of Any Word in a Sentence
  • 1457 Pseudo-Palindromic Paths in a Binary Tree
  • 1460 Make Two Arrays Equal by Reversing Sub-arrays
  • 1470 Shuffle the Array
  • 1480 Running Sum of 1d Array
  • 1512 Number of Good Pairs

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published