No one asks a mechanical engineer to white board FEA or integrate by parts. Everyone just accepts that an experienced engineer will be rusty about things outside his career domain.
Well, that was college. If you want a job with Google (or the companies that try to mindlessly mimic their hiring process) --
your best bet is to memorize.
yes, when I got my job at google I had basically memorized CLR (I was a biologist, not a computer scientist, so I had to do a bunch of extra reading).