Question d’entretien chez Tech Mahindra

Write an algorithm for parsing a b-tree.