IBM Interview Question

Logic and data structures and algorithms