HF RL Explorer

List Intersection Task

List Intersection Task: a task in Terminal-Lego-15k (Harbor dataset). You need to write a Python program that performs a boolean AND operation (intersection) on two lists. The intersection should return only the elements that appear in both lists, maintaining the order from the first list.

Part of PrimeIntellect/Terminal-Lego-15k.