ABC interview question

Job is optimal or not