Atlassian Interview Questions
Practice the exact questions companies are asking right now.
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 scalable tagging system
System Design: Scalable Tagging Service Context You are designing a multi-tenant tagging service for a large-scale SaaS product. Items (e.g., document...
Design crawler storing only image URLs
System Design: Image-URL Crawler (URLs only, no HTML storage) Context Design a production web crawler that fetches HTML pages and extracts only image ...
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...
Ensure thread-safe updates to org hierarchy
Thread-safe Organization Hierarchy: API, Concurrency, and Consistency Context You are building an in-memory organization directory that manages groups...
Minimize max L1 radius with k centers in 1D
You are given an array A of n integers (values may be negative and may repeat) and an integer k (1 ≤ k ≤ n). Place k cluster centers anywhere on the r...
Compute inverse-depth weighted sum of a nested list
Problem You are given a nested list of integers, where each element is either: - an integer, or - a list that follows the same rule (i.e., a nested li...
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...
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...
Identify Top-3 Users by Recent Total Spend
Users +----+-------+-------------+ | id | name | joined_date | +----+-------+-------------+ | 1 | Alice | 2023-01-02 | | 2 | Bob | 2023-02-14 |...
Expand Internationally: Data and Strategy for Market Entry
Behavioral + Product Sense (Onsite) Context You are interviewing for a Data Scientist role at a product-led software company. In this onsite round, yo...
Design a scalable tagging system
System Design: Scalable Tagging System for Arbitrary Resources Context You are designing a multi-tenant tagging platform that supports attaching tags ...
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 ...
Implement Real-Time Rate Limiting for Web Service Requests
Scenario A web service must throttle traffic from clients; you need to decide in real-time whether each incoming request should be served or rejected ...
Minimize L1 Distance with k Cluster Centers in Array
1D k-Center (Minimax L1) Clustering Problem You are given an array of n integers on a number line and an integer k (1 ≤ k ≤ n). Place k cluster center...
Compute moving and weighted averages from a stream
You are processing a stream of numeric events (e.g., user activity counts). You are given a fixed window size X. Part 1: Moving average over last X va...
Assign bookings to minimum tennis courts
You are given a list of tennis court bookings. Each booking has a start time and an end time. Task Return an assignment plan that: 1. Assigns each boo...
Design a product-feed recommendation system
Design an end-to-end recommendation system that generates a personalized product feed for users. What to cover - Requirements: user experience goals (...
Answer values interview behavioral questions
You are in a management/values interview. Prepare behavioral answers aligned to the company’s core values. Typical questions in this round include: - ...
Implement sliding-window rate limiter with dual thresholds
Implement getRequestStatus(urls: List[str]) -> List[str]. The i-th entry in urls represents a single incoming request at timestamp t = i seconds (t st...