I have the following sentence in my résumé:
My passion lies in analyzing complex algorithms.
Someone pointed out to me that it is not correct, and that it should be:
My passion is analyzing complex algorithms.
I found this reference, but it only addresses the first version. Which is correct? If they are both correct, which is 'better'? My native language is not English, so I'm having a hard time deciding.