I am stuck on solving this problem and cannot understand how is the ceiling function omitted or solved. Please help.
The equation:
$\sum_{h=0}^{\lfloor\lg n\rfloor} \lceil\frac{n}{2^{h+1}}\rceil O(h) $.
But this transformed to:
$O\left(n \sum_{h=0}^{\lfloor\lg n\rfloor} \frac{h}{2^h}\right)$
My question concerns on omitting the ceiling function. I'm not clear on whether it was omitted or solved.
This has been taken from CLRS Section $6.3$ Building a Heap.
Please help me out. Thank you.