{"ScriptPreparationCode":"var data = [...new Array(100)].map((_, i) =\u003E i);\r\n\r\nvar checkedPush = (array, item) =\u003E {\r\n for (let i = 0, len = array.length; i \u003C len; \u002B\u002Bi) {\r\n let isPresent = false;\r\n for (const oldItem of array) {\r\n if (oldItem === item) {\r\n isPresent = true;\r\n break;\r\n }\r\n }\r\n if (!isPresent) {\r\n array.push(item);\r\n }\r\n }\r\n}","TestCases":[{"Name":"Set","Code":"var smallSet = new Set();\r\nfor (const item of data) {\r\n smallSet.add(item);\r\n}","IsDeferred":false},{"Name":"Checked array","Code":"var smallArray = [];\r\nfor (const item of data) {\r\n checkedPush(data, item);\r\n}","IsDeferred":false}]}