Livongo Health interview question

Questions on class/interface, sql, algorithm