Advice > Software engineering

LinkedIn software engineer interview (questions and process)

By Jonathon Yarde on September 17, 2020 How we wrote this article
LinkedIn software engineer interview

The coding interviews at LinkedIn are really challenging. The questions are difficult, specific to LinkedIn, and cover a wide range of topics.

The good news is that the right preparation can make a big difference. We've analyzed scores of software engineer interview questions reported by LinkedIn candidates, in order to determine the most frequently asked types of questions. Below, we've provided a curated list of real example questions, including free solutions. 

In addition, you'll find preparation tips and links to the best resources, so that you can prepare more strategically and maximize your chances of landing that software engineer job at LinkedIn.

Here's an overview of what we'll cover:

Click here to practice 1-on-1 with a SWE ex-interviewer

1. Interview process and timeline

What's the LinkedIn software engineer interview process and timeline? It takes four to eight weeks on average and follows the below steps:

LinkedIn SWE interview process
 

With the high-level process in mind, let's now drill down further into the different steps of the software engineer interview process at LinkedIn, so that you can have a more thorough understanding.

1.1.1 Resume, cover letter, referrals

Step one is getting a LinkedIn interview in the first place. In this guide we're focusing primarily on the interviews, so we'll keep this portion brief. You’ll need a quality resume and cover letter that are tailored to SWE positions, and to LinkedIn more specifically.

Click here to see our free guide to optimizing your tech resume (with examples).

Once you have your documents together you can submit your application. And, if possible, it can be helpful to get an employee or contact at LinkedIn to refer you to the recruiting team internally. 

1.1.2 Recruiter email or call

In most cases, the interview process starts with an HR recruiter call. Your recruiter will use this conversation to gauge your interest and fit with the company, and to confirm that you've got a chance of getting the job at all.

You should be prepared to explain your background and why you’re a good fit for LinkedIn. For example, you'll want to be ready to answer typical behavioral interview questions like "Tell me about yourself," or "Why LinkedIn?".

1.1.3 First round: phone screen and coding test

If things go well with the recruiter, then you'll move on to the next step of the process. What happens at this stage varies depending on what team and role you're applying for.

You can usually expect a technical phone screen, and in some cases you'll face an online assessment. We'll review each format below.

The phone screen will usually be held over the phone or through Skype. You'll speak to a peer or a potential manager and they'll either ask you just technical questions, or a mix of technical and behavioral questions.

For the technical part of the interview, you can expect typical data structure and algorithm questions which you'll have to solve in an online collaborative text editor. The text editor probably won't have syntax highlighting or autocomplete features, so you'll need to get used to not having those features during your interview preparation. 

Similar to the recruiter call, you'll want to make sure you're prepared for behavioral interview questions. Candidates often overlook the importance of these questions, so it's worth making sure you're well prepared for them, to give yourself an edge over the competition. We'll touch on common behavioral questions more later.  

Some, but not all, candidates will also be asked to take an online assessment. This will take place either before or after your phone screens. The online assessment contains ~2 coding questions, which you'll have about 75 minutes to answer. 

There is not much information available about LinkedIn's online assessment questions, however, there is a helpful Leetcode thread that shares a list of questions that have recently been asked in the online assessment at Microsoft (LinkedIn's parent company).

1.1.4 Second round: onsite (5-6 interviews)

If you crack the first round, the next step is to spend a day at one of LinkedIn's offices and participate in five to six on-site interviews. 

You can expect about three of your onsite interviews to focus on coding questions (i.e. data structure and algorithm questions). You can find some examples of this type of question later in this guide.

You'll also typically have one to three system design interviews during your onsite visit. In both your system design and coding interviews, you should be prepared to answer common behavioral questions, as they may spend a little time on these during each interview. In addition, you may have an interview with a manager at LinkedIn, which will focus on behavioral questions.

All candidates are expected to do extremely well in coding and behavioral questions. If you're applying for a relatively junior position, then the bar will be lower on system design questions than for mid-level or senior engineers. In most cases, your onsite visit will also include lunch. 

1.1.5 You get an offer!

After your onsite interviews, your job as a candidate is finished. At that point, you'll just need to wait to hear back from LinkedIn, to hopefully receive your job offer.

Now that we've covered this overview of the interview process, we feel that it's also important to consider one other area that LinkedIn will likely be evaluating with your application.

1.2 Don't forget to update your LinkedIn profile!

If you're interviewing at LinkedIn, then you might already suspect this, but the LinkedIn recruiters and interviewers are probably going to look at your LinkedIn profile throughout the process. You therefore need to make sure it's as good as it can be to maximize your chances.

The objective of a LinkedIn profile is similar to that of a resume. You should aim to summarize your experience in a way that shows you've got the skills of a great software engineer. Here are a few tips to help you get started:

  • Make sure your experience and summary are up-to-date
  • Focus your description on SWE skills
  • Use action verbs for all bullet points
  • Quantify your impact whenever possible (i.e. use specific numbers)
  • List SWE competencies in Skills & Endorsements
  • Ask for recommendations
  • Add LinkedIn as one of your Interests
  • Follow notable SWE leaders
  • Comment on relevant SWE articles published by others

We also recommend the following article for general advice on improving your LinkedIn profile.

Now let's turn our attention to the example questions! 

2. Example questions

The types of questions you'll face during your LinkedIn interviews can be broken down into 3 broad categories:

  1. Coding questions
  2. System design questions
  3. Behavioral questions

In order to land an offer at LinkedIn, you'll need to be well prepared for each of these types of questions. To help you get ready, we've put together a list of interview questions from each category for you to practice with.

As a note, the questions below are a combination of LinkedIn and Microsoft questions. Microsoft is LinkedIn's parent company, so although the questions may not be exactly the same, Microsoft questions should still serve as good examples for practicing. In addition, there is more data available for Microsoft, so by using a combination of the available data, we are able to provide a more robust set of examples.

2.1 Coding questions

Before we dive into the list of coding questions, you may find the below image helpful. This image summarizes the types of coding interview questions that are most common at Microsoft. The exact breakdown at LinkedIn may be a bit different, but we thought it would still be a helpful resource:

Microsoft software engineer interview questions

Hopefully this will help you get a high-level sense of the questions you'll want to be ready for. 

The below coding interview questions are from LinkedIn software engineer interview reports from Glassdoor. For each question, we modified the phrasing of the question to match the closest Leetcode problem, and then we linked to a related free solution on Leetcode. 

Finally, we recommend reading this guide on how to answer coding interview questions and practicing with this list of coding interview examples in addition to those listed below.

Example coding questions asked by LinkedIn

  • "Flatten nested list iterator." (Solution)
  • "Implement pow(x, n), which calculates x raised to the power n." (Solution)
  • "Evaluate the value of an arithmetic expression in Reverse Polish Notation." (Solution)
  • "Given two words word1 and word2, find the minimum number of operations required to convert word1 to word2." (Solution)
  • "Given a binary tree, find its maximum depth." (Solution)
  • "Merge two sorted linked lists and return it as a new sorted list." (Solution)
  • "Given a wooden stick of length n units. The stick is labelled from 0 to n...Return the minimum total cost of the cuts." (Solution)
  • "You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top?" (Solution)
  • "Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target." (Solution)
  • "Given a binary tree, return the level order traversal of its nodes' values." (Solution)

2.2 System design questions

In addition to coding questions, you'll also face system design questions during your LinkedIn interviews. The coding questions we've covered above usually have a single optimal solution. But the system design questions you'll be asked are typically more open-ended and feel more like a discussion.

This is the part of the interview where you want to show that you can both be creative and structured at the same time. In most cases, your interviewer will adapt the question to your background. For instance, if you've worked on an API product they'll ask you to design an API. However, this is not always the case so you should be ready to design any type of product or system at a high level.

As mentioned previously, if you're a junior developer the expectations will be lower for you than if you're mid-level or senior. 

There are not many LinkedIn system design interview questions publicly available, so as a substitute we've compiled some common Microsoft system design questions which can be found on Glassdoor or on relevant forums (like the Leetcode forum). You can still practice using the below questions, as the skills used to solve Microsoft and LinkedIn system design questions are similar.

For more information, we recommend reading this guide on how to answer system design questions and we recommend practicing system design questions here.

Example system design questions asked at Microsoft

  • How would you design an IDE like Visual Studio
  • How would you design Instagram
  • How would you design Uber
  • How would you design OpenTable
  • How would you design Dropbox / iCloud
  • How would you design a shopping cart for Amazon.com
  • How would you design the photo gallery app on iOS
  • How would you design a distributed cache
  • How would you design an API for a running app
  • How would you design an API for a tic tac toe game

2.3 Behavioral questions

Finally, you'll be asked typical behavioral interview questions during your LinkedIn interviews, like "Tell me about a difficult project you worked on" or "Why LinkedIn?".

The importance of behavioral interview questions is often underestimated in tech interviews, so take advantage of this opportunity to set yourself apart from other candidates.

Below is a list of common behavioral interview questions, according to Glassdoor's Microsoft interview reports. Note that in some places, we have modified the questions to make them more relevant to LinkedIn. If you can consistently answer the questions below, that will be a great start to your behavioral interview question preparation for LinkedIn.

Example behavioral questions

  • Tell me about yourself
  • Why LinkedIn? (sample answer from Amazon interviews)
  • Why are you / do you want to be a software engineer?
  • Tell me about a recent / favorite project and some of the difficulties you faced
  • Tell me about the greatest accomplishment / failure of your career
  • Tell me about a time you struggled to work with one of your colleagues
  • Tell me about a time you led a team
  • Tell me about some of the biggest lessons you've learned in life
  • Tell me about your values and the kind of environments you thrive in

3. How to prepare

Now that you know the types of questions to expect, let's focus on how to prepare. Here are the four most important things you can do to prepare for your LinkedIn software engineer interviews.

3.1 Learn about LinkedIn's culture

Most candidates fail to do this, but before investing tens of hours preparing for an interview at LinkedIn, you should take some time to make sure it's actually the right company for you.

LinkedIn is prestigious and it's therefore tempting to ignore this step completely, but the prestige of the company, in itself, won't make you happy day-to-day. It's the type of work and the people you work with that will.

If you know engineers who work at LinkedIn (or used to), talk to them to understand what the culture is like. In addition, we would also recommend reading the following resources. The first two highlight information that is specific to LinkedIn, and the second two apply to Microsoft more broadly (since LinkedIn is under the Microsoft umbrella).

3.2 Practice by yourself

As mentioned above, you'll have to answer three types of questions during your LinkedIn interviews: coding, system design, and behavioral. The first step of your preparation should be to brush up on these different types of questions and to practice answering them by yourself.

3.2.1 Coding interview preparation

For coding interviews, we recommend getting used to the step-by-step approach recommended by Microsoft in the video below.

Here is a summary of the STAR approach recommended by Microsoft:

  • Step 1: Situation, make sure you understand the problem correctly
    • Write down the problem provided by the interviewer
    • Ask clarification questions
    • Agree on inputs and outputs
  • Step 2: Task, outline how you are going to solve the problem
    • Talk through your ideas for solving the problem out loud
    • Start with a simple case and work toward a solution, without coding
    • Think about different test cases which you'll use for testing later
  • Step 3: Action, write clean code to solve the problem 
    • Start writing clean code with clear variable and function names
    • Modularize your code with helper functions
    • Check with your interviewer before using a library
    • Bugs and forgotten variables are ok as long as you catch them early
  • Step 4: Result, test your solution and suggest improvements
    • Run through the different test cases you've developed in step 2
    • Incorporate any feedback from the interviewer into your approach
    • Analyze the time and space complexity of your code and suggest improvements

For the rest of your coding preparation, we recommend using our coding interview prep article as your one-stop-shop. It has a 7-step preparation plan and links to the best resources.

3.2.2 System design interview preparation

For system design interviews, Microsoft and LinkedIn have not posted specific recommendations. But Amazon has, and the approach they outline in the video below is quite helpful.

Here is a summary of what you should do:

  • Step 1: Ask clarification questions
    • Understand the goal of the system (e.g. sell ebooks)
    • Establish the scope of the exercise (e.g. end-to-end experience, or just API?)
    • Gather scale and performance requirements (e.g. 500 transactions per second)
    • Talk through any assumptions you're making out loud
  • Step 2: Design at a high-level, then drill-down
    • Lay out the high-level components (e.g. front-end, web servers, database)
    • Drill down and design each component (e.g. front-end first)
    • Start with the components you're most comfortable with (e.g. front-end if you're a front-end engineer)
    • Work with your interviewer to provide the right level of detail
  • Step 3: Bring it all together
    • Refer back to the requirements to make sure your approach meets them
    • Discuss any tradeoffs in the decisions you've made
    • Summarize how the system would work end-to-end

We'd also recommend studying our system design interview prep guide and learning how to answer system design interview questions. These guides cover a step-by-step method for answering system design questions, and they provide several example questions with solutions.

3.2.3 Behavioral interview question preparation

For behavioral questions, we recommend learning our step-by-step method to answer this type of question and then practicing the most common software engineer behavioral interview questions.

Finally, a great way to practice coding, system design, and behavioral questions, is to interview yourself out loud. This may sound strange, but it can significantly improve the way you communicate your answers during a real interview. Play the role of both the candidate and the interviewer, asking questions and answering them, just like two people would in an interview.

However, by yourself, you can’t simulate thinking on your feet or the pressure of performing in front of a stranger. Plus, there are no unexpected follow-up questions and no feedback.

That’s why many candidates try to practice with friends or peers.

3.3 Practice with peers

If you have friends or peers who can do mock interviews with you, that's an option worth trying. It’s free, but be warned, you may come up against the following problems:

  • It’s hard to know if the feedback you get is accurate
  • They’re unlikely to have insider knowledge of interviews at your target company
  • On peer platforms, people often waste your time by not showing up

For those reasons, many candidates skip peer mock interviews and go straight to mock interviews with an expert. 

3.4 Practice with experienced SWE interviewers

In our experience, practicing real interviews with experts who can give you company-specific feedback makes a huge difference.

Find a LinkedIn software engineer interview coach so you can:

  • Test yourself under real interview conditions
  • Get accurate feedback from a real expert
  • Build your confidence
  • Get company-specific insights
  • Learn how to tell the right stories, better.
  • Save time by focusing your preparation

Landing a job at a big tech company often results in a $50,000 per year or more increase in total compensation. In our experience, three or four coaching sessions worth ~$500 make a significant difference in your ability to land the job. That’s an ROI of 100x!

 

Related articles:

the meta logo in blue on black background
Software engineeringNov 10, 2023
Meta System Design Interview (questions, process, prep)
Everything you need to know about Meta (formerly Facebook) system design interviews, including the process, 37 sample questions, example answers, and an answer framework.
Read more
divide and conquer interview questions
Software engineeringDec 17, 2021
50 divide and conquer interview questions [easy, medium, hard]
50 divide and conquer interview questions, all with links to high-quality solutions, plus an interview preparation guide. Part 8 of our algorithms questions series to help you practice for your software engineer interview.
Read more
a female FAANG candidate smiles next to a whiteboard
Software engineeringNov 15, 2023
FAANG interview questions (SWE, PM, etc) + answers
Comprehensive list of FAANG interview questions for software engineers, product managers, engineering managers, etc. With links to high-quality answers, frameworks and explanations.
Read more
Big O and complexity analysis
Software engineeringJan 18, 2022
Complete guide to big-O notation and complexity analysis
Detailed explanation on big-O complexity analysis, including high quality diagrams, example problems, and a handy cheat sheet. The finale of our coding prep series to help you ace your software engineer interview.
Read more
woman preparing for Google hypothetical questions
Software engineeringDec 03, 2024
Google’s Hypothetical Interview Questions (examples, tips, prep)
Complete guide on how to answer Google's hypothetical interview questions. Includes example questions, interviewing tips and best practices, and a prep plan to help you ace your interview at Google.
Read more
Leader election system design interview
Software engineeringFeb 05, 2021
Leader election: system design interview (5 of 9)
This guide defines leader election, how it works, and when you should use it in a system. This is the 5th of 9 foundational system design interview concepts that we're covering on our blog.
Read more
sharding system design interview
Software engineeringFeb 14, 2023
Sharding: system design interview concepts (7 of 9)
This guide defines sharding, how it works, and when you should use it in a system. This is the 7th of 9 foundational system design interview concepts that we're covering on our blog.
Read more
Facebook logo
Software engineeringFeb 16, 2023
Meta Front-End Engineer Interview (questions, process, prep)
Complete guide to Meta (formerly Facebook) front end engineer interviews. Learn the interview process, practice with example questions, and learn key preparation tips.
Read more