Python | Check if a list is contained in another list
Given two lists A and B, write a Python program to Check if list A is contained in list B without breaking A's order. Examples: Input : A = [1, 2], B = [1, 2, 3, 1, 1, 2, 2] Output : TrueInput : A = ['x', 'y', 'z'], B = ['x', 'a', 'y', 'x', 'b', 'z'] Output : FalseApproach #1: Naive Approach A simpl