I abhor everything leetcode (and suck at their puzzles), but I would call O(n) basic foundational theory. Competence in engineering requires an intuitive understanding of at least time complexity. Given that this is software "engineering", it's probably fine if the candidate isn't familiar with big O specifically but they should at least be able to reason about scaling complexity on an interview, I think.