Turbonomic Interview Question

2 coding questions Seemed like LC questions