pattern recognition problems and solutions - Search