Atlassian interview experience Real time questions & tips from candidates to crack your interview

SDE - Intern

Atlassian
upvote
share-icon
3 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Journey
My preparation started in the second year because I was advised to bag an internship at a good company. Initially, I focused on basic math and brute force questions to develop command over programming language. After this, I started solving questions on Geeksforgeeks and Leetcode. Then I started solving standard interview questions to get an idea of the difficulty level of interviews. After getting enough confidence near the end of second year, I started giving contests on Leetcode and Codeforces in order to increase my solving speed. I also prepared for core subjects like OS, DBMS and OOPS. Also, I maintained a good CGPA throughout, so I was able to sit in the process of all good companies.
Application story
It was an on-campus opportunity. Atlassian visited our campus for internship and placement. I applied on my university portal. Initial shortlisting was done on the basis of CGPA and resume.
Why selected/rejected for the role?
I was able to solve given questions well within time with optimized approaches. I focused on my code quality and performed a dry run on different edge cases which impressed the interviewer.
Preparation
Duration: 4 months
Topics: Data Structures, OOPS, Operating Systems, DBMS
Tip
Tip

Tip 1 : Give as many contests as possible and upsolve them.
Tip 2 : Your ability to write clean code matters in an interview. Keep this in mind even while preparing.
Tip 3 : Try to give mock interviews to remove any hesitation/fear of interviews.

Application process
Where: Campus
Eligibility: Above 7 CGPA
Resume Tip
Resume tip

Tip 1 : Have at least one good project on your resume.
Tip 2 : Get your resume reviewed by experienced folks.

Interview rounds

01
Round
Easy
Online Coding Interview
Duration90 minutes
Interview date2 Aug 2021
Coding problem3

1. Longest Increasing Subsequence

Moderate
30m average time
65% success
0/80
Asked in companies
IBMVisaOYO

For a given array with N elements, you need to find the length of the longest subsequence from the array such that all the elements of the subsequence are sorted in strictly increasing order.

Strictly Increasing Sequence is when each term in the sequence is larger than the preceding term.

For example:
[1, 2, 3, 4] is a strictly increasing array, while [2, 1, 4, 3] is not.
Problem approach

I had done this question before as this was a standard DP question. It was solved using a 2D dp array.

Try solving now

2. Find Number Of Islands

Moderate
34m average time
60% success
0/80
Asked in companies
WalmartShareChatAmazon

You are given a 2-dimensional array/list having N rows and M columns, which is filled with ones(1) and zeroes(0). 1 signifies land, and 0 signifies water.

A cell is said to be connected to another cell, if one cell lies immediately next to the other cell, in any of the eight directions (two vertical, two horizontal, and four diagonals).

A group of connected cells having value 1 is called an island. Your task is to find the number of such islands present in the matrix.

Problem approach

It is a simple question based on graphs. You just have to find the count of connected components. It can be done using DF/BFS.

Try solving now

3. Longest Duplicate SubString

Moderate
30m average time
70% success
0/80
Asked in companies
AmazonAppleMicrosoft

You are given a string 'S' and you need to return the length of the longest duplicate substring in the given string. The occurrence of duplicate sub-strings can overlap also.

If there are many longest duplicate sub-string return any of them.

Problem approach

I used a hashmap to store the frequency of substrings to be considered and kept taking the maximum of all of them, which gave me the answer.

Try solving now
02
Round
Easy
Video Call
Duration75 minutes
Interview date5 Aug 2021
Coding problem1

1. Who Won the Election???

Moderate
30m average time
85% success
0/80
Asked in companies
AtlassianIBM

Elections are going on, and there are two candidates A and B, contesting with each other. There is a queue of voters and in this queue, some of them are supporters of A and some of them are supporters of B. Many of them are neutral. The fate of the election will be decided on which side the neutral voters vote. Supporters of A and supporters of B make attempts to win the votes of neutral voters.

The way this can be done is explained below:

1. The voter queue is denoted by three characters, viz {-, A, B}. The ‘-’ denotes neutral candidate, ‘A’ denotes supporter of candidate A and ‘B’ denotes supporter of candidate B.
2. Supporters of A can only move towards the left side of the queue.
3. Supporters of B can only move towards the right side of the queue.
4. Since time is critical, supporters of both A and B will move simultaneously.
5. They both will try and influence the neutral voters by moving in their direction in the queue. If a supporter of A reaches the neutral voter before a supporter of B reaches him, then that neutral voter will become a supporter of candidate A.
6. Similarly, if a supporter of B reaches the neutral voter before supporter of A reaches him, then that neutral voter will become a supporter of candidate B.
7. Finally, if both reach at the same time, the voter will remain neutral. A neutral vote cannot decide the outcome of the election.
8. If finally, the queue has more votes for candidate A, then A wins the election. If B has more votes, then B wins that election. If both have equal votes, then it will be a coalition government.

Your task is to find the outcome of the election.

For Example:
Given string- “B--A-”
              B --->  B  A   <--- A    B
              ----------------------------->
Output - B as B can move towards right only and A can move in left direction only. Thus B has 3 supporters in total while A have only 2 supporters. 

Note:

1. There are no test cases where all votes are neutral.
2. The influenced voters do not move and hence does not have any influence over the neutral voters.
Problem approach

The first variation is an easy hashing question. Just keep a counter for each candidate and the one with the maximum votes is the winner.

In the second variation also, we can maintain a counter for each candidate, updating their votes as we iterate through the list. The challenge in this question was not to solve it but to solve it while maintaining good code quality. I focused on making my code modular by breaking it into functions and giving proper names to variables. After I was done coding, I did a dry run for some cases and also tested it on cases given by the interviewer and he seemed satisfied.

Try solving now
03
Round
Easy
HR Round
Duration60 minutes
Interview date5 Aug 2021
Coding problem1

1. Basic HR Questions

Explain your project.

How was your experiencing working with your team in making project?

Tell me a time when you gave feedback to someone?

Describe a situation where you displayed leadership quality?

Problem approach

Tip 1 : Read the 5 values of Atlassian from its homepage.
Tip 2 : Take a few seconds to think about your answer before you speak.

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Atlassian
2977 views
0 comments
0 upvotes
company logo
SDE - Intern
3 rounds | 5 problems
Interviewed by Atlassian
1297 views
0 comments
0 upvotes
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Atlassian
1211 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Atlassian
1146 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Amazon
15605 views
4 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 7 problems
Interviewed by Microsoft
15499 views
1 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Amazon
10216 views
2 comments
0 upvotes