1051 Pop Sequence(我不惦记钱,我惦记什么?)
Given a stack which can keepMnumbers at most. PushNnumbers in the order of 1, 2, 3, ...,Nand pop randomly. You are supposed to tell if a given sequence of numbers is a possible pop sequence of...
原创
2019-09-29 17:19:46 ·
106 阅读 ·
0 评论