Atlassian Coding & Algorithms Interview Questions
Master your tech interview with our curated database of real questions from top companies.
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 ...
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...
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...
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...
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...
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...