Admittedly it should probably be using std::set (find = O(lgN)) instead of std::vector (find = O(N)). But we might be looking at the wrong code completely...
Admittedly it should probably be using std::set (find = O(lgN)) instead of std::vector (find = O(N)). But we might be looking at the wrong code completely...