美国股票市场或引入个股涨/跌停机制# Stock
g*e
1 楼
https://oj.leetcode.com/problems/sum-root-to-leaf-numbers/ 变种
求binary tree两个leaf之间path的最大值, 起点可以从任何一个leaf node. e.g:
3
/ \
1 4
/ / \
1 6 5
return 64311
1
/
1
/ \
4 3
return 413
int getMaxNum(Node root) {}
求binary tree两个leaf之间path的最大值, 起点可以从任何一个leaf node. e.g:
3
/ \
1 4
/ / \
1 6 5
return 64311
1
/
1
/ \
4 3
return 413
int getMaxNum(Node root) {}