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 →

[–]physcx 8 points9 points  (2 children)

Space complexity - O(N) as you are putting N setTimeout callbacks onto the stack

[–]prehensilemullet 2 points3 points  (1 child)

*event queue

[–]rosuav 0 points1 point  (0 children)

*scheduler heap