TD Interview Question

See everything on description area.