Upload Button Icon Add office photos

Freshworks

Compare button icon Compare button icon Compare

Filter interviews by

Freshworks Lead Software Engineer Interview Questions and Answers

Updated 18 Mar 2025

13 Interview questions

A Lead Software Engineer was asked 3mo ago
Q. Given a string, find all palindromes within it.
Ans. 

Identify and extract all palindromic substrings from a given string.

  • A palindrome reads the same forwards and backwards. Example: 'racecar'.

  • Iterate through each substring of the string and check if it's a palindrome.

  • Use two pointers to compare characters from both ends towards the center.

  • Consider edge cases like single characters and empty strings.

  • Example input: 'madam arora teaches malayalam' -> Output: ['madam...

A Lead Software Engineer was asked 8mo ago
Q. Elevator travel, find the no. of hops
Ans. 

The question is asking to calculate the number of hops an elevator needs to travel between floors.

  • Calculate the difference between the starting floor and the destination floor

  • Divide the difference by the maximum number of floors the elevator can travel in one hop

  • Round up the result to get the number of hops needed

Lead Software Engineer Interview Questions Asked at Other Companies

asked in Freshworks
Q1. Square Root with Decimal Precision Problem Statement You are prov ... read more
asked in Freshworks
Q2. Vertical Order Traversal Problem Statement You are given a binary ... read more
asked in Epsilon
Q3. If we have two tables with the same schema, where one table has i ... read more
asked in Freshworks
Q4. Power Calculation Problem Statement Given a number x and an expon ... read more
asked in Freshworks
Q5. Longest Unique Substring Problem Statement Given a string input o ... read more
A Lead Software Engineer was asked 11mo ago
Q. Given an array of integers, find all unique triplets (a, b, c) such that a + b + c = 0. Note: The solution set must not contain duplicate triplets.
Ans. 

Find all triplets in an array of integers without duplicates

  • Iterate through the array and for each element, find all pairs that sum up to the negative of that element

  • Use a set to store the seen elements to avoid duplicates

  • Time complexity can be improved to O(n^2) by sorting the array first

A Lead Software Engineer was asked 11mo ago
Q. Given a linked list, detect if there is a loop in it. If a loop exists, remove the loop.
Ans. 

Loop through the linked list to find and remove a specific node

  • Start at the head of the linked list and iterate through each node

  • Check if the current node matches the one to be removed

  • If found, update the pointers to skip over the node and remove it

  • Continue until the end of the list is reached

A Lead Software Engineer was asked 11mo ago
Q. Given a 2D binary matrix filled with 0's and 1's, find the largest square containing only 1's and return its area.
Ans. 

Iterate through the matrix to find the largest square of 1s

  • Iterate through each cell in the matrix

  • For each cell, check if it is part of a square of 1s by checking the cells to the right, below, and diagonally right-down

  • Keep track of the size of the largest square found

A Lead Software Engineer was asked
Q. Given a matrix, find all square sub-matrices within it.
Ans. 

To find all square matrices in a given matrix, iterate through each cell as the top left corner of a potential square matrix and check if all elements within the square are the same.

  • Iterate through each cell in the matrix as the top left corner of a potential square matrix

  • For each cell, check if all elements within the square formed by the cell are the same

  • If all elements are the same, consider it as a square matr...

A Lead Software Engineer was asked
Q. Implement a hashmap in Java.
Ans. 

Implementing hashmap in Java

  • Create an array of linked lists to store key-value pairs

  • Hash the key to get the index of the array

  • Insert the key-value pair at the index in the linked list

  • Handle collisions by chaining

  • Implement methods like put(), get(), remove()

  • Use generics to allow any type of key-value pairs

Are these interview questions helpful?
A Lead Software Engineer was asked 8mo ago
Q. Transactions in spring boot
Ans. 

Transactions in Spring Boot manage database transactions in a declarative way.

  • Spring Boot uses @Transactional annotation to mark a method as transactional.

  • Transactions can be managed at class level or method level.

  • Rollback can be configured based on specific exceptions.

  • Example: @Transactional(propagation = Propagation.REQUIRED, rollbackFor = Exception.class)

A Lead Software Engineer was asked
Q. Can you describe the architecture of your current project?
Ans. 

The architecture of our current project is a microservices-based system with a combination of RESTful APIs and message queues.

  • Utilizes microservices architecture for scalability and flexibility

  • Uses RESTful APIs for communication between services

  • Incorporates message queues for asynchronous processing

  • Each microservice is responsible for a specific domain or functionality

  • Data is stored in a combination of relational ...

A Lead Software Engineer was asked
Q. 

Zig-Zag Conversion Problem Statement

You are given a string S and an integer ROW. Your task is to convert the string into a zig-zag pattern on a given number of rows. After the conversion, output the strin...

Ans. 

Convert a given string into a zig-zag pattern on a specified number of rows and output the result row-wise.

  • Iterate through the string and place characters in the zig-zag pattern based on the row number

  • Keep track of the direction of movement (up or down) to determine the row placement

  • Combine characters from each row to get the final result

Freshworks Lead Software Engineer Interview Experiences

9 interviews found

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(3 Questions)

  • Q1. Elevator travel, find the no. of hops
  • Ans. 

    The question is asking to calculate the number of hops an elevator needs to travel between floors.

    • Calculate the difference between the starting floor and the destination floor

    • Divide the difference by the maximum number of floors the elevator can travel in one hop

    • Round up the result to get the number of hops needed

  • Answered by AI
  • Q2. Beautiful Array
  • Q3. Transactions in spring boot
  • Ans. 

    Transactions in Spring Boot manage database transactions in a declarative way.

    • Spring Boot uses @Transactional annotation to mark a method as transactional.

    • Transactions can be managed at class level or method level.

    • Rollback can be configured based on specific exceptions.

    • Example: @Transactional(propagation = Propagation.REQUIRED, rollbackFor = Exception.class)

  • Answered by AI

Skills evaluated in this interview

Lead Software Engineer Interview Questions & Answers

user image kowsalya palani

posted on 24 Jul 2024

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
No response

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

Round 1 - One-on-one 

(2 Questions)

  • Q1. Loop in a linked list and removing it
  • Ans. 

    Loop through the linked list to find and remove a specific node

    • Start at the head of the linked list and iterate through each node

    • Check if the current node matches the one to be removed

    • If found, update the pointers to skip over the node and remove it

    • Continue until the end of the list is reached

  • Answered by AI
  • Q2. Triplets in array of integers without duplicates
  • Ans. 

    Find all triplets in an array of integers without duplicates

    • Iterate through the array and for each element, find all pairs that sum up to the negative of that element

    • Use a set to store the seen elements to avoid duplicates

    • Time complexity can be improved to O(n^2) by sorting the array first

  • Answered by AI
Round 2 - Coding Test 

Basic Datastructures and ALgo questions medium to hard level

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - One-on-one 

(3 Questions)

  • Q1. Find max square in matrix
  • Ans. 

    Iterate through the matrix to find the largest square of 1s

    • Iterate through each cell in the matrix

    • For each cell, check if it is part of a square of 1s by checking the cells to the right, below, and diagonally right-down

    • Keep track of the size of the largest square found

  • Answered by AI
  • Q2. Multithreadinh concepts
  • Q3. Message queue scenarios

Skills evaluated in this interview

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

I applied via Approached by Company and was interviewed in Apr 2024. There was 1 interview round.

Round 1 - Technical 

(1 Question)

  • Q1. Find all square matrices in a given matrix
  • Ans. 

    To find all square matrices in a given matrix, iterate through each cell as the top left corner of a potential square matrix and check if all elements within the square are the same.

    • Iterate through each cell in the matrix as the top left corner of a potential square matrix

    • For each cell, check if all elements within the square formed by the cell are the same

    • If all elements are the same, consider it as a square matrix

  • Answered by AI

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
-
Round 1 - Technical 

(1 Question)

  • Q1. LinkedList, Tress
Round 2 - Technical 

(1 Question)

  • Q1. System Design concepts and case study

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

Round 1 - Technical 

(1 Question)

  • Q1. Implement hashmap in java
  • Ans. 

    Implementing hashmap in Java

    • Create an array of linked lists to store key-value pairs

    • Hash the key to get the index of the array

    • Insert the key-value pair at the index in the linked list

    • Handle collisions by chaining

    • Implement methods like put(), get(), remove()

    • Use generics to allow any type of key-value pairs

  • Answered by AI
Round 2 - Technical 

(1 Question)

  • Q1. Design round related to chat application
Round 3 - Technical 

(1 Question)

  • Q1. Design round, system design general questions
Round 4 - Behavioral 

(1 Question)

  • Q1. General discussions about team and tech stack

Interview Preparation Tips

Interview preparation tips for other job seekers - The interview rounds were ok but no proper feedback was communicated

Skills evaluated in this interview

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

I appeared for an interview before Mar 2024, where I was asked the following questions.

  • Q1. Find the palindromes in a string
  • Ans. 

    Identify and extract all palindromic substrings from a given string.

    • A palindrome reads the same forwards and backwards. Example: 'racecar'.

    • Iterate through each substring of the string and check if it's a palindrome.

    • Use two pointers to compare characters from both ends towards the center.

    • Consider edge cases like single characters and empty strings.

    • Example input: 'madam arora teaches malayalam' -> Output: ['madam', 'a...

  • Answered by AI
  • Q2. How to reverse a linkedlist
  • Ans. 

    Reversing a linked list involves changing the direction of its pointers to reverse the order of nodes.

    • 1. Initialize three pointers: prev (null), current (head), and next (null).

    • 2. Iterate through the list: while current is not null, do the following:

    • - Store the next node: next = current.next.

    • - Reverse the current node's pointer: current.next = prev.

    • - Move prev and current one step forward: prev = current; curr...

  • Answered by AI

I appeared for an interview in Dec 2021.

Round 1 - Coding Test 

(2 Questions)

Round duration - 60 Minutes
Round difficulty - Medium

Two DSA Problems:
 Explain anyone Design pattern you used
It was a recruitment drive happened on Saturday

  • Q1. 

    Square Root with Decimal Precision Problem Statement

    You are provided with two integers, 'N' and 'D'. Your objective is to determine the square root of the number 'N' with a precision up to 'D' decimal pl...

  • Ans. 

    Implement a function to find square root of a number with specified decimal precision.

    • Implement a function that takes two integers N and D as input and returns the square root of N with precision up to D decimal places.

    • Ensure that the discrepancy between the computed result and the correct value is less than 10^(-D).

    • Handle multiple test cases efficiently within the given constraints.

    • Consider using mathematical algorith...

  • Answered by AI
  • Q2. 

    Longest Unique Substring Problem Statement

    Given a string input of length 'n', your task is to determine the length of the longest substring that contains no repeating characters.

    Explanation:

    A substri...

  • Ans. 

    Find the length of the longest substring with unique characters in a given string.

    • Use a sliding window approach to keep track of the longest substring without repeating characters.

    • Use a hashmap to store the index of each character in the string.

    • Update the start index of the window when a repeating character is encountered.

    • Calculate the maximum length of the window as you iterate through the string.

    • Return the maximum le...

  • Answered by AI
Round 2 - Coding Test 

(2 Questions)

Round duration - 60 Minutes
Round difficulty - Medium

2 Coding questions. Expected to write in 1 hr

  • Q1. 

    Vertical Order Traversal Problem Statement

    You are given a binary tree, and the task is to perform a vertical order traversal of the values of the nodes in the tree.

    For a node at position ('X', 'Y'), th...

  • Ans. 

    Perform vertical order traversal of a binary tree based on decreasing 'Y' coordinates.

    • Implement a function to perform vertical order traversal of a binary tree

    • Nodes are added in order from top to bottom based on decreasing 'Y' coordinates

    • Handle cases where two nodes have the same position by adding the node that appears first on the left

  • Answered by AI
  • Q2. 

    Power Calculation Problem Statement

    Given a number x and an exponent n, compute xn. Accept x and n as input from the user, and display the result.

    Note:

    You can assume that 00 = 1.

    Input:
    Two integers...
  • Ans. 

    Calculate x raised to the power of n, accepting x and n as input and displaying the result.

    • Accept two integers x and n as input

    • Compute x^n and display the result

    • Handle special case 0^0 = 1

    • Ensure x is between 0 and 8, and n is between 0 and 9

  • Answered by AI
Round 3 - Coding Test 

Round duration - 60 Minutes
Round difficulty - Medium

It was a high level round. Checking what are different components and how they interact

Round 4 - Coding Test 

(2 Questions)

Round duration - 60 Minutes
Round difficulty - Easy

This was the managerial round. It was about technical skills evaluation

  • Q1. 

    Zig-Zag Conversion Problem Statement

    You are given a string S and an integer ROW. Your task is to convert the string into a zig-zag pattern on a given number of rows. After the conversion, output the stri...

  • Ans. 

    Convert a given string into a zig-zag pattern on a specified number of rows and output the result row-wise.

    • Iterate through the string and place characters in the zig-zag pattern based on the row number

    • Keep track of the direction of movement (up or down) to determine the row placement

    • Combine characters from each row to get the final result

  • Answered by AI
  • Q2. Can you describe the architecture of your current project?
  • Ans. 

    The architecture of our current project is a microservices-based system with a combination of RESTful APIs and message queues.

    • Utilizes microservices architecture for scalability and flexibility

    • Uses RESTful APIs for communication between services

    • Incorporates message queues for asynchronous processing

    • Each microservice is responsible for a specific domain or functionality

    • Data is stored in a combination of relational and N...

  • Answered by AI
Round 5 - Coding Test 

Round duration - 60 Minutes
Round difficulty - Easy

Director round

Interview Preparation Tips

Professional and academic backgroundI applied for the job as Lead Software Engineer in HyderabadEligibility criteriaAble to work on any languageFreshworks interview preparation:Topics to prepare for the interview - DSA, Algorithm, System Designs, Current Project ArchitectureTime required to prepare for the interview - 6 monthsInterview preparation tips for other job seekers

Tip 1 : Medium Level DSA - Trees, Arrays, Strings
Tip 2 : High Level Design - Start with basic system then P1 Requirements
Tip 3 : Practice writing code. Online Coding round will be there

Application resume tips for other job seekers

Tip 1 : Keep it small. Only projects, Tech stacks, achievements
Tip 2 : Write those Tech stacks and projects in which you are expert

Final outcome of the interviewSelected

Skills evaluated in this interview

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

I applied via Approached by Company and was interviewed before May 2023. There was 1 interview round.

Round 1 - Coding Test 

It covers easy to medium programming using basic data structures like hash, stack, linked list etc

Interview Preparation Tips

Topics to prepare for Freshworks Lead Software Engineer interview:
  • Data structre
  • Distributed system
  • Web Application
  • AWS
  • Kubernetes

Top trending discussions

View All
Interview Tips & Stories
6d (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 Freshworks?
Ask anonymously on communities.

Interview questions from similar companies

I applied via Approached by Company and was interviewed before Jun 2021. There were 2 interview rounds.

Round 1 - System test 

(1 Question)

  • Q1. Advantage and disadvantage of framework.
  • Ans. 

    Frameworks provide structure and pre-built components for software development, but can also limit flexibility and require learning curve.

    • Advantage: Provides structure and pre-built components for faster development

    • Advantage: Can improve code quality and maintainability

    • Disadvantage: Can limit flexibility and customization

    • Disadvantage: Requires learning curve and potential dependency issues

    • Example: ReactJS provides a fr...

  • Answered by AI
Round 2 - Technical 

(1 Question)

  • Q1. What is Oops? Advantage and disadvantage
  • Ans. 

    Oops stands for Object-Oriented Programming. It is a programming paradigm that uses objects to represent real-world entities.

    • Advantages: code reusability, modularity, encapsulation, inheritance, polymorphism

    • Disadvantages: complexity, steep learning curve, performance overhead

    • Example: creating a class 'Car' with properties like 'make', 'model', and 'year', and methods like 'start_engine' and 'stop_engine'

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare basics in server side and client side coding

Skills evaluated in this interview

Freshworks Interview FAQs

How many rounds are there in Freshworks Lead Software Engineer interview?
Freshworks interview process usually has 1-2 rounds. The most common rounds in the Freshworks interview process are Technical, Coding Test and One-on-one Round.
How to prepare for Freshworks Lead Software Engineer interview?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at Freshworks. The most common topics and skills that interviewers at Freshworks expect are Data Structures, Open Source, Information Security, Python and Distribution System.
What are the top questions asked in Freshworks Lead Software Engineer interview?

Some of the top questions asked at the Freshworks Lead Software Engineer interview -

  1. Triplets in array of integers without duplica...read more
  2. Find all square matrices in a given mat...read more
  3. Loop in a linked list and removing...read more

Tell us how to improve this page.

Overall Interview Experience Rating

4/5

based on 8 interview experiences

Difficulty level

Easy 20%
Moderate 80%

Duration

Less than 2 weeks 60%
2-4 weeks 40%
View more

Interview Questions from Similar Companies

Chetu Interview Questions
3.3
 • 198 Interviews
AVASOFT Interview Questions
2.8
 • 174 Interviews
Oracle Cerner Interview Questions
3.6
 • 162 Interviews
Thomson Reuters Interview Questions
4.1
 • 125 Interviews
ServiceNow Interview Questions
4.1
 • 124 Interviews
Amadeus Interview Questions
3.8
 • 115 Interviews
UKG Interview Questions
3.1
 • 112 Interviews
EbixCash Limited Interview Questions
3.9
 • 106 Interviews
SPRINKLR Interview Questions
2.9
 • 105 Interviews
View all
Freshworks Lead Software Engineer Salary
based on 225 salaries
₹30.1 L/yr - ₹53 L/yr
51% more than the average Lead Software Engineer Salary in India
View more details

Freshworks Lead Software Engineer Reviews and Ratings

based on 33 reviews

2.6/5

Rating in categories

2.5

Skill development

3.0

Work-life balance

3.1

Salary

2.3

Job security

2.4

Company culture

2.4

Promotions

2.4

Work satisfaction

Explore 33 Reviews and Ratings
Lead Software Engineer - Test

Chennai

7-10 Yrs

₹ 26.5-50 LPA

Lead Software Engineer - Site Reliability

Chennai

10-12 Yrs

Not Disclosed

Lead Software Engineer - Site Reliability

Chennai

7-10 Yrs

₹ 26.5-50 LPA

Explore more jobs
Senior Software Engineer
379 salaries
unlock blur

₹19.9 L/yr - ₹37 L/yr

fresher
248 salaries
unlock blur

₹1.8 L/yr - ₹5.1 L/yr

Software Engineer
236 salaries
unlock blur

₹10 L/yr - ₹18 L/yr

Lead Software Engineer
220 salaries
unlock blur

₹30.8 L/yr - ₹55 L/yr

Product Specialist
146 salaries
unlock blur

₹3.5 L/yr - ₹11.5 L/yr

Explore more salaries
Compare Freshworks with

Zoho

4.2
Compare

Salesforce

4.0
Compare

Thomson Reuters

4.1
Compare

Oracle Cerner

3.6
Compare
write
Share an Interview