DEV Community

Discussion on: DISCUSS: Technical Interview Horror Stories

Collapse
 
sunflower profile image
sunflowerseed • Edited

Yup, I was interviewed for a Web Front End development.

Two questions they asked me:

  1. how does malloc() work?
  2. how does a B+ Tree work inside of a relation database

    and some other in past interviews:

  3. something like: given all the river, sand patch, rocks, on a 1000 x 1000 block of map, how do you find the shortest or quickest path from one point to another point given the difficult of travel for each type of block.

  4. if 300 pages of document is shredded into 80 strips per page like by a shredder, how do you reassemble the original document. Your solution works... what about a more optimal solution? What is the most optimal solution?

  5. How do you design the server infrastructure if you have to support Google's search engine and suggest system? How do you implement the search engines and the how do you tell what results are most relevant to user's search? How do you do the load balancing?

These questions are asked for a web front end development work. And this reminds me... someone was saying, a singer on stage, if she sings a song, there is nothing much, but the audience may want her to tell some jokes and it is consider exceptional. Or a stand-up comedian, if he can tell some jokes on stage, people are not impressed. He has to sing a song in order for people to be impressed. So I guess that's why when you are good in JavaScript and ReactJS, they are not impressed. They have to ask you about server infrastructure and load balancing.