Cody

Problem 895. Generate N equally spaced intervals between -L and L

Given N and L, return a list of numbers (in ascending order) that divides the interval [-L L] into N equal-length segments.

For example, if L = 3 and N = 2

    y = [ -3 0 3 ]

Solution Stats

48.99% Correct | 51.01% Incorrect
Last Solution submitted on Jan 12, 2020

Problem Comments

Solution Comments

Problem Recent Solvers443

Suggested Problems

More from this Author56

Problem Tags