Flexible memory device based on polymer ferroelectric with zinc oxide single-nanowire transistors for robust multilevel operation