Neural Mastery
← Practice
#335. Graph Dead-End Detectioneasy

#335. Graph Dead-End Detection

easyAgent Graph Engineering⏱ 10–15 min
Libraries allowed · Pure Python earns +10 bonus XP
🎯 Mission
Implement #335. Graph Dead-End Detection to master core AI engineering concepts in Agent Graph Engineering.

Task

Implement `graph_dead_end_detection` in Python. Test cases verify edge cases and functional requirements.

Function Signature

graph_dead_end_detection(*args, **kwargs)

Examples

Example 1: Basic Execution
Input: {}
Output: true
Explanation: Verifies core execution for #335. Graph Dead-End Detection.

Constraints

  • Libraries (NumPy, PyTorch, SciPy) are allowed and accepted normally.
  • Pure Python (no external libraries) earns +10 Bonus XP!
  • Must handle edge cases cleanly.
Python3Saved ✓
def graph_dead_end_detection(*args, **kwargs):
"""
Agent Graph Engineering - Problem #335: Graph Dead-End Detection
Implement solution for Graph Dead-End Detection in the Neural Mastery AI Engineering curriculum.
"""
# Implement core solution logic here
pass

Case 1: Basic Execution
Input: {}
Expected: true