JTG interview question

Tree, linked list, array, logical reasoning,quant