$ ./guess_the_languageProblem Solving — fill the blank
Problem Solving — fill the blank · medium · #31

Fill the operator that repeats the list n+1 times.

dp = [0] ____ (n + 1)   # n+1 zeros

Answer: * (also accepted: *)

[0] * (n+1) builds a DP array of n+1 zeros.
Play Problem Solving ▸