Linkedin Senior Software Engineer- Frontend Focussed interview experience
- Posted
- 2 Nov 2026
Summary
I interviewed for a Senior Software Engineer (Frontend) role at LinkedIn. The interview covered JavaScript fundamentals, API concepts, a memoization coding task, and a UI implementation, and I was ultimately rejected.
How it went
I got an opportunity to attend Linkedin interview just by applying from linkedin jobs 2 months back. I got call might be due to higher YOE. I was grilled by HR on phone about my current experience, projects, work on backend in past, anyone currently working in Linkedin who worked in my current company and salary expectations..
I was given ample time to prepare the interview. First round was on JS based questions, ES5 function syntax based prototype question with this usage and bind related questions.
I was then asked about API method types, difference between POST and PUT method. Is it possible to use POST method to update an existing object?
When do we need to use GET and POST? List any usecase of using POST method for fetching the details instead of GET method.
I was then asked to solve a JS problem related to cache fn and solve fibonacci and then make the function generic to accept any fn and return with help of cache method.
I was also asked to solve a vanilla JS ui question to look similar to Suggestions feed. I need to maintain a dummy list which will help to show username, role, details and close icon. I need to implement close icon functionality. I need to access the particular element using id and getclosest based on my knowledge .
Interviewer was frontend background but asked few unusual concepts related to backend since 20% of job role requires backend knowledge..
It was time taking and lengthy... I got rejected.. It might be due to ES5 output based questions...
Questions asked (2)
- 01
Memoization Wrapper for Any Function (JavaScript)
Other
Implement a cache (memoization) function in JavaScript. First, write a Fibonacci function that uses caching to improve performance. Then generalize the solution by creating a higher‑order function that accepts any function as input and returns a cached version of that function.
Requirements:
- The wrapper should store previously computed results.
- It should work with functions of any arity (number of arguments).
- Demonstrate the wrapper with a Fibonacci implementation.
- Provide a generic version that can be reused for other pure functions.
- 02
Vanilla JS Suggestion Feed UI with Close Icon
Other
Create a simple suggestion feed UI using vanilla JavaScript. The feed should display a list of items, each containing:
- Username
- Role
- Details
- A close (×) icon
When the close icon of an item is clicked, the corresponding element should be removed from the DOM. The implementation should locate the target item using its
idand theclosestmethod.Key points:
- Build the list dynamically from a dummy data array.
- Attach click event listeners to the close icons.
- Use
element.closest()to find and remove the parent container of the clicked icon.