What is the difference between c++ and Java? What are the primitive data types in Java? What is the JVM and the Garbage Collector? Implement a method to decide whether a string is palindrome or not.
Anonymous
you can solve the problem by using two pointers on the string . One at the beginning and one at the end. the first moves to the right and the other one moves to the left and compare the string's characters.
Check out your Company Bowl for anonymous work chats.