Tipalti Interview Question

HomeWork Implement a utility that finds the minimal relation level between two people on Java or C#