Cody

Problem 2704. Find Sign(Zero Crossing) Changes in Array

Example; A = [1 2 3 -3 -4 -1 -24 2 4 -1 -2 3 1];

ans;

[1 2 0 -3 -4 -1 0 2 0 -1 0 3 1]

Solution Stats

68.12% Correct | 31.88% Incorrect
Last solution submitted on Dec 04, 2018