I did anwer the question but I'm not sure if this is right. can you guys double check my answer and let me know if its wrong.
Question 1: For the heap element at position i in the underlying array of a 3-heap, what are the positions of its immediate chidren and its parent? (Give formulas in terms of i.) my Answer1: 2i +1(left child) and 2i+2(right child) and i(parent)
Question 2: For the heap element at position i in the underlying array of a d-heap, what are the positions of its immediate chidren and its parent? (Give formulas in terms of i and d.) my Answer2: di+1(left child) and di+2(right child)