My intelligence is higher than that of Tom.
My intelligence is higher than Tom's.

Are both sentences correct?

To me, both are fine.


Many thanks.