Linkedin | Virtual Onsite | March
Anonymous User
10145

Hi guys. Here is my recent linkedin onsite interview for a senior engineer role.

  1. Recruiter chat, briefly go thru all process .

  2. Coding interview. (45 mins)

    Fairly simple problem. Give an dictionary of application dependency, like [[A: [B, C], B:[D, E]]]. And return some application full dependency.
    Quite similar to https://leetcode.com/problems/course-schedule/

    Follow-up1:
    Detect dependency circle.

    Follow-up2:
    Return full path when dependency circle detected.

    My solution:
    DFS, you also can solve with Union Find if you can implement UF class in time.

  3. BQ interview. (45 mins)
    Focus on what you learned and how you grow in your engineer life. Remember sharing you leadership and mentourship if this is a senior role.

  4. Break time (45 mins)

  5. Coding interview (45 mins)
    Problem 1
    Valid Triangle Edge: https://leetcode.com/problems/valid-triangle-number/
    My soltion is sorting then binary search.
    Problem 2
    Insert, delete and delete random number data structure: https://leetcode.com/problems/insert-delete-getrandom-o1/
    Very clost to the leetcode problem but it require random delete.
    My solution is maintain one array and one hashmap recording array member's index.
    Deleting happens, swap last member with the deleting member, pop array tail, update hashmap.

  6. Project you have designed (45 mins)
    Introduce a system/tool design you have worked on. Treat the interviewer as new crew on your team and explain the project abstractly and explain details they have interests with.

  7. System Design (45 mins)
    Design one application health check system. You are given thousands of apps running on the backend server. This health check can retrieve each app's CPU time, network bandwidth, etc. And this system would alert/push notification to engineers when app failed.

That's it. Hope this would help you and best luck in your future interview.

Comments (14)