Editorial Solution does not hold for all cases


#1

Consider the following test case:
A : [ 1, 4, 5, 8, 9, 10 ]
B : [ 6, 9, 10 ]
C : [ 2, 3, 6, 10 ]

answer will be 1 but correct answer is 0