Complete the code to choose the best data structure for fast lookup.
best_structure = [1]A hash table provides fast lookup by key, usually in constant time.
Complete the code to select a data structure that maintains order and allows fast insertion.
chosen_structure = [1]A linked list maintains order and allows fast insertion and deletion anywhere.
Fix the error in choosing the data structure for last-in-first-out access.
data_structure = [1]A stack follows last-in-first-out (LIFO) order, suitable for this access pattern.
Fill both blanks to create a dictionary comprehension that filters keys starting with 'a'.
{k: v for k, v in data.items() if k.[1]('a') and v [2] 10}Use startswith to check keys starting with 'a' and > to filter values greater than 10.
Fill all three blanks to create a set comprehension selecting even numbers greater than 5.
{num for num in numbers if num [1] 5 and num [2] 2 == [3]Filter numbers greater than 5 and check if they are even by using modulo 2 equals 0.