Motorola Solutions interview question

Describe the complexity of the code