


Input: a = [6, 10, 1, 3, 5], key = 3
Output: True
Explanation: The array 'a' contains the 'key' = 3, so we return True.
The first line of the input contains two integers, 'n' and 'key', separated by a space.
The next line contains 'n' space-separated integers representing the elements of the array 'n'.
Return a boolean 'true' or 'false' as stated in the problem statement. 'True' is printed for a returned value of 'true' and 'False' otherwise.
You don’t need to print anything. Just implement the given function.
Element Count in Ranges
First Digit One
Minimize Maximum Adjacent Distance
Sorted Doubly Linked List to Balanced BST
Minimized Maximum of Products Distributed to Any Store