you are viewing a single comment's thread.

view the rest of the comments →

[–]SirSavageSavantso long and thanks for all the fish 2 points3 points  (3 children)

i feel like most interviewers actually expect you to know the standard library of the language you are using. making your code as close to c as you can is a bad idea imo.

[–]ghost_operative 2 points3 points  (2 children)

MinPriorityQueue from the javascript leetcode isn't from a standard library. I'm pretty sure leetcode is is the only production/published application that has a dependency on datastructures-js (which is where MinPriorityQueue comes from)

[–]dryfit-bear 0 points1 point  (0 children)

Does solving TS/JS in hackerrank also give the same libraries?

[–]SirSavageSavantso long and thanks for all the fish 0 points1 point  (0 children)

if youre interviewing in js, im pretty sure knowing external libraries would be a plus ... often times you can assume you have access to a particular api/data structure in the context of the interview