a good algorithm must be - Search