Hello everyone! I would want to know what options ...
# getting-started
a
Hello everyone! I would want to know what options do I have if I want something like a Min/Max Heap or Priority Queue in Kotlin. I look in the docs but didn't find anything 😞
a
I tend to just use the Java PriorityQueue impl for that use case, I guess that depends what your target, I'm not sure if it's available in every target but, KT collections are built on top of Java collections so, , I think it should be for most if not all targets.
a
Thanks Alex 👍. I will give it a try.