Looping through a list of items, and doing different operations based on their value is an extremely common occurrence, and you’d hard pressed to find a codebase that doesn’t use that pattern somewhere.
Welp, this is why interview fizzbuzz exists, because some people think of it as "software bullshit" instead of the simplest possible program you can imagine that should come out as fast as you can type it.
I feel attacked. I'm a DSP engineer and I haven't implemented an analog filter since I graduated. If we got into detail on RC filter gain and phase shift I'd fail. Do I have to give my EE degree back?
I think it depends on what is meant by details. For a DSP engineer, if details are not knowing the difference between and RC made with ceramic or film cap, I’d give a pass there. If details are not solving continuous time equations in the form 1/s, that’s probably a fail.