I think being too smart is the easiest way to fail any police exams. They want people who follow orders, they don’t want people who are smart enough to think it is bullshit.
Similar thing with leetcode style interviews really. Memorize a bunch of solutions to contrived problems to prove you are a good little coder, don't question the hiring manager about where you'll be using this on the job. Then get hired and move that header two pixels to the right, over and over again, forever.