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

Interval Tree - GeeksforGeeks code is in c++ but quite similar to c.

No both are different it was terniary tree

RHIntervalTree/IntervalTree.h at master · heardrwt/RHIntervalTree · GitHub I found this by searching for centered interval tree its in objective c though