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
Alex Prince
10/19/2021, 1:46 PM
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.