Sensera Systems interview question

Asked about database design, Java programming, and a final question to test problem solving with mathematics