Question d’entretien chez TikTok

Binary tree represented as an array, do binary tree operations