Hydrothermally grown ZnO nanowire array as an oxygen vacancies reservoir for improved resistive switching