There are 3 baskets one of which contains oranges, other contains apples, and last one contains mangoes.

Person is allowed to pick from any one of the baskets and then he needs to figure out which basket contains which fruit.

Can anyone suggest solution for this puzzle?

-
If only one pick is allowed and there are no other conditions, this is not possible: there are $3!=6$ possible arrangements, and one pick can just discriminate three cases. – Johannes Kloos Jul 24 '12 at 15:08
There is some information missing. – picakhu Jul 24 '12 at 15:11
Pick from one of the baskets. WLOG it's mangos. Then lean over and sniff the other baskets until you smell oranges. Done. – Hovercouch Jul 24 '12 at 15:15
I've already seen a variant of this with the information that all boxes are labeled incorrectly. Then, for example, if you pick one fruit from the box labeled "apples" and it is an orange, so it must be the case that the box labeled "mangoes" contains apples, and the box labeled "oranges" contains mangoes (otherwise mangoes would be the box labeled "mangoes", but we know that all boxes are labeled incorrectly). – anonymous Jul 24 '12 at 15:21