結果 : tree representation using array and linked list