No description, website, or topics provided.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
LeetCode
out/production
random
src
.DS_Store
javaSolution.iml

# Purpose

In order to solving the interesting alogrithm problems which meeting at the interviews frequently by me and some interesting LeetCode problems.

1.solved with python named as Leetcode? + details

2.solved with java named as src/Solution? + details

3.others solved named as random

### EggTopFloor

Tencent - Machine learning Engineer

### HuffmanEncoding

Didichuxing - Statistical Analyst

### SortAlgorithm

Almost everytime such as Alibaba、JD、Didichuxing...

### GapCount

Hp(Hewlett-Packard) - Model Engineer

### Leetcode 240. Search a 2D Matrix II.py

Coming from :https://leetcode.com/problems/search-a-2d-matrix-ii/

### LeetCode 56. Merge Intervals.py

Coming from :https://leetcode.com/problems/merge-intervals/

### LeetCode 78 Subsets

Coming from :https://leetcode.com/problems/subsets/#/description

### LeetCode 1 two-sum

Coming from :https://leetcode-cn.com/problems/two-sum/

Tire树很经典的一道题

### LeetCode 824 goat-latin

Coming from:https://leetcode-cn.com/problems/goat-latin/

### LeetCode 190 reverse-bits

Coming from:https://leetcode-cn.com/problems/reverse-bits/

### LeetCode 120 triangle

Coming from:https://leetcode-cn.com/problems/triangle/

### LeetCode 198 house-robber

dp算法很经典的一道题

Coming from:https://leetcode-cn.com/problems/house-robber/

### LeetCode 1051. Height Checker

Coming from:https://leetcode-cn.com/problems/height-checker/

### LeetCode 263. Ugly Number

Coming from:https://leetcode-cn.com/problems/ugly-number/

### LeetCode 292. Nim Game

Coming from:https://leetcode-cn.com/problems/nim-game/

### 最大公共字符串长度

Coming from:字节跳动面试题

### LeetCode 334. Increasing Triplet Subsequence

such that arr[i] < arr[j] < arr[k] given 0 ≤ i < j < k ≤ n-1 else return false,其中只要保证固定住最小和最大，不断降低最小值的下限，使得比最小值要大的值可以尽可能的接近最小值，从而更容易找到比接近最小值的值

### src/Solution264 Ugly Number II

Coming from:https://leetcode-cn.com/problems/ugly-number-ii/

### src/Solution27 Remove Element

Coming from:https://leetcode-cn.com/problems/remove-element/

### src/Solution3 3Sum

Coming from:https://leetcode-cn.com/problems/3sum/

### src/Solution16 3Sum Closest

Coming from:https://leetcode-cn.com/problems/3sum-closest/

### src/Solution18 4Sum

Coming from:https://leetcode-cn.com/problems/4sum/

### src/Solution779 K-th Symbol in Grammar

python用了最简单的递归表示，把结果表示出来再做，比较慢,所以加了@functools.lru_cache(maxsize=128, typed=False)对结果进行缓存