AKUNA CAPITAL interview question

Array, binary tree, and linked list questions.