Atlassian Interview Experience for SDE (Off-Campus) 2022

Round 1 (Screening Round): This was a HackerRank test with 4 coding questions to be solved in 90 min. It had 1 easy, 1 medium, and 2 hard coding questions.

Round 2 (Technical Interview): This round was about 60 min.  Firstly, the interviewer introduce himself and then told me to introduce myself. It was more like a discussion and the interviewer wanted to judge my thinking process and communication skills. The question was,

  • Imagine you are given the entry time and exit time of each Atlassian employee as an interval for the whole
    day. Hypothetically we can have any number of hours in a day. ”At the end of the day, you need to figure out how many employees were in the office at each hour”
employee_times = [[1, 2], [5, 6],[1,5]] [[3,1]]
Hour: 00 | Employee Count: 0
Hour: 01 | Employee Count: 1
Hour: 02 | Employee Count: 1
Hour: 03 | Employee Count: 0
Hour: 04 | Employee Count: 0
Hour: 05 | Employee Count: 1
Hour: 06 | Employee Count: 1
  • The entry_time > exit_time. This can happen when the employee entered at a time on a particular day and exited the next day. Print the total number of employees in the office per hour irrespective of the day.
  • The added constraint is that the employee needs to exit before they spend more than a day in the office.
  • We are also given the max_hours for a day.

Firstly, I gave the brute force approach and then he said to optimize the approach and then I optimized the code using the prefix sum. But it took a lot of time which I was not able to quantify in this round.

All the rounds were eliminatory. After all the interview rounds (held on the same day).

Tips:

  • Don’t be nervous
  • Try to think and speak loudly
  • They actually select the people on the basis of how you approach them now on how you code.

Contact Us