{"id":28437244,"url":"https://github.com/macromrit/visualize-nqueens","last_synced_at":"2026-05-14T22:34:59.324Z","repository":{"id":208291229,"uuid":"721277069","full_name":"macromrit/Visualize-Nqueens","owner":"macromrit","description":"this is a python/streamlit powered app which lets you visualise how backtracking is performed on a chessboard to solve N-Queens Problem-Statement with additional content regarding the solution as well.","archived":false,"fork":false,"pushed_at":"2023-11-26T04:14:21.000Z","size":419,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-05T23:09:26.755Z","etag":null,"topics":["algorithms-and-data-structures","backtracking","python","streamlit"],"latest_commit_sha":null,"homepage":"https://nqueens-macromrit.streamlit.app/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/macromrit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-11-20T18:11:05.000Z","updated_at":"2023-11-26T04:16:57.000Z","dependencies_parsed_at":"2023-11-20T19:43:44.441Z","dependency_job_id":null,"html_url":"https://github.com/macromrit/Visualize-Nqueens","commit_stats":null,"previous_names":["macromrit/visualize-nqueens"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/macromrit/Visualize-Nqueens","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macromrit%2FVisualize-Nqueens","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macromrit%2FVisualize-Nqueens/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macromrit%2FVisualize-Nqueens/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macromrit%2FVisualize-Nqueens/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/macromrit","download_url":"https://codeload.github.com/macromrit/Visualize-Nqueens/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macromrit%2FVisualize-Nqueens/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262327108,"owners_count":23294203,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithms-and-data-structures","backtracking","python","streamlit"],"created_at":"2025-06-05T23:09:26.360Z","updated_at":"2026-05-14T22:34:54.303Z","avatar_url":"https://github.com/macromrit.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# N-Queens Problem Solver\n\nThe N-Queens problem solver is a Python-based application that uses backtracking and recursion to find solutions for placing queens on a chessboard. The interactive user interface is built with the Streamlit framework, allowing users to visualize and understand the solutions for different board sizes.\n\n## Tech Stack\n\n- **Python:** Programming language for the core implementation.\n- **Streamlit:** Web app framework for creating an interactive documentation and user interface.\n\n## Installation\n\nTo run the app locally, follow these steps:\n\n```bash\npip install streamlit\ngit clone https://github.com/macromrit/Visualize-Nqueens\ncd Visualize-Nqueens\nstreamlit run app.py\n```\n\n## Usage\n\n1. **Slider for Number of Queens:**\n   - Use the slider to select the number of queens (N) you want to place on the chessboard.\n\n3. **Display Solutions:**\n   - Visualize the placement of queens on the chessboard for each solution.\n   - Solutions are generated using a combination of backtracking and recursion.\n\n4. **Additional Information:**\n   - Time and space complexity information is displayed for each solution.\n   - Algorithmic explanation is provided for better understanding.\n   - Description on Domain, Environment and Constraints(Bounding Function) of this problem\n\n## What to do with the App?\n### Start of with adjusting the slider to number of queens needed \n\u003chr\u003e\n\u003cimg width=\"837\" alt=\"slider\" src=\"https://github.com/macromrit/Visualize-Nqueens/assets/77322873/7c08831f-db6b-4a8d-839b-00fac900e510\"\u003e\n\u003chr\u003e\n\n### Get access to python snippet which solves nqueens and other info like Space Complexity, Time complexity and more...\n\u003chr\u003e\n\u003cimg width=\"821\" alt=\"general-info\" src=\"https://github.com/macromrit/Visualize-Nqueens/assets/77322873/5659c3c0-9b71-4057-a668-5a930092ec81\"\u003e\n\u003chr\u003e\n\n### Scroll thorugh the solutions and steps involved in solving it to get a good grasp of this problem\n\u003chr\u003e\n\u003cimg width=\"722\" alt=\"solutions-steps\" src=\"https://github.com/macromrit/Visualize-Nqueens/assets/77322873/3216156e-6b94-453d-ab7c-9cd60f0bc93c\"\u003e\n\u003chr\u003e\n\n## Get in touch with me, (I'm Macromrit)\n**Contact Information:**\n   - Email: amritsubramanian.c@gmail.com\n   - LinkedIn: [Amrit Subramanian](https://www.linkedin.com/in/macromrit)\n   - GitHub: [Macromrit](https://github.com/macromrit)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacromrit%2Fvisualize-nqueens","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmacromrit%2Fvisualize-nqueens","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacromrit%2Fvisualize-nqueens/lists"}