Homepage
Open in app
Sign in
Get started
All Stories published by Learn or Die on October 08, 2023
All
2023
October
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Sort by most read
Ray Lee | 李宗叡
in
Learn or Die
Oct 8, 2023
LeetCode — 904. Fruit Into Baskets
藉由 LeetCode 來磨練演算法
# 前言
# 題目連結
# 解題思路
# 暴力解
維護一個 $basket array,代表當前籃子裡
Read more…
Ray Lee | 李宗叡
in
Learn or Die
Oct 8, 2023
LeetCode — 1. Two Sum
藉由 LeetCode 磨練演算法
# 前言
# 題目連結
# 解題思路
# 暴力解
跑兩層 loop,逐一比較,直到找到兩個 item 相加等同 target
Read more…
October 05, 2023
October 10, 2023
About
Learn or Die
成長與分享的足跡
More information
Tags
Leetcode
Algorithms
Leetcode
Algorithms
Editors
Ray Lee | 李宗叡