SAP Interview Question

BFS. Complexity and how to use it