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

2444 Solutions

955 Solvers

Last Solution submitted on Aug 15, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...