Upload Button Icon Add office photos

LinkedIn

Compare button icon Compare button icon Compare

Filter interviews by

LinkedIn Interview Questions and Answers

Updated 7 May 2025
Popular Designations

76 Interview questions

A Software Developer was asked
Q. 

Ninja and Sorted Array Merging Problem

Ninja is tasked with merging two given sorted integer arrays ARR1 and ARR2 of sizes 'M' and 'N', respectively, such that the merged result is a single sorted array wi...

Ans. 

Merge two sorted arrays into one sorted array in place.

  • Use two pointers to compare elements from both arrays and place them in the correct position in ARR1.

  • Start from the end of ARR1 and compare elements from both arrays, placing the larger element at the end of ARR1.

  • Continue this process until all elements from ARR2 are merged into ARR1.

View all Software Developer interview questions
A Software Developer was asked
Q. 

Word Distance Calculation

Given a document represented as an array/list ARR of words with length N, find the smallest distance between two given words for multiple queries. The distance is defined as the d...

Ans. 

Find the smallest distance between two words in a document for multiple queries.

  • Iterate through the document array to find the indices of the two words in each query.

  • Calculate the absolute difference between the indices to get the distance.

  • If a word from the query is not present in the document, return the length of the document array.

  • Repeat the process for each query and output the smallest distance for each.

View all Software Developer interview questions
A Software Developer was asked
Q. 

Combination Sum Problem Statement

Given an array of distinct positive integers ARR and a non-negative integer 'B', find all unique combinations in the array where the sum is equal to 'B'. Numbers can be ch...

Ans. 

Find all unique combinations in an array where the sum is equal to a given target sum, with elements in non-decreasing order.

  • Use backtracking to generate all possible combinations.

  • Sort the array to ensure elements are in non-decreasing order.

  • Track the current combination and sum while backtracking.

  • Terminate recursion when the sum equals the target sum.

  • Avoid duplicates by skipping elements that have been used in pr...

View all Software Developer interview questions
A Software Developer was asked
Q. 

Level Order Traversal Problem Statement

Given a binary tree of integers, return the level order traversal of the binary tree.

Input:

The first line contains an integer 'T', representing the number of tes...
Ans. 

The problem requires implementing a function to return the level order traversal of a binary tree.

  • Implement a function that takes the root of the binary tree as input and returns the level order traversal of the tree.

  • Use a queue data structure to perform level order traversal.

  • Process each level of the tree one by one, starting from the root node.

  • Print the node values at each level in the order they appear from lef...

View all Software Developer interview questions
A Software Developer was asked
Q. 

Counting Triangles in Graphs

Given two graphs – a directed graph DIR_GRAPH and an undirected graph UNDIR_GRAPH – you are tasked with counting the number of triangles in each of the graphs.

Example:

In th...

Ans. 

Count the number of triangles in a directed and undirected graph.

  • Parse the input to extract vertices, edges, and edges between vertices.

  • Implement a function to count triangles in both directed and undirected graphs.

  • Return the counts of triangles for each test case.

View all Software Developer interview questions
A Software Developer was asked
Q. 

Sum of Digits Problem Statement

Given an integer 'N', continue summing its digits until the result is a single-digit number. Your task is to determine the final value of 'N' after applying this operation i...

Ans. 

Given an integer, sum its digits until a single-digit number is obtained.

  • Iteratively sum the digits of the integer until a single-digit number is reached

  • Output the final single-digit integer for each test case

  • Handle multiple test cases efficiently

View all Software Developer interview questions
A Software Developer was asked
Q. 

Stock Trading Maximum Profit Problem

Given the stock prices for 'N' days, your goal is to determine the maximum profit that can be achieved. You can buy and sell the stocks any number of times but can only...

Ans. 

The goal is to determine the maximum profit that can be achieved by buying and selling stocks on different days.

  • Iterate through the stock prices and buy on days when the price is lower than the next day, and sell on days when the price is higher than the next day.

  • Calculate the profit by summing up the differences between buying and selling prices.

  • Repeat the process for each test case and output the maximum profit ...

View all Software Developer interview questions
Are these interview questions helpful?
A Software Developer was asked
Q. 

Bit Majority Number Generation

You are given an array arr consisting of N integers. Construct a number from these integers such that, for each bit position, if the quantity of set bits (1s) is greater than...

Ans. 

Generate a number based on majority set bits in given integers array.

  • Iterate through each bit position and count set and unset bits

  • Construct the resulting number based on majority set bits at each position

  • Return the final constructed number

View all Software Developer interview questions
A Software Developer was asked
Q. 

Ninja's Complement Problem Statement

Every day, Ninja dreams of a number but does not understand its significance. Upon investigation, Ninja discovers that converting this number to binary, taking its comp...

Ans. 

Convert a number to binary, take its complement, and convert back to decimal.

  • Convert the given number to binary representation

  • Take the complement of the binary number by swapping '1's and '0's

  • Convert the complement back to decimal representation

  • Return the complement number for each test case

View all Software Developer interview questions
A Software Developer was asked
Q. What are the advantages of Object-Oriented Programming (OOP)?
Ans. 

OOP allows for code reusability, modularity, and easier maintenance.

  • Encapsulation: Bundling data and methods together to protect data from outside interference.

  • Inheritance: Allows for the creation of new classes based on existing classes, promoting code reuse.

  • Polymorphism: Objects can be treated as instances of their parent class, allowing for flexibility and extensibility.

  • Modularity: Breaking down a program into ...

View all Software Developer interview questions

LinkedIn Interview Experiences

69 interviews found

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via LinkedIn and was interviewed in Nov 2024. There was 1 interview round.

Round 1 - Technical 

(2 Questions)

  • Q1. Minimum Knight Moves (LC Medium)
  • Q2. OS, CN, DB concepts like multithreading, semaphore, tcp vs udp, transaction and ACId properties. Java concepts like stack vs heap(memory), error vs exception. Any 1 Project discussion for 10 mins

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare all the fundamental concepts of operating systems and databases. Refer to the company-tagged questions from LC.
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
4-6 weeks
Result
Selected Selected
Round 1 - Case Study 

Prepare for a mock success review with the client, during which they will provide you with data for analysis. You will need to analyze this data and offer recommendations to your customers. You have approximately five days to prepare.

Interview Questions & Answers

user image Anonymous

posted on 2 Sep 2024

Interview experience
4
Good
Difficulty level
Easy
Process Duration
2-4 weeks
Result
Selected Selected

I applied via Approached by Company and was interviewed in Aug 2024. There were 3 interview rounds.

Round 1 - Coding Test 

Asked Fizbuzz and Char replace in a string

Round 2 - Technical 

(2 Questions)

  • Q1. Basic of Linux OS
  • Q2. Network troubleshooting
Round 3 - Technical 

(2 Questions)

  • Q1. Design a monitoring system
  • Ans. 

    Design a monitoring system for SiteOps

    • Identify key metrics to monitor such as server uptime, response time, and error rates

    • Implement monitoring tools like Nagios, Zabbix, or Prometheus to track these metrics

    • Set up alerts for critical thresholds to notify the team in case of issues

    • Create dashboards to visualize the data and trends for easy monitoring

    • Regularly review and update the monitoring system to ensure it remains ...

  • Answered by AI
  • Q2. Examples of automation
  • Ans. 

    Automation in SiteOps involves using tools and scripts to streamline processes and reduce manual tasks.

    • Automated deployment scripts for deploying code changes to servers

    • Monitoring tools that automatically alert when server resources are low

    • Automated backup processes for data protection

    • Scheduled tasks for routine maintenance like database cleanup

  • Answered by AI

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I appeared for an interview in Apr 2025, where I was asked the following questions.

  • Q1. What are the steps to create a live chat feature for YouTube live streams? Make it scalable, UI focused
  • Ans. 

    Creating a scalable live chat feature for YouTube live streams involves real-time messaging, UI design, and backend architecture.

    • WebSocket Implementation: Use WebSockets for real-time communication, allowing users to send and receive messages instantly without refreshing the page.

    • Scalable Backend: Implement a microservices architecture with load balancers to handle high traffic during live streams, ensuring reliability...

  • Answered by AI
  • Q2. 2 DSA coding questions - Tree reverse coding question - O(1) datastructures implementation
Interview experience
4
Good
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Job Fair and was interviewed in Jul 2024. There were 2 interview rounds.

Round 1 - Coding Test 

More focus on dp,graphs.

Round 2 - Technical 

(2 Questions)

  • Q1. Focus on backend concepts,routing.
  • Q2. Question on flood fill algo,backtracking.
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Find the leaves of the tree.
  • Ans. 

    Leaves of a tree are the nodes with no children in a tree data structure.

    • Traverse the tree and identify nodes with no children.

    • Use depth-first search or breadth-first search algorithms to find leaves.

    • Examples: In a binary tree, leaves are nodes with no left or right child.

    • In a general tree, leaves are nodes with no children in their child list.

  • Answered by AI
  • Q2. Find the LCA of tree.
Round 2 - HR 

(2 Questions)

  • Q1. What projects you worked upon?
  • Q2. What internships you did?
  • Ans. 

    I completed internships at ABC Company and XYZ Company during my undergraduate studies.

    • Interned at ABC Company working on web development projects

    • Interned at XYZ Company assisting with software testing and quality assurance

    • Gained hands-on experience in coding, debugging, and problem-solving

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare tree and graph well.

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
Hard
Process Duration
2-4 weeks
Result
-

I appeared for an interview in Feb 2025, where I was asked the following questions.

  • Q1. Given a url and asked to get query params from the url and follow ups on it like what if there are some escape characters how do you handle it? is there any dom API which can give you directly the query pa...
  • Q2. Write a string repeat function
  • Ans. 

    A string repeat function generates a new string by repeating the input string a specified number of times.

    • Define a function named `repeatString` that takes two parameters: `str` (the string to repeat) and `num` (the number of repetitions).

    • Use a loop or string methods to concatenate the string `num` times.

    • Example: `repeatString('abc', 3)` should return 'abcabcabc'.

    • Consider edge cases: if `num` is 0, return an empty stri...

  • Answered by AI
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Selected Selected

I applied via LinkedIn and was interviewed in Apr 2024. There were 4 interview rounds.

Round 1 - Coding Test 

This was a technical round where they check how you approach a problem. The questions were around SQL, Linux commands, basics of HTML and Rest API basic troubleshooting

Round 2 - One-on-one 

(1 Question)

  • Q1. Behavioural Round where managers interact directly with you on your previous experiences, achievements and failures
Round 3 - One-on-one 

(1 Question)

  • Q1. One more culture fit round where manager checks your hunger for learning and contributing to the company. Also, checks if you align with Linkedin's culture & values
Round 4 - HR 

(1 Question)

  • Q1. This was my last round with HR where they discuss your salary & benefits
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
-
Result
-

I applied via LinkedIn and was interviewed in Jul 2024. There were 2 interview rounds.

Round 1 - Technical 

(1 Question)

  • Q1. General discussion on previous experiences
Round 2 - Case Study 

Case study on any industry review, with inmail, discovery call and elevator pitch

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

I applied via Naukri.com and was interviewed in Oct 2024. There were 2 interview rounds.

Round 1 - Coding Test 

Online test on hacker rank . difficult level

Round 2 - Assignment 

Assignmemt on sorting array

Top trending discussions

View All
Interview Tips & Stories
5d (edited)
a team lead
Why are women still asked such personal questions in interview?
I recently went for an interview… and honestly, m still trying to process what just happened. Instead of being asked about my skills, experience, or how I could add value to the company… the questions took a totally unexpected turn. The interviewer started asking things like When are you getting married? Are you engaged? And m sure, if I had said I was married, the next question would’ve been How long have you been married? What does my personal life have to do with the job m applying for? This is where I felt the gender discrimination hit hard. These types of questions are so casually thrown at women during interviews but are they ever asked to men? No one asks male candidates if they’re planning a wedding or how old their kids are. So why is it okay to ask women? Can we please stop normalising this kind of behaviour in interviews? Our careers shouldn’t be judged by our relationship status. Period.
Got a question about LinkedIn ?
Ask anonymously on communities.

LinkedIn Interview FAQs

How many rounds are there in LinkedIn interview?
LinkedIn interview process usually has 2-3 rounds. The most common rounds in the LinkedIn interview process are Technical, One-on-one Round and Coding Test.
What are the top questions asked in LinkedIn interview?

Some of the top questions asked at the LinkedIn interview -

  1. Difference between TOP and PS commands? why TOP is called T...read more
  2. One liner command to kill all process in the system which were using JA...read more
  3. Explain XSS attacks and how to prevent it? and the same for sqli? Any experienc...read more
What are the most common questions asked in LinkedIn HR round?

The most common HR questions asked in LinkedIn interview are -

  1. Where do you see yourself in 5 yea...read more
  2. Why are you looking for a chan...read more
  3. Share details of your previous j...read more
How long is the LinkedIn interview process?

The duration of LinkedIn interview process can vary, but typically it takes about less than 2 weeks to complete.

Tell us how to improve this page.

Overall Interview Experience Rating

4.3/5

based on 44 interview experiences

Difficulty level

Easy 29%
Moderate 61%
Hard 11%

Duration

Less than 2 weeks 65%
2-4 weeks 23%
4-6 weeks 12%
View more

Interview Questions from Similar Companies

Amazon Interview Questions
4.0
 • 5.4k Interviews
Flipkart Interview Questions
3.9
 • 1.5k Interviews
Swiggy Interview Questions
3.8
 • 473 Interviews
BigBasket Interview Questions
3.9
 • 399 Interviews
Meesho Interview Questions
3.7
 • 368 Interviews
JustDial Interview Questions
3.5
 • 358 Interviews
Udaan Interview Questions
3.9
 • 347 Interviews
Eternal Limited Interview Questions
3.7
 • 327 Interviews
Oyo Rooms Interview Questions
3.2
 • 230 Interviews
Myntra Interview Questions
3.9
 • 228 Interviews
View all

LinkedIn Reviews and Ratings

based on 200 reviews

4.2/5

Rating in categories

4.0

Skill development

4.2

Work-life balance

4.1

Salary

3.2

Job security

4.2

Company culture

3.4

Promotions

4.0

Work satisfaction

Explore 200 Reviews and Ratings
Software Engineer
102 salaries
unlock blur

₹29.8 L/yr - ₹50 L/yr

Senior Software Engineer
96 salaries
unlock blur

₹38.4 L/yr - ₹67.3 L/yr

Trust and Safety Specialist
75 salaries
unlock blur

₹5.5 L/yr - ₹10.1 L/yr

Software Developer
64 salaries
unlock blur

₹21.4 L/yr - ₹33.5 L/yr

Account Director
30 salaries
unlock blur

₹18.3 L/yr - ₹33.5 L/yr

Explore more salaries
Compare LinkedIn with

Amazon

4.0
Compare

Flipkart

3.9
Compare

Udaan

3.9
Compare

BigBasket

3.9
Compare
write
Share an Interview