Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 978 Bytes

17. Loki wants to steal the tesseract but in order to do so, he has to rearrange the elements in an array in a specific manner which is mentioned in a clue. The clue says ‘cursed are the odd and sorted are the even’. Loki manages to decode the clue which translates to “sort the even positioned elements of an array, starting from the element at index 0, in ascending order”. Manipulate the array so as to help Loki steal the tesseract.

File metadata and controls

36 lines (29 loc) · 978 Bytes