Is there a bump? – codegolf.stackexchange.com

Given a list of 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 or last ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "Is there a bump? – codegolf.stackexchange.com"