Company-style OA practice sets with full problem statements, sample test cases, and solutions.
Have you recently taken Atlassian's Online Assessment or coding test? Share the questions, test cases, or assessment patterns you encountered. Earn SWE180 Coins for every verified submission and use them to unlock other company OA sets and premium tools for free!
Given the availability time slots arrays slots1 and slots2 of two colleagues and a meeting duration, return the earliest time slot that works for both of them and is of duration duration.
If there is no common time slot that satisfies the requirements, return an empty array.
The format of a time slot is [start, end], representing an inclusive time range from start to end.
It is guaranteed that no two availability slots of the same person intersect with each other.
Example 1
Input
8 3 10 50 60 120 140 210 2 0 15 60 70
Output
60 68
Explanation
Overlapping interval between [60, 120] and [60, 70] is [60, 70] of length 10.
Length 10 >= required duration 8.
The earliest meeting slot is [60, 68].
In Atlassian Confluence & Jira asset storage, files can belong to collections and collections can be organized in a directory tree.
Each file entry contains [fileName, sizeInBytes, collectionName]. A collection may contain sub-collections.
Implement a system that calculates:
1. The total size of files across all collections.
2. The top K largest collections by total file size in descending order.
Example 1
Input
4 2 file1.txt 100 collectionA file2.txt 200 collectionB file3.txt 200 collectionA file4.txt 300 collectionC
Output
800 collectionC 300 collectionA 300
Explanation
Total size = 100 + 200 + 200 + 300 = 800.
collectionA = 300, collectionB = 200, collectionC = 300.
Top 2 largest: collectionC (300) and collectionA (300).
Gain complete transparency into the Atlassian online assessment process. Prepare effectively with real, verified coding challenges, test patterns, and platform details.
Wondering what top companies are actually asking in their initial screening rounds? We provide exact Data Structures, Algorithms, and logical reasoning questions reported by candidates who recently took the Atlassian online tests. Stop guessing and start practicing the right problems.
Understand exactly how many questions to expect, the typical time limits, and the platforms used (e.g., HackerRank, Codility, CodeSignal). Knowing the format in advance is the first step to clearing the Atlassian OA.