Company: Hashedin_3nov
Difficulty: medium
Find Most Recent Task with Keyword Problem Description A team keeps a running log of daily tasks in the order each one was added, and every task is stored as a short text description. Given a search keyword, report the description of the newest task (the one added last) whose text contains that keyword as an exact substring. If none of the tasks contain the keyword, output "Not Found". A plain list is enough to solve this; no fancier data structure is needed. Examples Example 1: Input: 5 Finish report Email team Schedule meeting Review code Fix bug Review Output: Review code Explanation: The tasks, in the order they were logged, are "Finish report", "Email team", "Schedule meeting", "Review code", "Fix bug". Scanning backward from the newest, "Fix bug" has no "Review" in it, but the task just before it, "Review code", does. So the output is "Review code". Example 2: Input: 3 Open door Close window Lock safe door Output: Open door Explanation: The logged tasks are "Open door", "Close wi