摘要:
Say you have an array for which the *i*th element is the price of a given stock on day *i*.
If you were only permitted to complete at most one transaction 阅读全文
posted @ 2019-04-11 11:22
yjxyy
阅读(168)
评论(0)
推荐(0)
摘要:
Given a string containing just the characters `'('`, `')'`, `'{'`, `'}'`, `'['` and `']'`, determine if the input string is valid. 阅读全文
posted @ 2019-04-11 11:20
yjxyy
阅读(168)
评论(0)
推荐(0)
摘要:
输入某二叉树的前序遍历和中序遍历的结果,请重建出该二叉树。 阅读全文
posted @ 2019-04-11 11:17
yjxyy
阅读(102)
评论(0)
推荐(0)
摘要:
输入一个链表,按链表值从尾到头的顺序返回一个ArrayList。 阅读全文
posted @ 2019-04-11 11:15
yjxyy
阅读(85)
评论(0)
推荐(0)