/alx-interview

diving into interview based practice

Primary LanguagePythonMIT LicenseMIT

Interview coding practices on efficient traversing arrays or list in programming language.

this repository will cover several company's based interview questions task 0.

python Create a function def pascal_triangle(n): that returns a list of lists of integers representing the Pascal’s triangle of n:

  • Returns an empty list if n <= 0
  • You can assume n will be always an integer