lintcode练习-224. 用一个数组实现三个栈

描述 用一个数组实现三个栈。你能够假设这三个栈都同样大而且足够大。你不须要担忧若是一个栈满了以后怎么办。html 您在真实的面试中是否遇到过这个题?  是面试 样例 ThreeStacks(5) // create 3 stacks with size 5 in single array. stack index from 0 to 2 push(0, 10) // push 10 in the
相关文章
相关标签/搜索