Tip 1: Be random in solving questions; keep solving assorted questions while preparing.
Tip 2: Learn about the time and space complexities of every question you solve.
Tip 3: Try all possible approaches to solving a question. It helps open up your mind and understand the solution rather than memorizing it just to submit your answer.
Tip 1: Have unique projects on your resume, different from the ones already available online.
Tip 2: Include projects you have personally completed, as everything gets tested in the managerial round.
Timing: Morning
The interviewer was a female, which made me comfortable.
Imagine we are building a service where a user cannot re-use a password similar to the ones recently used.
You’re given two arrays of these passwords. You need to tell when was the last time these passwords were used.
This was a follow-up question: We have a list of passwords, we need to determine the unique groups of similar passwords.
Ex: ['team', ‘mate', ‘test'] returns [['test'], ['team', 'mate']]
Again a follow-up to solve using a similar approach:
Given an array of passwords, generate a new password that is not similar to any passwords with the given criteria(s):
The new password should differ by at least 1 character.
No limit on the number of characters to add
def generate_new_password(passwords: list) -> str:
unique_passwords = set()
for the password in passwords:
key = "".join(sorted(password))
unique_passwords.add(key)
new_password = ""
for key in unique_passwords:
if not new_password:
new_password = key + key[-1]
if new_password == key:
new_password += key[-1]
return new_password
I just added a new character whenever a same thing is matched and explained why this solution will always work
Timing: Morning
A senior lady took my interview, explained the expectations and made me comfortable
Resume-specific questions, directly from my projects and skillset. In 2 of my projects, I was asked why a particular language was used instead of others, why I chose to do a team project and not an individual one, technical questions on the choice of language for a particular project etc.
Tip 1: Use "I" instead of "We" while answering questions for group projects and mention only the part done by you
Tip 2: Have a strong supporting story to support each of the soft/technical skills mentioned
Tip 3: Read Atlassian values properly and apply them to the questions asked completely. Atlassian puts its values first!
Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
Which array operation has O(n) worst-case time complexity?