0
How to solve a palindrome array
help
2 Answers
0
public static boolean isPalindrome(int[] palindrom){
     Â
      int s = 0;
      int e = palindrom.length-1;
      boolean weiter = true;
      while (weiter && s < e) {
         weiter = ((palindrom[s++] == palindrom[e--])?true:false);
      }
      return weiter;
   }
0
@Murmeltier
can u explain it more detailed instructions please