Algorithms challenge chatgpt-bfs

Algorithms challenge: chatgpt-bfs

Ask ChatGPT to write a graph algorithm

Find prompts that instruct ChatGPT to produce a valid algorithm for solving tick bfs-all.

You should run the algorithm through the tester for bfs-all. You may make syntactical tweaks if necessary to turn the code into valid Python. If your algorithm passes the tester, well done! But even if it doesn’t, you are encouraged to submit your attempt.

Submit a text document (.txt, .rtf, .docx, .odt) containing both sides of your dialogue, including the finished algorithm, on Moodle.

Bonus: find prompts that instruct ChatGPT to give a valid proof that its algorithm is correct.