The elliptic azimuthal anisotropy coefficient (v2) is measured for charm (D0) and strange (K0 S, Λ, Ξ−, and Ω−) hadrons, using a data sample of p þ Pb collisions collected by the CMS experiment, at a nucleonnucleon center-of-mass energy of ffiffiffiffiffiffiffi sNN p ¼ 8.16 TeV. A significant positive v2 signal from long-range azimuthal co