Skip to content

Commit 44419e2

Browse files
committed
fix(merge-two-sorted-lists): tc / sc
1 parent c9695a5 commit 44419e2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

โ€Žmerge-two-sorted-lists/choidabom.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
/**
22
* Runtime: 0ms, Memory: 52.30MB
33
*
4+
* Time Complexity: O(n)
5+
* Space Complexity: O(1)
6+
*
47
* ์ ‘๊ทผ
58
* ํ•ต์‹ฌ์€ ๋‘ ๋ฆฌ์ŠคํŠธ๋ฅผ ๋น„๊ตํ•˜๋ฉด์„œ ์ž‘์€ ๊ฐ’๋ถ€ํ„ฐ ์ •๋ ฌ๋˜๋„๋ก ๋ฆฌ์ŠคํŠธ๋ฅผ ๋งŒ๋“œ๋Š” ๊ฒƒ์ด๋‹ค.
69
* ๋‘ ์—ฐ๊ฒฐ ๋ฆฌ์ŠคํŠธ ์ค‘ ํ•˜๋‚˜๊ฐ€ null์ด ๋  ๋•Œ๊นŒ์ง€ ํ˜„์žฌ ๋…ธ๋“œ ๊ฐ’์„ ๋น„๊ตํ•˜์—ฌ ๋” ์ž‘์€ ๊ฐ’์„ ์ƒˆ๋กœ์šด ๋ฆฌ์ŠคํŠธํŠธ ์ถ”๊ฐ€ํ•˜๊ณ , ๋‚จ์€ ๋ฆฌ์ŠคํŠธ๋ฅผ ์ถ”๊ฐ€ํ•œ๋‹ค.

0 commit comments

Comments
ย (0)