I was using chatgpt today to solve “Contains duplicate 3”, a hard problem in LC. ChatGPT gave 3 right solutions: 1.Brute force approach 2. Optimised hash map solution 3. Optimised hashset solution. I pasted the hashset solution and LC throwed TLE error bcoz the TC is O(N*indexDiff) but chatGPT was telling me its O(N). And it said hashset solution is better than hashmap solution due to its space complexity. Then I asked about the inner loop in set solution than it admits the mistake. Edit: it produced hashmap solution twice and it was wrong on both times😂 I m not here to tell it will not replace SWE, but it is not interview ready yet! #tech #chatgpt #openai
It is able to give solutions for problems available online, it struggles to get right even pretty easy A rated problems from Codeforces rounds or modified versions of popular problems
I think it just searches the internet, identifies relevant results and tries to copy paste parts that it "thinks" apply to your question. It does even that inaccurately.
No i don't think it searches the internet. I asked chatgpt, it's results are purely based on training data
Yea it is not as good
People forget this is literally the v1 that has been released. Let's not be naive here, the accuracy of the answers are going to significantly improve as they release newer versions with lot bigger models and also connect to internet in realtime. What they have right now is just a sneak peak into what is going to happen. It is not a final refined end product. Every incredible product gradually improves with the right investments. Imagine shitting on first versions of the cell phones and compare to where we are right now.
Its unlikely it would be adequately accurate unless they come up with something truly groundbreaking and truly intelligent that can actually understand what it is saying. Chatbots have been there for a while, as we train on more data with more computation, it will get better and more impressive at coming up with believable answers which may or may not be accurate because chatbots don't optimize for accuracy. it coud be great summarizer with internet lookup though
You can't tell TC on blind too. GTFO!
Sorry, 11LPA