Altimetrik Interview Question

Online assessment for 1hour, basic java springboot questions. With two dsa problems