employer cover photo
employer logo
employer logo

Pleasant Solutions

Is this your company?

Pleasant Solutions interview question

Review (poorly written) code for binary tree traversal and describe what it is doing. Then write a more efficient solution to achieve the same thing.

Interview Answer

Anonymous

3 Oct 2013

Read each line of the code provided very carefully as it is very poorly written and if you jump to conclusions about what it is doing you will be wrong.