Pregunta de entrevista de Intuit

How do you determine the cyclomatic complexity of a given function?