LBi Software Interview Question

Brain teasers and logic, followed by programming knowledge.