{"ScriptPreparationCode":"window.n = 100000;","TestCases":[{"Name":"shift","Code":"arr = Array.from(new Array(n)).map((_,i)=\u003Ei)\r\nfor(let i = 0; i \u003C n; i\u002B\u002B){\r\n arr.shift()\r\n}","IsDeferred":false},{"Name":"pop","Code":"arr = Array.from(new Array(n)).map((_,i)=\u003Ei)\r\nfor(let i = 0; i \u003C n; i\u002B\u002B){\r\n arr.pop()\r\n}","IsDeferred":false},{"Name":"splice(shift)","Code":"arr = Array.from(new Array(n)).map((_,i)=\u003Ei)\r\nfor(let i = 0; i \u003C n; i\u002B\u002B){\r\n arr.splice(0, 1)\r\n}","IsDeferred":false},{"Name":"splice(pop)","Code":"arr = Array.from(new Array(n)).map((_,i)=\u003Ei)\r\nfor(let i = 0; i \u003C n; i\u002B\u002B){\r\n arr.splice(n-i-1, 1)\r\n}","IsDeferred":false}]}