Honeywell interview question

data structures and java programs