LogicMonitor interview question

Interviever mainly Focus on DSA Problem.