Hi Steven thanks for reply and your time¡¡¡

yes i use the built-in  PriorityQueue, but not very well. As you mentioned
I will try encoded on the fly(like the python code)

Regards

2015-05-19 22:22 GMT-03:00 Steven G. Johnson <[email protected]>:

> For this particular coding problem, I would use the built-in PriorityQueue
> or heap functions, rather than rolling your own tree data structure.  See
> http://docs.julialang.org/en/latest/stdlib/collections/ and also the
> Python example on RosettaCode.
>
> (Basically, my feeling is that on RosettaCode you should try to put
> together the shortest readable code with reasonable performance, and that
> means exploiting the Julia standard library where possible.)
>

Reply via email to