What is the solution of apples and oranges problem?

what is the solution of apples and oranges problem?

you can know the exact label in just 1 pick.
Pick a fruit from label - “apples and oranges”, lets say your picked fruit was apple, now certainly this is actually “apple” crate(as the given label is incorrect),
Now you know the crate having “oranges” label is actually “oranges and apples” and one with “apples” is “oranges”.
The key idea is to choose fruit from “apples and oranges”.