Upload Button Icon Add office photos

Freshworks

Compare button icon Compare button icon Compare

Filter interviews by

Freshworks Senior Software Engineer Interview Questions and Answers

Updated 20 Apr 2025

11 Interview questions

A Senior Software Engineer was asked 8mo ago
Q. Implement a debounce function.
Ans. 

Debounce function delays the execution of a function until after a specified amount of time has passed since the last time it was invoked.

  • Create a function that takes a function and a delay time as parameters

  • Use setTimeout to delay the execution of the function

  • Use clearTimeout to reset the timer if the function is invoked again within the delay time

A Senior Software Engineer was asked
Q. Given a Binary Search Tree (BST), find the kth largest element.
Ans. 

To find the Kth largest number in a Binary Search Tree (BST), we can perform an in-order traversal and keep track of the Kth largest element.

  • Perform an in-order traversal of the BST to get the elements in non-decreasing order.

  • Keep track of the Kth largest element while traversing the BST.

  • Return the Kth largest element once found.

Senior Software Engineer Interview Questions Asked at Other Companies

asked in UST
Q1. Nth Prime Number Problem Statement Find the Nth prime number give ... read more
asked in DBS Bank
Q2. Tell me about yourself. What technology are you using? What is a ... read more
Q3. K Largest Elements Problem Statement You are given an integer k a ... read more
asked in GlobalLogic
Q4. MapSum Pair Implementation Create a data structure named 'MapSum' ... read more
Q5. If you have to prioritize between coding standards and project de ... read more
A Senior Software Engineer was asked
Q. Given an array of integers, find the number of pairs whose sum is a perfect square.
Ans. 

Count pairs in an array whose sum is a perfect square.

  • Iterate through the array and calculate the sum of each pair.

  • Check if the sum is a perfect square using a function.

  • Increment a counter if the sum is a perfect square.

  • Return the final count of pairs.

A Senior Software Engineer was asked
Q. Given an array, for each element, find the immediate higher element to its right. If such an element doesn't exist, consider -1.
Ans. 

The immediate higher number to the right of each element in an array

  • Iterate through the array from right to left

  • For each element, compare it with the elements to its right to find the immediate higher number

  • Store the immediate higher number in a new array

A Senior Software Engineer was asked
Q. Design a TinyURL system.
Ans. 

Design a Tiny URL service to shorten URLs and manage redirection efficiently.

  • Generate a unique identifier for each URL (e.g., base62 encoding).

  • Store the mapping of short URL to original URL in a database.

  • Implement a redirection service that retrieves the original URL using the identifier.

  • Consider using caching for frequently accessed URLs to improve performance.

  • Implement analytics to track usage of shortened URLs ...

A Senior Software Engineer was asked
Q. How do you build a tiny URL application?
Ans. 

A tiny URL application is built by generating short aliases for long URLs, storing them in a database, and redirecting users to the original URL when the alias is accessed.

  • Generate a unique short alias for each long URL

  • Store the alias and corresponding long URL in a database

  • Implement a redirect mechanism to redirect users from the alias to the original URL

  • Handle edge cases like duplicate URLs, expired aliases, and...

A Senior Software Engineer was asked
Q. 

Count Ways to Reach the N-th Stair Problem Statement

You are provided with a number of stairs, and initially, you are located at the 0th stair. You need to reach the Nth stair, and you can climb one or two...

Ans. 

The problem involves counting the number of distinct ways to climb N stairs by taking 1 or 2 steps at a time.

  • Use dynamic programming to solve this problem efficiently.

  • The number of ways to reach the Nth stair is equal to the sum of ways to reach (N-1)th stair and (N-2)th stair.

  • Handle modulo 10^9+7 to avoid overflow issues.

  • Consider base cases for 0th and 1st stair.

  • Optimize the solution by using constant space inste...

Are these interview questions helpful?
🔥 Asked by recruiter 2 times
A Senior Software Engineer was asked
Q. 

Triplets with Given Sum Problem

Given an array or list ARR consisting of N integers, your task is to identify all distinct triplets within the array that sum up to a specified number K.

Explanation:

A tr...

Ans. 

The task is to identify all distinct triplets within an array that sum up to a specified number.

  • Iterate through the array and use nested loops to find all possible triplets.

  • Keep track of the sum of each triplet and compare it with the target sum.

  • Print the triplet if the sum matches the target sum, else print -1.

A Senior Software Engineer was asked
Q. Can you design the Low-Level Design (LLD) and High-Level Design (HLD) for a system like BookMyShow?
Ans. 

Designing the Low-Level Design (LLD) and High-Level Design (HLD) for a system like BookMyShow.

  • For HLD, identify main components like user interface, booking system, payment gateway, and database.

  • For LLD, break down each component into detailed modules and their interactions.

  • Consider scalability, security, and performance in both designs.

  • Example: HLD - User selects movie -> Booking system checks availability -&g...

A Senior Software Engineer was asked
Q. Can you design a database schema for a support ticketing system, such as Freshdesk?
Ans. 

Designing a database schema for a support ticketing system like Freshdesk.

  • Create a 'Tickets' table with fields like ticket ID, subject, description, status, priority, etc.

  • Include a 'Users' table for customer and agent information.

  • Establish a 'Categories' table for ticket categorization.

  • Implement a 'Comments' table to track communication history.

  • Utilize foreign keys to establish relationships between tables.

Freshworks Senior Software Engineer Interview Experiences

13 interviews found

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

Basic DS question like dutch flag problem.

Round 2 - Technical 

(2 Questions)

  • Q1. Implement debounce function
  • Ans. 

    Debounce function delays the execution of a function until after a specified amount of time has passed since the last time it was invoked.

    • Create a function that takes a function and a delay time as parameters

    • Use setTimeout to delay the execution of the function

    • Use clearTimeout to reset the timer if the function is invoked again within the delay time

  • Answered by AI
  • Q2. Closure based questions.
Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Naukri.com and was interviewed in Jul 2024. There was 1 interview round.

Round 1 - Coding Test 

Two questions asked:
1. Partition equal sum
2. find length largest region boolean matrix

Interview Preparation Tips

Topics to prepare for Freshworks Senior Software Engineer interview:
  • Hld
  • LLD
  • Coding
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(5 Questions)

  • Q1. Immediate higher number to right
  • Ans. 

    The immediate higher number to the right of each element in an array

    • Iterate through the array from right to left

    • For each element, compare it with the elements to its right to find the immediate higher number

    • Store the immediate higher number in a new array

  • Answered by AI
  • Q2. Count pair whose sum is perfect square.
  • Ans. 

    Count pairs in an array whose sum is a perfect square.

    • Iterate through the array and calculate the sum of each pair.

    • Check if the sum is a perfect square using a function.

    • Increment a counter if the sum is a perfect square.

    • Return the final count of pairs.

  • Answered by AI
  • Q3. Parking lot LLD
  • Ans. 

    Design a parking lot system to manage parking spaces, vehicles, and payment processing.

    • Define classes: ParkingLot, ParkingSpace, Vehicle, and Payment.

    • ParkingLot should manage multiple ParkingSpaces and track available spots.

    • ParkingSpace can be of different types: Compact, Regular, and Handicapped.

    • Vehicle class can include attributes like license plate, size, and type.

    • Implement methods for parking, retrieving vehicles, ...

  • Answered by AI
  • Q4. E Commerce HLD and LLD
  • Q5. Kth largest number in BST
  • Ans. 

    To find the Kth largest number in a Binary Search Tree (BST), we can perform an in-order traversal and keep track of the Kth largest element.

    • Perform an in-order traversal of the BST to get the elements in non-decreasing order.

    • Keep track of the Kth largest element while traversing the BST.

    • Return the Kth largest element once found.

  • 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 Oct 2024, where I was asked the following questions.

  • Q1. First round they ask all basic to advanced level questions in JavaScript like closure, factory function, scoping, hoisting, object oriented programming.
  • Q2. In the second round, the interviewer requested that I write a Pub/Sub class entirely in JavaScript and implement autocomplete functionality in JavaScript as well.

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare well in JavaScript.
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via LinkedIn and was interviewed in Aug 2023. There was 1 interview round.

Round 1 - Technical 

(1 Question)

  • Q1. System Design question on designing a Tiny URL
  • Ans. 

    Design a Tiny URL service to shorten URLs and manage redirection efficiently.

    • Generate a unique identifier for each URL (e.g., base62 encoding).

    • Store the mapping of short URL to original URL in a database.

    • Implement a redirection service that retrieves the original URL using the identifier.

    • Consider using caching for frequently accessed URLs to improve performance.

    • Implement analytics to track usage of shortened URLs (e.g....

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

I applied via Approached by Company and was interviewed before Dec 2023. There were 3 interview rounds.

Round 1 - Coding Test 

DSA medium level questions

Round 2 - Technical 

(2 Questions)

  • Q1. JS based questions, event loop
  • Q2. Tricky questions based on output - JS concepts
Round 3 - One-on-one 

(2 Questions)

  • Q1. Machine Coding round on JS, Html, Css
  • Q2. Questions on performance optimization, security

Interview Preparation Tips

Interview preparation tips for other job seekers - Have a strong understanding of the fundamentals of JavaScript, HTML, CSS, and any framework such as React.js. Additionally, possess a basic knowledge of performance optimization and web security.
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Selected Selected

I applied via Naukri.com and was interviewed before Aug 2023. There was 1 interview round.

Round 1 - Coding Test 

Basic DSA leet code.

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

I appeared for an interview before Sep 2023.

Round 1 - Coding Test 

Hacker rank evaluation with three questions

Round 2 - Technical 

(2 Questions)

  • Q1. Android fundamentals
  • Q2. Lifecycle methods and synchronization
Round 3 - Technical 

(2 Questions)

  • Q1. Comparator based problem solving
  • Q2. Binary tree based Hashmap question
Round 4 - HR 

(1 Question)

  • Q1. Usual behavior fit questions
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Selected Selected

I applied via Referral and was interviewed before Jun 2022. There were 6 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - One-on-one 

(1 Question)

  • Q1. Coding round with senior software engineer
Round 3 - One-on-one 

(1 Question)

  • Q1. Resume based discussion with lead software engineer
Round 4 - One-on-one 

(1 Question)

  • Q1. Resume based and coding round with hiring manager
Round 5 - One-on-one 

(1 Question)

  • Q1. Cross team resume based and coding round with a staff engineer
Round 6 - HR 

(1 Question)

  • Q1. Attitude and culture fit
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

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

Round 1 - Coding Test 

Write a program that solves sudoku

Round 2 - Technical 

(1 Question)

  • Q1. How do you build a tiny URL Application?
  • Ans. 

    A tiny URL application is built by generating short aliases for long URLs, storing them in a database, and redirecting users to the original URL when the alias is accessed.

    • Generate a unique short alias for each long URL

    • Store the alias and corresponding long URL in a database

    • Implement a redirect mechanism to redirect users from the alias to the original URL

    • Handle edge cases like duplicate URLs, expired aliases, and inva...

  • Answered by AI

Skills evaluated in this interview

Top trending discussions

View All
Interview Tips & Stories
2w
toobluntforu
·
works at
Cvent
Can speak English, can’t deliver in interviews
I feel like I can't speak fluently during interviews. I do know english well and use it daily to communicate, but the moment I'm in an interview, I just get stuck. since it's not my first language, I struggle to express what I actually feel. I know the answer in my head, but I just can’t deliver it properly at that moment. Please guide me
Got a question about Freshworks?
Ask anonymously on communities.

Freshworks Interview FAQs

How many rounds are there in Freshworks Senior Software Engineer interview?
Freshworks interview process usually has 2-3 rounds. The most common rounds in the Freshworks interview process are Coding Test, Technical and One-on-one Round.
How to prepare for Freshworks Senior 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 Python, Data Structures, Java, Computer science and Javascript.
What are the top questions asked in Freshworks Senior Software Engineer interview?

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

  1. How do you build a tiny URL Applicati...read more
  2. Count pair whose sum is perfect squa...read more
  3. System Design question on designing a Tiny ...read more
How long is the Freshworks Senior Software Engineer interview process?

The duration of Freshworks Senior Software Engineer 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.5/5

based on 12 interview experiences

Difficulty level

Moderate 89%
Hard 11%

Duration

Less than 2 weeks 75%
2-4 weeks 25%
View more
Freshworks Senior Software Engineer Salary
based on 376 salaries
₹19.8 L/yr - ₹36 L/yr
60% more than the average Senior Software Engineer Salary in India
View more details

Freshworks Senior Software Engineer Reviews and Ratings

based on 45 reviews

3.1/5

Rating in categories

3.1

Skill development

3.3

Work-life balance

3.3

Salary

2.7

Job security

2.9

Company culture

2.6

Promotions

3.0

Work satisfaction

Explore 45 Reviews and Ratings
Senior Software Engineer - Test

Hyderabad / Secunderabad

4-7 Yrs

₹ 14.5-41.6 LPA

Senior Software Engineer - Mobile

Chennai

3-5 Yrs

₹ 11.6-38 LPA

Senior Software Engineer - Site Reliability

Chennai

4-7 Yrs

₹ 11-28.6 LPA

Explore more jobs
Senior Software Engineer
376 salaries
unlock blur

₹19.8 L/yr - ₹36 L/yr

fresher
247 salaries
unlock blur

₹1.8 L/yr - ₹5.1 L/yr

Software Engineer
236 salaries
unlock blur

₹10 L/yr - ₹17 L/yr

Lead Software Engineer
225 salaries
unlock blur

₹30.1 L/yr - ₹53 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