Centered interval tree

i have read the article but i cant apply(i mean i can’tcode)


so please help me giving the code in c with comment

http://www.geeksforgeeks.org/interval-tree/ code is in c++ but quite similar to c.

No both are different it was terniary tree

https://github.com/heardrwt/RHIntervalTree/blob/master/IntervalTree.h I found this by searching for centered interval tree its in objective c though