Masabi Interview Question

Some fairly straghtforward algorithm question, a Java code test and an interview with two managers