Atlassian interview question

Heap question about min and max