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 c67b692 commit 0518c0aCopy full SHA for 0518c0a
βbinary-tree-maximum-path-sum/jdy8739.jsβ
@@ -33,4 +33,4 @@ var maxPathSum = function(root) {
33
};
34
35
// μκ°λ³΅μ‘λ O(n) -> νΈλ¦¬μ λͺ¨λ λ Έλλ₯Ό μ¬κ·μ μΌλ‘ νμνλ―λ‘ λ³΅μ‘λλ λ Έλμ μμ λΉλ‘ν¨
36
-// 곡κ°λ³΅μ‘λ O(1) -> μ λ ₯λ νΈλ¦¬μ κ΄λ ¨νμ¬ νΉλ³νκ² μ¬μ©λλ λ°°μ΄μ΄λ κ°μ²΄κ° μμ
+// 곡κ°λ³΅μ‘λ O(h) -> μ λ ₯λ νΈλ¦¬μ μ΅λ λμ΄λ§νΌ μ¬κ· μ€νμ΄ μμ΄λ―λ‘ κ³΅κ°λ³΅μ‘λλ νΈλ¦¬μ λμ΄μ κ°μ
0 commit comments