this post was submitted on 07 Jun 2026
414 points (98.6% liked)

Technology

85274 readers
4199 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] ozymandias117@lemmy.world 7 points 2 days ago* (last edited 2 days ago) (1 children)

Not OP, but I was pretty disappointed trying Claude 4.6

Prompted

Write a C program to find the longest word in a static 5x5 array of characters.

These characters shall be defined in a header file, you may allocate it with any letters for now

This program should find the longest word, using words available in a file at /usr/share/dict/words
This file will have one word per line

The rules of the longest word are that you may select the next letter in any direction from your current letter one character away, including diagonals

Any index may be the starting point, and you may not repeat a space on the grid

It did a breadth first search for the longest path, then checked if that longest path was a word, rather than checking each step, so it never found any words

When I asked it to fix that, it then opened and reread the entire dictionary for each character

Once I got it to fix that, I asked it to read the input array from a file, and after 30 minutes of asking it in different ways, it never managed to successfully read that file in

All in all, it took longer than just writing it myself, even for what I would call an interview question