Member-only story

I Have Interviewed ChatGPT as SWE and here are the results (1) — DSA

LORY
5 min readFeb 24, 2023

--

Since Everyone talks about it. Let’s have some fun.

ChatGPT is hot nowadays.

And I heard It passed the google SWE Level 3 interview.

I want to see if it is true. can It really “solve” problems? or only simple ones?

I will pick some of the questions I used to give my candidates + randomly pick some leet-code problems and see if ChatGPT could get them right.

Let’s start.

#1 Leetcode easy (Warming up with this classic DFS)

129. Sum Root to Leaf Numbers (DFS)

He did it!

more surprisingly, I got the answer in 10 seconds 👍. And it explained the approach very well.

If you want to learn more about DFS, Here I have a summary of DFS problem

Result — Correct

#2 Leetcode easy (Classic Binary Search)

278. First Bad Version

--

--

LORY
LORY

Written by LORY

A channel which focusing on developer growth and self improvement

No responses yet