How to save the queen?

I’ll just leave this here as an example of how not to approach this: Fun "interview" question solved easily in Julia - #13 by Mason