added solution 7.1 with O(n+m) additional space