Is there a bump? – codegolf.stackexchange.com

Given a list of positive integers determine if there is an element that is either greater than its two neighbors or less than its two neighbors (a “bump”). To be clear a bump can never be the first …

For Get Answer – Click here

Leave a Reply

Your email address will not be published. Required fields are marked *