"Junior developers are often responsible for writing the more monotonous and simple code required by senior members of the development team. Because of this, interviews will be designed to test your knowledge of the fundamentals of Java so be prepared to answer technical questions that you likely came across in college. Data structures and algorithms will be heavily emphasised. A bachelor's degree or equivalent work experience is required. "
Implement a method to determine whether a string is a palindrome.
Recursive method; start from the ends and work your way in. Use indices if worried about memory.
Take a string as function parameter. Copy this str value into a new var, then use .reverse() thereupon. Compare the reversed copy back against original string using turnery operator to set resVariable to "true" : "false". Return resVariable.
(Using .split(""), as well as .join(""))