HF RL Explorer

Task: Recursive Key Search in Nested Dictionary

Task: Recursive Key Search in Nested Dictionary: a task in Terminal-Lego-15k (Harbor dataset). Implement a Python function that recursively searches through a possibly nested dictionary (up to ten levels deep) and returns the first value it finds for a given key.

The task

Implement a Python function that recursively searches through a possibly nested dictionary (up to ten levels deep) and returns the first value it finds for a given key.

Part of PrimeIntellect/Terminal-Lego-15k.