RSA Security Interview Question

Tree traversal