Exercises/#118 Pascal's Triangle Row
#118

Pascal's Triangle Row

EasyπŸ”’ Math & Numbers
40 XP

Problem

Given an integer rowIndex, return the rowIndex-th (0-indexed) row of Pascal's triangle.

Examples

Input: rowIndex = 3
Output: [1, 3, 3, 1]

Input: rowIndex = 0
Output: [1]
mathdynamic-programming
AI Assistantβ€” powered by AI

Unlock hints progressively β€” start gentle, go deeper only if needed.

πŸ’‘

Level 1: Gentle Nudge

A subtle direction

πŸ—ΊοΈ

Level 2: Approach

The algorithm to use

πŸ”

Level 3: Detailed

Step-by-step guidance

118 / 150

Your Solution

⚑ JavaScript

to save progress and use AI features