MCPcopy Create free account
hub / github.com/SHY-Corp/LeetCode-Solutions / generate

Method generate

Python/118. PascalsTriangle.py:7–43  ·  view source on GitHub ↗

creates a two dimensional array holding a pascal triangle of the desired height :param num: int the height of the triangle :return: List[List[int]] a matrix of the pascal triangle

(self, num)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected