Loading practice questions…
Try 17 questions free, each with a worked solution. No account needed. Read a sample on one page.
An access pass unlocks the full bank of 1,600+ FE ECE questions.
A digital filter routine computes n output samples, each a weighted sum of 8 consecutive input samples (the array x holds n + 7 samples and w holds the 8 weights):In big-O notation, the worst-case running time of this routine as a function of n is: