Rejecting the company that attempts to put you through this kind of interview is how you pass.
Remember that interviews are 2-way. You don’t have to engage in someone’s bad faith or incompetent interviewing.