Motorola Solutions interview question

difficult coding questions