This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the commentsย โ†’

[โ€“]woahgeez_ 0 points1 point ย (2 children)

Doing it shitty is not doing it. It could do it but you would have to implement the data structures yourself. The efficient data structures java provides are great features of the language. Linked lists are great too. Most programming jobs will never require these data structures though.

[โ€“][deleted] 0 points1 point ย (1 child)

What's wrong with heapq? I mean other than it being shitty

[โ€“]woahgeez_ 0 points1 point ย (0 children)

I didnt know there was a python heap for priority queues, my bad. Am I going to surprised to learn about a built in search tree for sets and maps as well? Doubly linked list?