It isn't ever quite that simple. It also depends whether that person only used information that is publicly available to deduce how to do it at the new company.