{"ScriptPreparationCode":"var l = 100;\r\nvar a = Array(l).fill(\u0027\u0027).map(()=\u003EMath.round(Math.random(0,1)*l))\r\nvar b = Array(l).fill(\u0027\u0027).map(()=\u003EMath.round(Math.random(0,1)*l))","TestCases":[{"Name":"For \u002B push","Code":"const p = []\r\nfor (let i=0; i \u003C l; i\u002B\u002B){\r\n const c = a[i] \u003C b[i] ? [a[i], b[i]] : [b[i], a[i]];\r\n if(!p.includes(c)){\r\n p.push(c);\r\n }\r\n}","IsDeferred":false},{"Name":"For \u002B concat","Code":"let p = []\r\nfor (let i=0; i \u003C l; i\u002B\u002B){\r\n const c = a[i] \u003C b[i] ? [a[i], b[i]] : [b[i], a[i]];\r\n if(!p.includes(c)){\r\n p = [...p, c]\r\n }\r\n}","IsDeferred":false},{"Name":"Reduce","Code":"const p = a.reduce((acc, v, i) =\u003E {\r\n\tconst c = v\u003C b[i] ? [v, b[i]]: [b[i], v];\r\n if(!acc.includes(c)){\r\n acc.push(c)\r\n }\r\n return acc\r\n}, [])","IsDeferred":false}]}