Codurance’s Post

🎅 Santa's Allotment Challenge 🎄 Santa’s got an allotment and some big plans for Christmas trees! But there's a magical twist—these trees won’t grow unless they follow some tricky rules. Can you help him solve the puzzle? ✨ The Challenge: Santa’s allotment is an n x n grid, and he wants to plant n Christmas trees. But: No two trees can be in the same row, column, or diagonal. If it’s not possible, the result is an empty array! Think you can crack it? Solve the kata and help Santa make his allotment magical this Christmas! 🎅 👉 Start now: https://lnkd.in/ejdkguZr #CodeKata #ChristmasCoding #ProgrammingPuzzle

Santa's Allotment

Santa's Allotment

codurance.com

To view or add a comment, sign in

Explore topics