Intel Corporation Interview Question

Build an expression tree and modify it so it could be more efficient.