結果 : permuting two arrays hackerrank solution in java