Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 342 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 342 Bytes

Alternate Sorting

Given an array, you have to print a string that represents an alternated sorted list like this:

array: [1,2,3,4,5,6]

return: "1<3>2<5>4<6"

You must also manage duplicates

Installation

$ git clone https://github.com/AlessioCoser/alternate_sorting.git
$ cd alternate_sorting
$ npm install
$ npm test