Largest number in an array that is not a perfect cube
Given an array of n integers. The task is to find the largest number which is not a perfect cube. Print -1 if there is no number that is a perfect cube. Examples: Input: arr[] = {16, 8, 25, 2, 3, 10} Output: 25 25 is the largest number that is not a perfect cube. Input: arr[] = {36, 64, 10, 16, 29,