leetcode-study
leetcode-study copied to clipboard
[μ¬νΈ] WEEK 02 Solutions
- [x] https://github.com/DaleStudy/leetcode-study/issues/218
- [x] https://github.com/DaleStudy/leetcode-study/issues/233
- [ ] https://github.com/DaleStudy/leetcode-study/issues/238
- [x] https://github.com/DaleStudy/leetcode-study/issues/253
- preorder μν
O(N)
μλ€κ° findIndex μνO(N)
μ΄ μ€μ²©λμ΄ μμΌλO(N^2)
λ‘ μκ°νλλ° leetcode analyze μμλ μκ°λ³΅μ‘λλ₯ΌO(N)
μΌλ‘ μλ €μ€λλ€. νΉμ μ κ° μκ°λ³΅μ‘λ κ³μ°μ μλͺ»ν κ²μΌκΉμ?
- preorder μν
- [ ] https://github.com/DaleStudy/leetcode-study/issues/268