-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitmessage.txt
More file actions
23 lines (19 loc) ยท 799 Bytes
/
.gitmessage.txt
File metadata and controls
23 lines (19 loc) ยท 799 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# ๐ Git Commit Message Template (for Algorithm Solutions)
# ์๋ ํ์์ ๋ฐ๋ผ ์ปค๋ฐ ๋ฉ์์ง๋ฅผ ์์ฑํ์ธ์:
# [์นดํ
๊ณ ๋ฆฌ] ๋ฌธ์ ๋ฒํธ ๋ฌธ์ ์ด๋ฆ - ๋ณ๊ฒฝ ์์ฝ
# ์์:
# [Hash] 217 Contains Duplicate - ํ์ด ์ ๋ฆฌ ๋ฐ ๋ณต์ต ํฌ์ธํธ ์ถ๊ฐ
# ----------------------------------------
# ์ปค๋ฐ ์ ๋ชฉ
[์นดํ
๊ณ ๋ฆฌ] ๋ฌธ์ ๋ฒํธ ๋ฌธ์ ์ด๋ฆ - ๋ณ๊ฒฝ ์์ฝ
# ๋ณธ๋ฌธ (์ ํ, 80์ ๋จ์ ์ค๋ฐ๊ฟ ๊ถ์ฅ)
# - ์ด๋ค ๋ฐฉ์์ผ๋ก ์ ๊ทผํ๋์ง
# - ์ด์ ์ปค๋ฐ ๋๋น ๋ฌด์์ด ๊ฐ์ ๋๋์ง
# - ๊ณ ๋ฏผํ๋ ํฌ์ธํธ๋ ๋จ์ ์ด์
#
# ์์:
# - Set์ ์ด์ฉํ O(n) ์ค๋ณต ์ฒดํฌ ๋ฐฉ์ ์ ์ฉ
# - ์ด์ ํ์ด๋ณด๋ค ์ฝ๋ ๊ฐ๊ฒฐํ
# - ์ถํ contains-duplicate-ii์ ๋น๊ต ์์
# ๊ผฌ๋ฆฌ๋ง (์ ํ)
# Closed #์ด์๋ฒํธ, ๊ด๋ จ๋ฌธ์ ๋งํฌ ๋ฑ