Atlassian Interview Question

Implement a class in any chosen language