Samsara Interview Question

I think one was a sort question?