LinkedIn Frontend Virtual Onsite

Senior FE

  1. System design, type ahead. Follow-up: If highlighting letters is needed, for example, “b,” and the result contains “bitcoin,” make the first letter “b” bold.
  2. Product chat, favorite apps, why, and what can be improved. Discuss the advantages and disadvantages of LinkedIn.
  3. Coding:
    1. Implement isParent(node1, node2) to determine if node1 is the parent node of node2. Write it in a minute. When asked if I had done it before, I hadn’t, but I have tackled more challenging tasks.
    2. On the coding website, “Ear Umbrella” with decimals. Follow-up: Write the HTML for a check, and explain the reasons for using various tags.
  4. Coding:
    1. Memorize function, be mindful of the limitations of JSON.stringify, and how to handle them.
    2. Implement String.prototype.repeat, where, for example, "abc".repeat(3) outputs abcabcabc, with a time complexity of log(N).
  5. Infinity Scroll, pay attention to the details of throttle. Follow-up: Discuss the pros and cons of various methods. How to handle DOM elements moved off-screen. Known API interface:
    /*** API Docs* ---------*
    /posts?page=0 => [{id: 1, title: "Post 1"}, {id: 2, title: "Post2"}, {id: 3, title: "Post 3"}, N...]
    /posts?page=1 => [{id: 4, title: "Post 4"}, {id: 5, title: "Post5"}, {id: 6, title: "Post 6"}, N...]
    /posts?page=N => [N...]
    */
    6. Behavioral questions discussion.
    
    

HR feedback is all “strong hire.” I have another offer but still contemplating.