KPMG interview question

Design Patterns, Asked to implement a linq logic on the white board