Understanding algorithm language syntax -
https://codility.com/media/train/3-prefixsums.pdf
i trying hand @ algorithms on codility. stuck @ 1 of notations used in algorithm in above link.
what p = [0] * (n + 1) mean? language this?
thanks r
other terms, such xrange
, shows language python. generally, search web words see in code, may help know name of language.
in python, [0]
list containing single zero, , [0] * (n + 1)
list of (n + 1)
zeroes, [0, 0, ..., 0]
.
algorithm
No comments:
Post a Comment