Mentalyc interview question

How does AI search work?