Help with ZigZagEscape problem

Revision en1, by RMSZ005, 2017-07-05 01:59:58

I came across this problem in codility, and it seemd a little bit too hard especially with the O(n*logn) time complexity and O(n) space complexity.

This is the problem link https://codility.com/programmers/task/zig_zag_escape/.

Can anybody help with their ideas?

Tags codility

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English RMSZ005 2017-07-05 01:59:58 298 Initial revision (published)