Pergunta de entrevista da empresa C3 AI

There were 10 basic questions, and 1 code question. The problem was with the code. Given jobs coming with start time and end time (15,30) (10,20) how many will run, given that one cannot run overlapping jobs? The example provided in this case, is 2. As you see here, job one over lap with job 2. So job 1 should not have run. However, in the example they provided both jobs run.