halfrost / LeetCode-Go

✅ Solutions to LeetCode by Go, 100% test coverage, runtime beats 100% / LeetCode 题解
https://books.halfrost.com/leetcode
MIT License
32.76k stars 5.68k forks source link

Update 0105.Construct-Binary-Tree-from-Preorder-and-Inorder-Traversal.md #162

Closed karminski closed 3 years ago

karminski commented 3 years ago

update a new answer for less memory cost.