For Fibonacci Sequence, the space complexity should be the O(logN), which is the height of tree.
Check the source
For Fibonacci Sequence, the space complexity should be the O(logN), which is the height of tree.
Check the source
转载于:https://www.cnblogs.com/Answer1215/p/10788126.html