Leetcode-Q4

9 Palindrome Number迴文數wiki Example12345678910111213141516171819202122232425const INT_MAX = 2147483647;let y = 0;if (x > 0 ...

Leetcode

Leetcode-Q3

7 Reverse IntegerExampleExample1: x = 123, return 321 Example2: x = -123, return -321 解題Version 1第一個想到的方式就是先用字串的方式 ...

Leetcode

Leetcode-Q2

1 Two sumFirst solution123456789101112131415161718var twoSum = function(nums, target) { var index, index2 = -1, ...

Leetcode

Leetcode-Q1

538 Convert BST to Greater TreeDescriptionGiven a Binary Search Tree (BST), convert it to a Greater Tree such that every key ...

Leetcode

NodeDesignPatten-01

Welcome to the Node.js PlatformSmall modules* NPM * 提供一個共同的Module 下載平台 * 分享彼此的模組,節省時間 * DRY(Don't Reapt yours...

Designpatten
18910