Find algorithm to any problem