Hacker News new | ask | show | jobs
by wrinkl3 1768 days ago
> I really want to see whether this model can write a correct binary search method without seeing one before.

It has almost definitely seen a lot of coding problems so I would expect "write a function to binary search a sorted array" to output the intended result. I don't think anybody expects it to come up with algorithms it hasn't encountered.