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 159b87f commit 7ba9cddCopy full SHA for 7ba9cdd
โlongest-increasing-subsequence/flynn.cppโ
@@ -61,6 +61,7 @@ class Solution {
61
* - nums์ ๊ฐ ์์๋ง๋ค memo์ ๋ํด ์ด๋ถํ์์ ์คํํ๋ฏ๋ก N์ด ์ฆ๊ฐํจ์ ๋ฐ๋ผ ์คํ ์๊ฐ์ N * logN ํํ๋ก ์ฆ๊ฐํฉ๋๋ค
62
* - Space complexity: O(N)
63
* - memo ๋ฐฐ์ด์ ํฌ๊ธฐ๋ N์ด ์ฆ๊ฐํจ์ ๋ฐ๋ผ ์ ํ์ ์ผ๋ก ์ฆ๊ฐํฉ๋๋ค
64
+ * (- predec ๋ฐฐ์ด์ ํฌ๊ธฐ ๋ํ N์ด ์ฆ๊ฐํจ์ ๋ฐ๋ผ ์ ํ์ ์ผ๋ก ์ฆ๊ฐํฉ๋๋ค)
65
*/
66
67
class Solution {
0 commit comments