SAP Interview Question

Right view of tree and circular linkedlist