Skip to main content
Interview

Atlassian interview - they asked me to refactor existing code

Lakshay DesaiLakshay Desai
8/2/2025
(edited)
00

Interesting interview experience at Atlassian. Instead of the usual "solve this algorithm" format, they gave me a piece of poorly written code and asked me to refactor it.

The code was a mess - god class, no separation of concerns, hardcoded values everywhere. I had to identify code smells, suggest improvements, and actually refactor parts of it.

This felt so much more practical than typical DSA interviews. Wish more companies did this. Anyone else had this format?


atlassianinterview-experiencerefactoringclean-code

Comments (1)

Sign in to join the discussion.
Sachin Ahuja
Sachin Ahuja8/23/2025

Totally agree with you, Lakshay! I had a similar experience with Atlassian. They really focus on clean code practices, which makes total sense for a company renowned for its software tools. Was there a specific code smell you found particularly tricky?