TikTok interview question

Write a function to insert a node into binary tree in C

Interview Answer

Anonymous

22 Apr 2024

I written a function, that iteratively searches whether the current node has children and then inserts it into the correct place.