LinkedIn N-Queens Solver
Automated solver for LinkedIn's Queens puzzle game
About This Project
- Implemented constraint propagation algorithm in TypeScript
- AWS Lambda function for automated serverless execution
- Cloudflare Workers Queue for publishing results
- Automated browser interaction using Playwright
- Achieves 100% success rate on all puzzle sizes
Technologies Used
TypeScriptAWS LambdaCloudflare WorkersPlaywright
Key Features
- Solves daily N-Queens puzzle for any difficulty
- Automated LinkedIn game interaction
- Serverless deployment on Cloudflare Workers
Challenges & Solutions
Challenges
- Implementing an efficient constraint satisfaction algorithm for modified N-Queens puzzle
- Get daily puzzle info from Linkedin website
Solutions
- Leveraged an undirected graph representation of the puzzle and solved using constraint propagation
- Used Playwright to automate browser interactions and retrieve daily puzzle data