Difference between LM339D and LM339N
A "D" suffix means that the package is a SOIC, whereas a "N" suffix means PDIP. Note that different vendors may use different suffixes for the package, but both D and N are very common.