Atlassian Software Engineer Coding & Algorithms Interview Questions
Master your tech interview with our curated database of real questions from top companies.
Implement snake game and find org LCA
Part A — Snake Game Engine: Implement a grid-based snake game. The board has height H and width W (0-indexed, row-major). The snake starts at (0, 0) m...
Implement wildcard URL router
Question Implement a URL routing matcher that supports wildcard segments (e.g., '/a/*/c') using a trie. Discuss time and space complexity, show how to...
Find LCA in organization tree
Question Given an organizational hierarchy tree, return the lowest common organization (parent node) for two or more employees (≥ 2). Provide unit tes...
Design a trie-based URL router with wildcards
Implement a URL routing matcher that supports adding route patterns and matching request paths. Use a trie as the core data structure. Support static ...
Find nearest common manager for multiple employees
Given an organizational hierarchy modeled as a rooted tree, build the tree from (employee, manager) pairs and implement a function that, for k ≥ 2 emp...