How can this be wrong


#1

Your submission failed for the following input:

A : [ [7, 10] [4, 19] [19, 26] [14, 16] [13, 18] [16, 21]]

Your function returned the following :

4

The expected returned value :

3

Run as custom input


#2

for meeting (14,16) and (16,21), consider that they can be held in a single room i.e if start time of one meeting is equal to end time of second meeting then they can be held in a single room