Feb
15
2024
0

17. Letter Combinations of a Phone Number

Use backtracking to brute force find all solutions.

Feb
15
2024
0

Daily Question – 1337. The K Weakest Rows in a Matrix

Not much to say, times 100 and plus the index, this could save the index number then straightforward.

Feb
14
2024
0
Feb
14
2024
0

*15. 3Sum

Sort the array, then use 2 pointers to get the exceeded result.

Feb
14
2024
0

Daily Question – 2149. Rearrange Array Elements by Sign

The positive number would always on the odd position while negative number would on the double position.

Feb
12
2024
0

11. Container With Most Water

Description: https://leetcode.com/problems/container-with-most-water/ Notes: Using two pointers

Feb
12
2024
0

4. Median of Two Sorted Arrays

Not much to say, quite straightforward. But the time complexity is not O(log(m+n))

Feb
11
2024
0

6. Zigzag Conversion

Not much to say, go straightforward.

Nov
27
2023
0

2023 – Trip to Kyoto 京都 紅葉狩りの🍁

2023年秋,十几年没有的家庭出游,京都红叶狩