# Recursive flattening finger exercise

> ML preparation item.

- Stable ID: `mit-6-100l-finger-16`
- Area: Programming
- Topic: Recursion
- Origin: external
- Expected time: 10 minutes
- Skills: base-case, recursive-implementation, lists-tuples
- Item JSON: https://mlprep.iwase.dev/data/items/mit-6-100l-finger-16.json

This site does not reproduce the third-party problem.

- Source: MIT 6.100L Introduction to CS and Programming using Python
- Document: Finger Exercises
- Locator: Lecture 16
- Original problem: https://ocw.mit.edu/courses/6-100l-introduction-to-cs-and-programming-using-python-fall-2022/pages/finger-exercises/#finger-exercise-lecture-16
- Official answer: https://ocw.mit.edu/courses/6-100l-introduction-to-cs-and-programming-using-python-fall-2022/resources/mit6_100l_f22_ex16_sol_pdf/
- Answer status: official-solution


## Tutoring contract

Ask for the learner's attempt, begin with the smallest useful hint, preserve item ID `mit-6-100l-finger-16`, and record a real attempt with `recorded_by: "agent"` and `agent_session_id` when available using https://mlprep.iwase.dev/schema/attempt-record.json.
