Giter Site home page Giter Site logo

allalgorithms / cpp Goto Github PK

View Code? Open in Web Editor NEW
682.0 682.0 321.0 693 KB

Implementation of All ▲lgorithms in C++ Programming Language

Home Page: https://github.com/AllAlgorithms/cpp

License: MIT License

C++ 97.45% C 2.55%
algorithms allalgorithms cpp hacktoberfest

cpp's People

Contributors

0xp4blo avatar 2812sanchit avatar abhishek-iiit avatar abranhe avatar ameycodes avatar ankit2598 avatar ankitr19 avatar arctistic avatar ashwan1kumar avatar bharat-reddy avatar christianbender avatar crevios avatar gauravyug avatar hastagab avatar kavya98527 avatar korostenskyi avatar memeghaj10 avatar milanpokharna avatar mmreisi avatar mohbius avatar nikunj-taneja avatar ns98 avatar parmeet9891 avatar pratik07101999 avatar pratikkumar24 avatar roopbiswas avatar rusty12rusty avatar sjha2048 avatar tusharkanakagiri avatar virtualrcoder avatar

Stargazers

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

Watchers

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

cpp's Issues

How to implement Lucky 🍀 numbers algorithm on C++?

According to AllAlgorithms/python#32 (comment)

Hi @Zxey I liked, but it seems that the algorithm isn't properly implemented.

According to this the following gif:

gif

From 1-100 the lucky numbers should be:

1, 3, 7, 9, 13, 15, 21, 25, 31, 33, 37, 43, 49, 51, 63, 67, 69, 73, 75, 79, 87, 93, 99

This is the link to your implementation repl.it/@abranhe/lucky-numbers-in-python online, I just set the range from 1 - 100.

In a part of the output you will see:

number 17 is not lucky
number 18 is not lucky
number 19 is lucky
number 20 is not lucky
number 21 is not lucky
number 22 is not lucky
number 23 is not lucky
number 24 is not lucky
number 25 is not lucky
number 26 is not lucky
number 27 is lucky
number 28 is not lucky

Where they don't match with the output it should be:

Eg:

  • 19 isn't lucky
  • 25 is lucky
  • 27 isn't lucky
  • and so on ...

So this need to be fixed to be merged, I am creating an issue right now, hopefuly we will implement correctly.

After finding this issue on Python I went back again to C++ to double check if the algorithm was ok, but cpp/lucky numbers doesn’t seem right at all.

We need to find the a correct implementation for Lucky Numbers!

Know any algorithm in C++?

Hi, everyone!

Do you know any algorithm implementation in any language, that you wanna share with us?

Open a pull request in any of the programming languages available, or in C Plus Plus this case

N'th Fibonacci number in logarithmic time.

This issue is:
Algorithm for N'th Fibonacci number in logarithmic time.

  • A new Algorithm
  • An update to an existing algorithm.
  • An error found
  • A proposal
  • A question
  • Other (Describe below*)

Description:
Write an Algorithm for N'th Fibonacci number in logarithmic time.

Looking for a new C++ maintainer.

Since we are a small team reviewing pull requests, we are looking a C++ maintainer to resolve the Outstanding pull requests:

Requirements:

  • At least 6 months on Github (Experience reviewing code, etc..)
  • Previous C++ Knowledge.
  • Decided to review and work on issues at least every 3 days.
  • Open source enthusiast
  • Previus algorithms knowledege.
  • Must start this project :)

How to apply? Please Join our Gitter Chat, and let me know in private or here!

Dynamic programming - Memoization

I am creating an issue because...
There is only iterative codes for Dynamic programming.
It would be good to add Memoization (top down) approach as well

Merge sort

I am creating an issue, to contribute the algorithm of Merge sort.
I will be contributing Mergesort code under well defined and professional Manners.

PR created (Reverse LinkedList)

I am creating an issue because I have made a PR for the addition of a new algorithm- Create Reverse LinkedList file #349
Hope you will like it and merge with the repo. Thank you!

Accepting PRs?

I would love to work on this repository. Are you still open to accept pull requests?

Do you know any algorithm in C++?

Hi, everyone!

Do you know any algorithm implementation in any language, that you wanna share with us?

Open a pull request in any of the programming languages available, or in C Plus Plus this case

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.