Samsara interview question

I think one was a sort question?