a coding example for an interview