Question d’entretien chez Oracle

How would you implement an RDBMS optimizer?