上期答案
[099] 什么是二叉树?
二叉树是链表概念的扩展。 一个二叉树的节点有两个指针:“一个左指针”和“一个右指针”。 每一个节点可以进一步分支以形成另外的节点,每个节点也具有两个指针。
[100] 什么是正则表达式中的特殊字符、量词和锚点?
- 特殊字符是为正则表达式用于搜索的,具备特殊含义的元字符。 示例:,^,$,(),[],|,&
- 量词用于指定匹配前面的正则表达式的“频率”。 示例:*, +, ?, {}
- 锚点指正则匹配时的匹配的位置。锚点允许用户指定文本搜索的位置。示例:^, $, <, >
本期题目
[101] 类和对象有什么区别?
[102] C++的类和结构体有什么区别?
欢迎在留言区给出你的答案,正确答案将在下一期公布,或者到下面的文章获取答案