Wow. That is the kind of monkey business that would have me running for the exits. Yikes.
I agree, but I think that’s kind of the objection. It can be tempting to write your code as little brainteasers but…
Honestly, sounds like the reviewer failed the interview, not the other way around.
However, I agree it might be less performant, and it's a certain kind of thinking that isn't quickly grokked (and doesn't have to be). I deliberately tried to write my story about the interview so as to make it sound like there's positives and negatives to both positions expressed. _I_ have a preference for that functional style, but I know it's not for everyone. That's totally fine.