Honeywell interview question

String optimizations and data structure questions