TigerGraph Interview Question

Q: Why is the algorithm that I designed is efficient