Cody

Problem 1077. Count up then down

Created by Khaled Hamed in Community

Create a function that produces counting up from 0 up to n then down to 0

n=2 --> 0 1 2 1 0

n=3 --> 0 1 2 3 2 1 0

Solution Stats

52.74% Correct | 47.26% Incorrect
Last solution submitted on Jul 11, 2019

Problem Comments

Solution Comments