Atlassian Phone Screening

Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2025-07-13Added By Anonymous
Source: Link

Company: Atlassian
Role: unknown
Interview Stage: Phone Screening
Location: unknown
Year: unknown

Original Post Content:

They asked the following question --
You have to write a full code including test cases and all. But the question is --
Say you have n employees, and each of them could be in one or more sub-departments. Each sub-department is part of another department. Find the common department of two employees.
Something like finding LCA with an n-children tree

Comments