DEV Community

Discussion on: Terrible interview question: Swap variables without a temporary

Collapse
 
mortoray profile image
edA‑qa mort‑ora‑y

Algorithms can be used in interviews, but there's a whole host of algorithms which can be logically derived from other ones. Those are decent tests of problem solving, as well as knowledge level. As you say, the clever tests don't gauge anything.