TheAlgorithms / C-Plus-Plus

Collection of various algorithms in mathematics, machine learning, computer science and physics implemented in C++ for educational purposes.
https://thealgorithms.github.io/C-Plus-Plus
MIT License
30.55k stars 7.23k forks source link

Pascals Triangle #2774

Open Sameeratweb opened 2 weeks ago

Sameeratweb commented 2 weeks ago

Detailed description

Demonstrating Pascal's triangle using C++

Context

operations on a data structure can be performed to implement Pascal's triangle.

please allow me with this issue with relevant tags under hacktoberfest

realstealthninja commented 2 weeks ago

pascals triangles is not really an algorithm

Paran-oid commented 2 weeks ago

pascals triangles is not really an algorithm

isn't it technically more of a math problem?

realstealthninja commented 2 weeks ago

pascals triangles is not really an algorithm

isn't it technically more of a math problem?

The question is should we put it in the repo?

Paran-oid commented 1 week ago

pascals triangles is not really an algorithm

isn't it technically more of a math problem?

The question is should we put it in the repo?

I do think it won't be a bad idea to add it, it has lots of interesting implementations with recursion, stacks ...