I apologize in advance for what may be a really dumb question. I've been reading about fenwick tree and segment tree a lot recently (specific implementation of segment tree is here: https://cp-algorithms.com/data_structures/segment_tree.html#implementation) (fenwick tree example here: https://cp-algorithms.com/data_structures/fenwick.html)
But despite all my readings none of the sources seemed to talk about the time complexity for inserting and deleting an element from the tree --- only querying and updating (both takes log(n)). Am I correct in assuming that inserting and deleting an element for fenwick tree and segment tree can't be done in logn time?