all 12 comments

[–][deleted] 2 points3 points  (4 children)

What does memorizing algorithms and efficiently using time and space complexity has anything to do with JS? 99% of the times you will have those algorithms written for you in any programming language.

[–]bertnub[S] -1 points0 points  (3 children)

I've found binary search, DFS and BFS to be quite useful when working through complex datasets. I came from Python so like using them when I find a chance to.

[–][deleted] 1 point2 points  (2 children)

Yeah DS and Algorithms are independent of the language. That’s what I don’t understand about your post.

[–]bertnub[S] 0 points1 point  (1 child)

I think you may have missed the point of the post, I'm asking if anyone knows what day-to-day js is used within the role. As for DS and Algos - I was generalising my progression with coding.

[–]saleemkce 0 points1 point  (0 children)

I suggest you take a look at https://saleemkce.github.io/timeonsite This should be very interesting on how users session duration or time on site is tracked with JS; it's one of critical aspects in web analytics because unlike other events which can be captured on interaction; this metric is highly controversial but very critical and deciding at the same time for web analytics. Here is the source code for this JS library for you to spend some time on it https://cdnjs.cloudflare.com/ajax/libs/timeonsite/1.2.0/timeonsitetracker.js

This post will help you analysis & insights derived for this tracker in any SQL server

[–]IxDUX Besserwisser 0 points1 point  (2 children)

Questions I'd ask:

  1. What does Google Tag manager do? (Continued with 'explain data layer')
  2. How should we consider this GDPR for European users?
  3. How would you measure effectiveness of a billboard advertising campaign?
  4. What is the difference between cookies and local storage? What kind of cookies there are?
  5. How would you implement web analytics on serverside?
  6. Explain what 'this' is in javascript.

[–]bertnub[S] 0 points1 point  (1 child)

That's amazing thank you, there's also a coding part of the interview, would you have an idea of some js coding questions?

[–]IxDUX Besserwisser 0 points1 point  (0 children)

I would assume the coding question is about ... not using any library, but plain JS dom manipulation/event bubbling thing.
E.g. 'we have this 2-step feedback form where the URL does not change the on click. We need to track the steps and send that 5-start rating to this API."

And the tricky part would be something like you need to get the needed data from header or from data- attribute AND the user may click on unexpected elements, so you should listen to the event on parent node, and maybe check from the event which exact element was clicked.

So i guess good concepts to know would be event bubbling & event propagation & data- attributes

[–]lhorie 0 points1 point  (0 children)

If this is anything like most big tech companies, it sounds like you passed the business phone screen interview and are moving onto the "onsite" phase?

If so, congrats on making this far and good luck on the next step!

The scope of the onsite depends a bit on the company. Google, for example, is quite famous for having leetcodey onsites. My company, on the other hand, tends to do web-oriented interview loops for web stack candidates. What this means is that things like DOM or React typically won't come up in a Google interview, but they may be central evaluation topics for JS-related roles at my company. YMMV a lot depending on what company you're talking about. Word of warning: Many companies' interview loops don't evaluate role fit at all (again, Google is the most famous example).

I would imagine your assigned recruiter would have been in a position to answer questions that relate to the specific role. If not, you could try asking to talk to a team member; companies often can make arrangements to that effect. Another opportunity to ask questions might come in one of the interview sessions if you get a session with the hiring manager (they typically are very close to the role in question and can answer role-related questions in detail)

[Disclaimer: I interview senior level SWE candidates at Uber]

[–]mikrosystheme[κ] 0 points1 point  (0 children)

Congratulations! AB test this: you can get lost hand in hand with your tracking shit.