Skip navigation
I told AI to complete a CS assignment from Stanford's Advanced Data Structures (CS166) — and it…
0:00 / 0:46

I told AI to complete a CS assignment from Stanford's Advanced Data Structures (CS166) — and it…

Deedy

@deedydas251K followers

Visit on X
1,973 likesDownloadOriginal post

338,575 views

I told AI to complete a CS assignment from Stanford's Advanced Data Structures (CS166) — and it just.. did it! It read the pdf, wrote a Binomial Heap in C++, wrote tests + makefile, ran the tests, and wrote up a final pdf! Would've taken a student ~20hrs. Took AI ~3mins.

10 Comments

Comments from the original post on X (Twitter)

  • Deedy's profile picture

    @deedydas

    Here's one of the problems and a solution, which completely worked! Problem Set: Github to allow Claude to control Mac:

    104 likes

  • Deedy's profile picture

    @deedydas

    Got a lot of comments saying "well, isn't it in the training data?" and I think that misses the point. Most homework isn't novel across college + class. If you are able to scour and generalize across internet knowledge, it renders the HW itself pointless as a measuring tool.

    84 likes

  • scene's profile picture

    @svscnne

    Well you would imagine it is good at solving textbook CS problems because it’s been trained on so many of them

    44 likes

  • Deedy's profile picture

    @deedydas

    thats also all of college

    25 likes

  • Nathan Covey's profile picture

    @nathan_covey

    Schools are going to have to rethink homework

    14 likes

  • Bill Njoroge's profile picture

    @bnjorogedev

    A binomial heap isn’t taking 20 hrs to implement lol. More like one or two hours of locking in.

    14 likes

  • Deedy's profile picture

    @deedydas

    It did all 4 problems, but I didn’t have character space to include them. I think a student in that class without experience would probably take 20 total (maybe I’m just dumb) because we usually don’t lock in immediately for that long

    10 likes

  • Hieu Pham's profile picture

    @hyhieu226

    Wow, templated implementation. That's probably better than 90% what the students in that class can write.

    12 likes

  • Shin-chan Nohara's profile picture

    @shinchan_n0hara

    That's rookie. I completed my Data Science degree with it. Includes exams, assignments & thesis.

    11 likes

  • Yuchen Jin's profile picture

    @Yuchenj_UW

    mac computer use is very cool!

    9 likes