Limit cycles for discontinuous planar piecewise linear differential systems separated by an algebraic curve