LogicMonitor interview question

Basic Java and online coding(leetcode easy and Math ) UCAT