Crossover for Work interview question

Algorithm test (30 min): they asked to implement a basic algorithm (sorting an array or numbers) in your language of choice

Interview Answer

Anonymous

10 Sept 2020

function sortArray(n){ n.sort(); return n; };