We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 649b32c commit 1f55061Copy full SHA for 1f55061
โlongest-consecutive-sequence/wogha95.js
@@ -3,6 +3,8 @@
3
* SC: O(N)
4
* nums์ ์ซ์์ ์ ๊ทผํ๋ ํ์๋ 2๋ฒ์์ N๋งํผ, 4๋ฒ์์ ์ต๋ N๋งํผ ์ ๋๋ค.
5
* ์ฆ, 2N๋ฒ ๋งํผ nums์ ์ซ์์ ์ ๊ทผํฉ๋๋ค.
6
+ * N^2์ด ์๋ ์ด์ : N^2์ด ์๋ 2N์ผ๋ก ์๊ฐํ ์ด์ ๋ 2๋ฒ์์ N๋ฒ์ ์ํ๋ฅผ ํ์ง๋ง ๊ฐ ์ํ๊ฐ ์๋ก์๊ฒ ์ํฅ์ ๋ฏธ์น๊ธฐ ๋๋ฌธ์ ์ต๋ ์ํ๋ 2N์ผ๋ก ๊ณ์ฐํ์ต๋๋ค. (1๋ฒ์ N ์ํ ์ ์ธ)
7
+ * @see https://github.com/DaleStudy/leetcode-study/pull/408#discussion_r1747071917
8
*/
9
10
/**
0 commit comments