Leetcode 1364. Number of Trusted Contacts of a Customer
Given a list of directed trust relationships between customers and a target customer, determine how many distinct customers are reachable from that target (trusted directly or via chains). This requires building a directed graph and using graph traversal or transitive-closure techniques while handling cycles and deduplication for large inputs.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
0
Hello Interview Premium
Your account is free and you can post anonymously if you choose.