if(pRoot2 == nullptr) return true; if(pRoot1 == nullptr) return false; 这两个if语句上下反一下,结果就不对了,不明白为啥?有大神能给解释下麽?
点赞

相关推荐

牛客网
牛客网在线编程
牛客网题解
牛客企业服务