Pregunta de entrevista de Amazon

1. finding if two binary number are consecutive grey code. (i.e. only one bit difference) 2. finding if two string are rotation to each other. (i.e. return true if s1 = "abcde" s2 = "cdeab") And 24 easy logical questions.