🏠 Trang chủ
Benchmark
📊 Tất cả benchmark 🦖 Khủng long v1 🦖 Khủng long v2 ✅ Ứng dụng To-Do List 🎨 Trang tự do sáng tạo 🎯 FSACB - Trình diễn cuối cùng 🌍 Benchmark dịch thuật
Mô hình
🏆 Top 10 mô hình 🆓 Mô hình miễn phí 📋 Tất cả mô hình ⚙️ Kilo Code
Tài nguyên
💬 Thư viện prompt 📖 Thuật ngữ AI 🔗 Liên kết hữu ích
advanced

Narrative Algorithm Transcription

#programming #creative-writing #algorithms #narrative

Translate a complex recursive algorithm into a high-tension narrative scene.

Translate the logic of a depth-first search (DFS) algorithm navigating a graph into a suspenseful narrative scene. The protagonist represents the traversal algorithm. The nodes of the graph are rooms in an ancient, shifting labyrinth. The edges are corridors. The recursion stack is represented by a magical rope that allows the protagonist to backtrack. Describe the 'marking of visited nodes' as leaving runes to prevent infinite loops. Ensure the narrative flow strictly mirrors the control flow of the DFS algorithm (explore, backtrack, unmark) while maintaining literary tension.