Honeywell Interview Question

mostly on DS