📜  堆栈数据结构 c++ 代码示例

📅  最后修改于: 2022-03-11 14:44:47.590000             🧑  作者: Mango

代码示例1
/*
 * Complete the 'isBalanced' function below.
 *
 * The function is expected to return a STRING.
 * The function accepts STRING s as parameter.
 */
 
string isBalanced(string s) {
    stack c;
    for(int i=0;i