Citi Interview Question

None were as such difficult. Some programs were asked to be written with different complexities(space, time) and good optimization. I felt that a bit difficult.