Eight Queens puzzle explored !
hi,
Have you ever tried or come across solution for Eight Queens puzzle …I’m wondering how many geeks might have tried this in various ways. I really don’t know about this until I found it in Krishna(Google employee blg – http://crawls.blogspot.com.
After weekend partying, movie(Munnabhai II), shopping for Diwali and no work on sunday pushed me to try something new or learn things to complete the day usefully. Result I started walking towards office, Asusual I started my expedition with wikipedia for this puzzle.I’m not sure for ‘n’ queens..so I decided to take a printout of this for morning study leisurely in room. Meanwhile if any of you tried this feel free to share.
Note: There are only nine unique solution for this problem it seems. But after googlin in net about this, somewhere I got a simple calculation for this.
Have you ever tried or come across solution for Eight Queens puzzle …I’m wondering how many geeks might have tried this in various ways. I really don’t know about this until I found it in Krishna(Google employee blg – http://crawls.blogspot.com.
After weekend partying, movie(Munnabhai II), shopping for Diwali and no work on sunday pushed me to try something new or learn things to complete the day usefully. Result I started walking towards office, Asusual I started my expedition with wikipedia for this puzzle.I’m not sure for ‘n’ queens..so I decided to take a printout of this for morning study leisurely in room. Meanwhile if any of you tried this feel free to share.
Note: There are only nine unique solution for this problem it seems. But after googlin in net about this, somewhere I got a simple calculation for this.
(2^8-1)/(8-1) = 255/7 = 36.428571 (rounded to 6 decimals)
But in nut shell if you are an avg geek like me in maths here is the cheatcode. Place your queens in [2,4,6,8, 3175 ] manner to get this..bingoo src : http://en.wikipedia.org/wiki/Eight_queens_puzzle
But in nut shell if you are an avg geek like me in maths here is the cheatcode. Place your queens in [2,4,6,8, 3175 ] manner to get this..bingoo src : http://en.wikipedia.org/wiki/Eight_queens_puzzle
happy solving !
Mahes~
Mahes~
-
Recent
- The ID token is not yet valid. Make sure your computer’s time and time zone are both correct. Current epoch = 1689517128
- .NET Core – How to create a .NET GUI app which runs across the platform
- AKS 2022 updates
- Linux firewall and connectivity issues
- Microsoft Ignite (Sep22-24) event recap & On-demand sessions
- [Linux] Steps to install and configure sysstat package for monitoring.
- Azure Security Enablement – Centralized place for all the links
- Presenting tech session with stories [linkedin learning notes]
- gRPC using .NET core notes
- .NET in 2020 (Build recap)
- #KubeCon CNCF – North America 2019 watchlist
- AKS CLI Sheetcheat for the labs
-
Links