C++ STL库——set

set::find搜索二叉树特性查找,时间复杂度为O(logN)
对比std::find
std::find为暴力查找,时间复杂度为O(N)

posted @ 2022-10-27 15:12  香花草的味道  阅读(39)  评论(0)    收藏  举报