Virtual onsite Monday at brilliant.org (Shirley used to work at Codecademy!)
https://jobs.lever.co/brilliant/24f348c1-34db-4fec-b360-adb98bb2d7a9
Joe thinks this might be the hardest interview so far.
Expecting some kind of back-of-napkin math, space and time complexity…
Joe recalls:
log(N) is how many times you have to square 2 to get to a number N. In other words, it’s the height of a binary tree with N nodes in it. I think that’s kind of beautiful!
This is why sorting is N * log(N). It’s for each element (N), how long it takes to find its place in the binary search tree (log(N)).
Example: logging into the user dashboard, I should see (for example) (among other things):