FICO interview question

Data structures and java