Philips Interview Report
- 0of 0 votes
AnswersAn array is special if it contains special elements. A special element is an element which can be represented by the sum of two numbers where one number is reverse of other. Like Array is {22, 121} . Here 22 = 11 + 11 and 121 = 92 + 29. Hence both elements are special. The input array is an array of strings. Output number of special elements in the array.
- ganesh.eng2015 August 19, 2018 in India| Report Duplicate | Flag | PURGE
Philips Backend Developer - 0of 0 votes
AnswersCount maximum number of pair (a, b) possible from an array so that a is less than equal to 2*b. Also tell number of unpaired element left.
- ganesh.eng2015 August 19, 2018 in India
So for Input
1, 3, 5, 6, 7
ans = 2 1| Report Duplicate | Flag | PURGE
Philips Backend Developer
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.