TikTok Interview Question

Binary tree represented as an array, do binary tree operations