2022年12月15日

移掉 K 位数字 验证二叉树的前序序列化 字符串转化后的各位数字之和

摘要: ##402. 移掉 K 位数字 把新的数字从队尾加入,如果它小于队尾元素,直接把队尾元素出掉,知道不大于为止 Deque deque = new ArrayDeque<>(); for(int i = 0; i < num.length(); i++) { char dig = num.charAt 阅读全文

posted @ 2022-12-15 17:22 xtdnn 阅读(21) 评论(0) 推荐(0)

导航