Assuming the following snippet of code
set<int>::iterator it = st.begin();
it++;
What's the order of it++. Does it take O(log n)?
Assuming the following snippet of code
set<int>::iterator it = st.begin();
it++;
What's the order of it++. Does it take O(log n)?