Given a string s, find the length of the longest substring without repeating characters.
Input: s = "abcabcbb"
Output: 3
Explanation: The answer is "abc", with the length of 3.
| set pagination off | |
| set disassembly-flavor intel | |
| set disassemble-next-line on | |
| set print pretty on | |
| set confirm off | |
| set history save on | |
| set history filename ~/.gdb_history | |
| tui enable | |
| tui new-layout default src 1 {-horizontal asm 2 regs 1} 2 status 1 cmd 1 | |
| tui new-layout no-src {-horizontal asm 2 regs 1} 2 status 1 cmd 1 |
| import mitmproxy.http | |
| import requests | |
| import json | |
| import re | |
| import base64 |
| // Step 1: Deep copy a jagged array with numbers or other arrays in a new array | |
| const originalArray = [2, 4, 10, [12, 4, [100, 99], 4], [3, 2, 99], 0]; | |
| const deepCopyArray = (array) => { | |
| }; | |
| console.log("## deepCopyArray"); | |
| console.log(deepCopyArray(originalArray)); | |
| // Step 2: Render jagged array in document body using semantic HTML |