Write a program to check if an array contains a specific element.
EasyProblem Statement
Write a program to check if an array contains a specific element.
Sample Input
Array: [10, 20, 30, 40], Element: 30
Sample Output
true
Limits
Time: 2s · Memory: 256 MB