Travelers Interview Question

How do you solve problems that you don't know the answer to? Describe the similarities and differences between 2 programming languages?