ChatGPT I asked ChatGPT to analyze the time complexity of a simple code, it seems that it is unable to give the correct answer let count = 0; for(let i = 1; i n; i = 2*i) for(let j = 1; j i; j++) count++; The correct answer is O(n) and ChatGPT answer is O(n log n)