Citi interview question

Spring boot, rest, hibernate, logic building