Hacktoberfest_2022_DSA
Hacktoberfest_2022_DSA copied to clipboard
Created 118_PascalTriangle.cpp
Added the C++ solution to Leetcode problem 118. Pascal's Trianglehttps://leetcode.com/problems/pascals-triangle/
Rules ⚔️ Add link of the problem as comments in the code if contributing solution of any problems from Leetcode, GeekForGeeks, Codechef or Codeforces, etc. No need to add entire main function. ⚔️ Dont forget to star this repository and follow me for successful merge. ⚔️ Please put your Name and Github id as comments at top of the code file to get accepted. ⚔️ Give your file a proper name related to your program in snake_case. ⚔️ Add the proper extension to your code file. Examples: .c, .js, .cpp , .py or .java. ⚔️ Put your files in correct folder like .cpp file in c++ folder or .py file in python folder. ⚔️ If folder is not present for your language create new with name of your programming language like C++ , Python etc ⚔️ Make repo well maintained if topic not present in which you want to contribute create new folder for it in their paricular section or language.
Follow above rules for successful merge.