Salesforce Interview Question | Technical Round 1 | Online Interview
Difficulty: EASYCategory: InterviewExperienceFrequency: 1Asked On 2021-09-12Added By Anonymous
Source: Link
https://assets.leetcode.com/users/images/06d6d4a4-67f0-4950-85f6-9e5af821842c_1631426989.2930477.jpeg
I thought it using Graph (Adjancency List) + DFS. Optimized it using DP.
Any other solutions?