Wednesday, November 29, 2006

More Candidate Interview Questions

Implement the following methods:

/*
Given a word, return true or false indicating if the word is a palindrome.
FYI - a palindrome is a word reading the same backward as forward, such as bob, noon, madam, racecar, etc
*/
boolean isPalindrome(String word)

/*
Given an integer number, return a string representation of that number. For example, 481 should return "481".
*/
String intToString(int value)

No comments: