Amazon Interview Question

Differences between programming languages, and a backtracking problem for coding question.