3 ms·
here is my "c++ with stl" version. it's in-place, with only one separate case and w/o array reversing at all. http://okertanov.github.com/2012/08/03/Array-Iter
by okertanov 14y ago
here is my "c++ with stl" version. it's in-place, with only one separate case and w/o array reversing at all.
http://okertanov.github.com/2012/08/03/Array-Iteration-Interview-Problem/ http://okertanov.github.com/2012/08/03/Array-Iteration-Inter...