Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 673 Bytes

README.md

File metadata and controls

35 lines (22 loc) · 673 Bytes

Any or All

https://www.hackerrank.com/challenges/any-or-all

Problem

This expression returns True if any element of the iterable is true. If the iterable is empty, it will return False.

Task

You are given a space separated list of integers. If all the integers are positive, then you need to check if any integer is a palindromic integer.

Input Format

The first line contains an integer N. N is the total number of integers in the list.
The second line contains the space separated list of N integers.

Sample Input 0

5
12 9 61 5 14 

Sample Output 0

True

My Solution