Teaching Kids Programming – Number of Changing Directions
Teaching Kids Programming: Videos on Data Structures and Algorithms Given a list of integers nums, return the number of times that the list changes from positive-to-negative or negative-to-positive slope. …