leetcode icon indicating copy to clipboard operation
leetcode copied to clipboard

👏🏻 leetcode solutions for Humans™

Results 26 leetcode issues
Sort by recently updated
recently updated
newest added

### 862. Shortest Subarray with Sum at Least K ```python ''' 思路参考:https://github.com/Shellbye/Shellbye.github.io/issues/41 Time: O(N^2) TLE Brute Force + preSum 思路: 在Brute Force的基础上,加入一个PreSum来记忆化记忆一下到i为止的和,方便与之后直接调用 注意的事项就是要给preSum多预留一个位置,和DP类似,用来处理一些edge case,比如array总长就一个 Input: A = [1], K =...

Two Pointers
错误思路
Sliding Window

## 209. Minimum Size Subarray Sum [公瑾回来刷题咯](https://github.com/yuzhoujr/leetcode/issues/72) ![image](https://assets.leetcode.com/users/yuzhoujr/image_1578977910.png) ```python """ [start] 12:34 Problem Solving Thought Process: 1. Brute Force Using 2 for loops to find out 2 element that sums...

Two Pointers
第一刷
Buggy Code

Given a 2D board and a word, find if the word exists in the grid. The word can be constructed from letters of sequentially adjacent cell, where "adjacent" cells are...

DFS
第一刷
Buggy Code

### Day 1 - Facebook DFS #### Medium * [ ] 301 [Remove Invalid Parentheses](https://leetcode.com/problems/remove-invalid-parentheses "Remove Invalid Parentheses") * [ ] 721 [Accounts Merge](https://leetcode.com/problems/accounts-merge "Accounts Merge") #### Hard * [...