J.P. Morgan Interview Question

Design application with employee department, explain from scratch how to implement