{"ScriptPreparationCode":"var a1 = [...Array(10000)].map((x, i) =\u003E [\u0022Vijendra\u0022, \u0022Singh\u0022, \u0022ab\u0022, \u0022cd\u0022, \u0022ef\u0022, \u0022gh\u0022, \u0022ij\u0022, \u0022kl\u0022, \u0022mn\u0022, \u0022op\u0022][i % 10]);\r\nvar a2 = [...Array(10000)].map((x, i) =\u003E [\u0022Singh\u0022, \u0022Shakya\u0022, \u0022ab\u0022, \u0022cd\u0022, \u0022zz\u0022, \u0022xx\u0022, \u0022ij\u0022, \u0022kl\u0022, \u0022AA\u0022, \u0022BB\u0022][i % 10]);\r\nfunction K(arr1,arr2) {\r\n let r=[], h={};\r\n \r\n while(arr1.length) {\r\n let e = arr1.shift();\r\n if(!h[e]) h[e]=1 \u0026\u0026 r.push(e);\r\n }\r\n \r\n while(arr2.length) {\r\n let e = arr2.shift();\r\n if(!h[e]) h[e]=1 \u0026\u0026 r.push(e);\r\n }\r\n \r\n return r;\r\n}","TestCases":[{"Name":"c","Code":"return new Set([...a1,...a2]);","IsDeferred":false},{"Name":"D","Code":"c=a1.concat(a2); return c.filter((item, pos) =\u003E c.indexOf(item) === pos);","IsDeferred":false},{"Name":"E","Code":"return K(a1,a2);","IsDeferred":false}]}