Git Product home page Git Product logo

prashant0664 / hacktoberfest Goto Github PK

View Code? Open in Web Editor NEW
20.0 1.0 43.0 50.33 MB

You can upload programming ques and projects here for Hacktoberfest 2023

C++ 30.22% Go 0.53% HTML 16.71% CSS 22.35% Python 8.07% Java 5.49% C 0.88% JavaScript 14.55% EJS 1.20%
coding dsa easy first-issue first-timers good-first-issue hacktoberfest hacktoberfest-accepted hacktoberfest-accepted2023 hacktoberfest-starter

hacktoberfest's Introduction

Hi there 👋

hacktoberfest's People

Contributors

100godmoon avatar adityadhavale avatar altropro21 avatar andianiputri avatar aryan-codes1 avatar aryprogrammer avatar bishwobista avatar dhaneshwarguiyan avatar durgeshsejekar avatar ginni16 avatar iamrishabhjoshi avatar kittoteja avatar nagraj-shankar avatar npav5057 avatar pjbeast23 avatar prashant0664 avatar prashant2100 avatar pratik1603 avatar priyesh0453 avatar raj-sharma01 avatar shantanusharnagat avatar shubh011 avatar shubhamnagure avatar subramanyaks avatar sykikxo avatar thehackracer7 avatar vaiofficial avatar vbpmp avatar vendhan-ds avatar wendell00 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

hacktoberfest's Issues

Add N-Queens problem solution in C++

The n-queens puzzle is the problem of placing n queens on an n x n chessboard such that no two queens attack each other.

Given an integer n, return all distinct solutions to the n-queens puzzle. You may return the answer in any order.

Each solution contains a distinct board configuration of the n-queens' placement, where 'Q' and '.' both indicate a queen and an empty space, respectively.

Example 1:

image

Input: n = 4
Output: [[".Q..","...Q","Q...","..Q."],["..Q.","Q...","...Q",".Q.."]]
Explanation: There exist two distinct solutions to the 4-queens puzzle as shown above

Example 2:

Input: n = 1
Output: [["Q"]]

Constraints:
1 <= n <= 9

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.