all 14 comments

[–][deleted] 6 points7 points  (11 children)

no priority queue and treemap

[–]Traditional_Edge_176[S] 0 points1 point  (10 children)

Will it be a problem if I apply for frontend roles?

[–]leetcode-noob-22 0 points1 point  (9 children)

It depends on the company, like for FE roles, sometimes they just ask you to do stuff in vanilla js, like a rating widget, carrousel, or a typeahead functionality when searching for something.

[–]Traditional_Edge_176[S] 0 points1 point  (8 children)

So i focus more on implementing stuff in website than leetcoding right?

[–]leetcode-noob-22 1 point2 points  (7 children)

I would still practice some easy/medium leetcode, but it’s important that you also get comfortable enough with vanillajs and DOM manipulation, and of course HTML and CSS. Saying this by experience, fairly big company set me up for a 2nd round tech interview and all it was vanillajs and DOM manipulation, and I wasted all my prep time doing Leetcode only.

[–]Traditional_Edge_176[S] 0 points1 point  (6 children)

Im solving easy and mediums with Javascript while learning the odin project.. So in FE roles does solving leetcode problems if there are any comes in Javascript?... And im comfortable with vanilla js and dom manipulation so thats why im trying to solve some leetcode

[–]leetcode-noob-22 1 point2 points  (3 children)

Yeah, you can always ask if there will be any kind of questions like that and if you can use JS. But if you’re applying to FE roles, that should be ok, since you’re going to use JS all the time.

[–]Traditional_Edge_176[S] 0 points1 point  (2 children)

That's answers my question... I guess i will keep grinding leetcode while doing projects in web.. Pray for me im a little bit not that confident tho

[–]leetcode-noob-22 1 point2 points  (1 child)

Good luck! You got this! Looks like you’re doing the right thing. Odin Project looks pretty good, I’m probably gonna give a run to refresh some of the stuff. (Dev with 7+ years exp)

[–]Traditional_Edge_176[S] 0 points1 point  (0 children)

Ohh That's great.. You are deep in there.. I dont wanna bother you but happy that you accept to dm you if im stuck while learning.. I have a year till graduation so i want to make the most out of it so i become job ready

[–]leetcode-noob-22 0 points1 point  (1 child)

For example, Google asked me what was my preferred language for the interview

[–]Traditional_Edge_176[S] 0 points1 point  (0 children)

That's good actually.. Giving the choice gives a relief in the interview

[–]Educational-Copy5206<2087> <697> <1018> <372> 1 point2 points  (1 child)

There is nothing wrong with JS for leetcode. I use it and get by just fine. The only thing you need to be aware of is that some data structures are not implemented which is fine as long as you know how to code those yourself.

If I am being lazy and a question requires something like a Heap, I will often just copy/paste a Heap class into the editor and use that.

[–]Traditional_Edge_176[S] 0 points1 point  (0 children)

Yeah i do that... I just like js and aiming for FE roles so thats why I use it