Can somebody please explain the statement “Two fence colorings are different if there is atleast one plank numbered x whose color differs in both the colorings.” and explain the third test case
It means two fence colorings are different if atleast one of the plank color in both of fence coloring is differnt.
Let Seven plank fence is there, then
“R R R R R R R”
is different from
“R R R R L R R”
ie. One plank (5th) of different color