Amazon interview Experience | Set 137 (Assessment test for SDE)

Coding questions:
1) Given two words, find if second word is the round rotation of first word.
For example: abc, cab
return 1
since cab is round rotation of abc

Example2: ab, aa
return -1
since aa is not round rotation for aa

2) Given two hexadecimal numbers find if they can be consecutive in gray code
For example: 10001000, 10001001
return 1
since they are successive in gray code

Example2: 10001000, 10011001
return -1
since they are not successive in gray code.

Aptitude questions:

1) Some based on finding relationships between given number/strings and find the missing one
Example: VTS: RPO :: AYX: ____

2) Paragraph reading and inferring information from it.

3) Facts provided and making a decision based on it.

4) Combinations possible based on facts provided.

If you like GeeksforGeeks and would like to contribute, you can also write an article and mail your article to See your article appearing on the GeeksforGeeks main page and help other Geeks.

Write your Interview Experience or mail it to

My Personal Notes arrow_drop_up
Article Tags :
Practice Tags :

Be the First to upvote.

Please write to us at to report any issue with the above content.