I have no issues with doing homework as a filter, but a homework plus an algorithm exam for filtering is annoying, especially since the homework is more related to on-job performance and the algorithm exam isn't. (and in my experience, it's never a weighted average of doing well on the HW and doing less-well on the algorithms: it's always pass/fail).