Resistance switching of random access memory has been widely explored due to its potential for replacement of