From 94355f40474697fb6dab5110d1b2a042aa6634b3 Mon Sep 17 00:00:00 2001 From: Christopher Fremond Date: Thu, 25 Apr 2019 17:23:09 +0100 Subject: [PATCH] deleting extra file --- subjects/reverserange.md | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 subjects/reverserange.md diff --git a/subjects/reverserange.md b/subjects/reverserange.md deleted file mode 100644 index b6c63cd3..00000000 --- a/subjects/reverserange.md +++ /dev/null @@ -1,25 +0,0 @@ -# reverserange -## Instructions - -Write the function ReverseRange, it must allocate (with make()) an array of integers, fill it with consecutive -values that begin at end and end at start (Including start and end !), then -return that array. - -This function must be declare as follows - -## Expected function - -```go - -func ReverseRange(start, end int) []int { - -} - -``` - -And its output : - -- With (1, 3) you will return an array containing 3, 2 and 1 -- With (-1, 2) you will return an array containing 2, 1, 0 and -1. -- With (0, 0) you will return an array containing 0. -- With (0, -3) you will return an array containing -3, -2, -1 and 0. \ No newline at end of file