SyntaxFix
Write A Post
Hire A Developer
Questions
var arr3 = new arraylist(); for(int i=0, j=0, k=0; i<arr1.size()+arr2.size(); i++){ if(i&1) arr3.add(arr1[j++]); else arr3.add(arr2[k++]); }
as you say, "the names and numbers beside each other".