solved questions on searching