Atlassian Interview Question

During live coding session write a connection pool from scratch