Skip to content

Latest commit

 

History

History

any-or-all

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

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