Amazon Interview Question

Serialization and deserialization of binary tree Linked list question - removing same data and rejoining the list