Daniel Radcliffe has never publicly stated a single favorite school subject. In interviews, he has mentioned enjoying:
He left formal schooling early (tutored on set) and did not attend university. Any "favorite subject" claims online are speculative.