Upload Button Icon Add office photos

Freshworks

Compare button icon Compare button icon Compare

Filter interviews by

Freshworks Graduate Trainee Interview Questions and Answers

Updated 6 Apr 2025

8 Interview questions

A Graduate Trainee was asked 3mo ago
Q. Given an array of integers, find if the array contains any duplicates. Your function should return true if any value appears at least twice in the array, and it should return false if every element is disti...
Ans. 

Identify and remove duplicates from an array of strings efficiently.

  • Use a Set to store unique strings. Example: ['apple', 'banana', 'apple'] becomes ['apple', 'banana'].

  • Iterate through the array and add each string to the Set. Duplicates are automatically ignored.

  • Convert the Set back to an array if needed. Example: Set(['apple', 'banana']) to ['apple', 'banana'].

  • Consider using built-in functions like filter() or r...

A Graduate Trainee was asked 4mo ago
Q. Optimize the code and improve its time and space complexity.
Ans. 

Optimizing code involves improving efficiency while reducing time and space complexity.

  • Use efficient algorithms: For example, use QuickSort instead of BubbleSort for sorting arrays.

  • Reduce space complexity: Use in-place algorithms like Merge Sort to save memory.

  • Avoid unnecessary computations: Cache results of expensive function calls (memoization).

  • Choose appropriate data structures: Use HashMaps for quick lookups i...

Graduate Trainee Interview Questions Asked at Other Companies

asked in Flipkart
Q1. Given an array, how do you find the number of pairs that sum to a ... read more
asked in Freshworks
Q2. Invert a Binary Tree You are provided with a Binary Tree and one ... read more
asked in Freshworks
Q3. Merge Two Sorted Arrays Problem Statement Given two sorted intege ... read more
asked in Freshworks
Q4. Deepest Left Leaf Node Problem Statement You are provided with a ... read more
asked in TCS
Q5. Consonant Counting Problem Statement Given a string STR comprisin ... read more
A Graduate Trainee was asked
Q. 

Deepest Left Leaf Node Problem Statement

You are provided with a binary tree consisting of 'N' nodes. Your goal is to identify the deepest leaf node that is a left child of some node within the given binar...

Ans. 

Identify the deepest left leaf node in a binary tree.

  • Traverse the binary tree in level order to find the deepest left leaf node.

  • Keep track of the maximum depth and the value of the deepest left leaf node found so far.

  • Return the value of the deepest left leaf node at the end.

A Graduate Trainee was asked
Q. 

Sub Sort Problem Statement

You are given an integer array ARR. Determine the length of the shortest contiguous subarray which, when sorted in ascending order, results in the entire array being sorted in as...

Ans. 

Find the length of the shortest subarray that needs to be sorted to make the entire array sorted in ascending order.

  • Iterate from left to right to find the first element out of order.

  • Iterate from right to left to find the last element out of order.

  • Calculate the length of the subarray between the out of order elements.

A Graduate Trainee was asked
Q. 

Merge Two Sorted Arrays Problem Statement

Given two sorted integer arrays ARR1 and ARR2 of size M and N, respectively, merge them into ARR1 as one sorted array. Assume that ARR1 has a size of M + N to hold...

Ans. 

Merge two sorted arrays into one sorted array in place.

  • Iterate from the end of both arrays and compare elements to merge in place

  • Use two pointers to keep track of the current position in each array

  • Update the elements in ARR1 from the end to the beginning

A Graduate Trainee was asked
Q. 

Valid Parentheses Problem Statement

Given a string 'STR' consisting solely of the characters “{”, “}”, “(”, “)”, “[” and “]”, determine if the parentheses are balanced.

Input:

The first line contains an ...
Ans. 

The task is to determine if a given string consisting of parentheses is balanced or not.

  • Iterate through each character in the string and use a stack to keep track of opening parentheses

  • If an opening parenthesis is encountered, push it onto the stack

  • If a closing parenthesis is encountered, check if it matches the top of the stack. If it does, pop the stack, else return 'Not Balanced'

  • At the end, if the stack is empt...

A Graduate Trainee was asked
Q. 

Invert a Binary Tree

You are provided with a Binary Tree and one of its leaf nodes. Your task is to invert this binary tree, making sure to adhere to the following guidelines:

  • The given leaf node becom...
Ans. 

Invert a binary tree with a given leaf node as the new root, following specific guidelines.

  • Start by identifying the leaf node provided in the input.

  • Follow the guidelines to invert the binary tree with the leaf node as the new root.

  • Ensure that the left child becomes the right child of the new root if available, and the parent becomes the left child.

  • Implement the inversion process for each test case and output the r...

Are these interview questions helpful?
A Graduate Trainee was asked
Q. 

Reverse Integer Problem Statement

Given a 32-bit signed integer N, your task is to return the reversed integer. If reversing the integer causes overflow, return -1.

Input:

The first line contains an inte...
Ans. 

Reverse a 32-bit signed integer and handle overflow cases.

  • Implement a function to reverse the given integer.

  • Check for overflow conditions and return -1 if overflow occurs.

  • Use 32-bit capacity data types only.

  • Example: For input 123, output should be 321.

Freshworks Graduate Trainee Interview Experiences

7 interviews found

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

First round is coding round

Round 2 - Technical 

(1 Question)

  • Q1. This round include basic understanding of oops, dbms, and leetcode coding problems.
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Selected Selected

I appeared for an interview before Mar 2024.

Round 1 - Coding Test 

Hackerrank test - leetcode type questions - easy to medium

Round 2 - Assignment 

Assignment - to submit in Github

Round 3 - Technical 

(1 Question)

  • Q1. Technical q - coding, SQL
Round 4 - Technical 

(1 Question)

  • Q1. Technical q - coding ( to optimise and also the time and space complexity for the same)
  • Ans. 

    Optimizing code involves improving efficiency while reducing time and space complexity.

    • Use efficient algorithms: For example, use QuickSort instead of BubbleSort for sorting arrays.

    • Reduce space complexity: Use in-place algorithms like Merge Sort to save memory.

    • Avoid unnecessary computations: Cache results of expensive function calls (memoization).

    • Choose appropriate data structures: Use HashMaps for quick lookups instea...

  • Answered by AI
Round 5 - HR 

(1 Question)

  • Q1. General HR questions
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

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

  • Q1. Duplicates in array
  • Ans. 

    Identify and remove duplicates from an array of strings efficiently.

    • Use a Set to store unique strings. Example: ['apple', 'banana', 'apple'] becomes ['apple', 'banana'].

    • Iterate through the array and add each string to the Set. Duplicates are automatically ignored.

    • Convert the Set back to an array if needed. Example: Set(['apple', 'banana']) to ['apple', 'banana'].

    • Consider using built-in functions like filter() or reduce...

  • Answered by AI
  • Q2. Pattern solving
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
More than 8 weeks
Result
Selected Selected

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

  • Q1. Question on array
  • Q2. Question on strings
Interview experience
4
Good
Difficulty level
Easy
Process Duration
2-4 weeks
Result
Selected Selected

I applied via Company Website and was interviewed before Jul 2023. There was 1 interview round.

Round 1 - Technical 

(1 Question)

  • Q1. Strings related question

Interview Preparation Tips

Topics to prepare for Freshworks Graduate Trainee interview:
  • strings
  • Debugging
Interview experience
4
Good
Difficulty level
Easy
Process Duration
6-8 weeks
Result
Selected Selected

I applied via Referral and was interviewed before May 2023. There were 2 interview rounds.

Round 1 - Coding Test 

Coding test of easy level questions. 3-4 questions was there.

Round 2 - Technical 

(1 Question)

  • Q1. 1. Give intro. 2.some DSA questions and i answered all. 3.some oops and Basic questions of CsE

I appeared for an interview before May 2021.

Round 1 - Coding Test 

(3 Questions)

Round duration - 60 minutes
Round difficulty - Medium

  • Q1. 

    Merge Two Sorted Arrays Problem Statement

    Given two sorted integer arrays ARR1 and ARR2 of size M and N, respectively, merge them into ARR1 as one sorted array. Assume that ARR1 has a size of M + N to hol...

  • Ans. 

    Merge two sorted arrays into one sorted array in place.

    • Iterate from the end of both arrays and compare elements to merge in place

    • Use two pointers to keep track of the current position in each array

    • Update the elements in ARR1 from the end to the beginning

  • Answered by AI
  • Q2. 

    Valid Parentheses Problem Statement

    Given a string 'STR' consisting solely of the characters “{”, “}”, “(”, “)”, “[” and “]”, determine if the parentheses are balanced.

    Input:

    The first line contains an...
  • Ans. 

    The task is to determine if a given string consisting of parentheses is balanced or not.

    • Iterate through each character in the string and use a stack to keep track of opening parentheses

    • If an opening parenthesis is encountered, push it onto the stack

    • If a closing parenthesis is encountered, check if it matches the top of the stack. If it does, pop the stack, else return 'Not Balanced'

    • At the end, if the stack is empty, re...

  • Answered by AI
  • Q3. 

    Reverse Integer Problem Statement

    Given a 32-bit signed integer N, your task is to return the reversed integer. If reversing the integer causes overflow, return -1.

    Input:

    The first line contains an int...
  • Ans. 

    Reverse a 32-bit signed integer and handle overflow cases.

    • Implement a function to reverse the given integer.

    • Check for overflow conditions and return -1 if overflow occurs.

    • Use 32-bit capacity data types only.

    • Example: For input 123, output should be 321.

  • Answered by AI
Round 2 - Assignment 

Round duration - 60 minutes
Round difficulty - Easy

Round 3 - Face to Face 

(2 Questions)

Round duration - 45 minutes
Round difficulty - Easy

  • Q1. 

    Deepest Left Leaf Node Problem Statement

    You are provided with a binary tree consisting of 'N' nodes. Your goal is to identify the deepest leaf node that is a left child of some node within the given bina...

  • Ans. 

    Identify the deepest left leaf node in a binary tree.

    • Traverse the binary tree in level order to find the deepest left leaf node.

    • Keep track of the maximum depth and the value of the deepest left leaf node found so far.

    • Return the value of the deepest left leaf node at the end.

  • Answered by AI
  • Q2. 

    Sub Sort Problem Statement

    You are given an integer array ARR. Determine the length of the shortest contiguous subarray which, when sorted in ascending order, results in the entire array being sorted in a...

  • Ans. 

    Find the length of the shortest subarray that needs to be sorted to make the entire array sorted in ascending order.

    • Iterate from left to right to find the first element out of order.

    • Iterate from right to left to find the last element out of order.

    • Calculate the length of the subarray between the out of order elements.

  • Answered by AI
Round 4 - Face to Face 

(1 Question)

Round duration - 45 minutes
Round difficulty - Easy

  • Q1. 

    Invert a Binary Tree

    You are provided with a Binary Tree and one of its leaf nodes. Your task is to invert this binary tree, making sure to adhere to the following guidelines:

    • The given leaf node beco...
  • Ans. 

    Invert a binary tree with a given leaf node as the new root, following specific guidelines.

    • Start by identifying the leaf node provided in the input.

    • Follow the guidelines to invert the binary tree with the leaf node as the new root.

    • Ensure that the left child becomes the right child of the new root if available, and the parent becomes the left child.

    • Implement the inversion process for each test case and output the result...

  • Answered by AI
Round 5 - HR 

Round duration - 30 minutes
Round difficulty - Easy

This Round the HR checks whether you will be good fit for culture code that's followed by the company.

Interview Preparation Tips

Professional and academic backgroundI completed Electrical Engineering from Sri Krishna College of Engineering and Technology. I applied for the job as Graduate Trainee in ChennaiEligibility criteriaAbove 7 CGPAFreshworks interview preparation:Topics to prepare for the interview - Data Structures, Algorithms, SQL, OOPS, Basics of system design.Time required to prepare for the interview - 7 monthsInterview preparation tips for other job seekers

Tip 1 : Make sure that you have good understand of data structures, Algorithm and OOPS
Tip 2 : Practice as many problems as you can in any platform that you are comfortable on.
Tip 3 : Have a decent knowledge on SQL, DBMS, OS, computer networks

Application resume tips for other job seekers

Tip 1 : Keep your resume short preferably 1 page and make sure its communicating all points 
Tip 2 : Add only those thing that you are confident on.

Final outcome of the interviewSelected

Skills evaluated in this interview

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

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
4-6 weeks
Result
Not Selected

I applied via Campus Placement and was interviewed in Apr 2024. There were 2 interview rounds.

Round 1 - Group Discussion 

It was well organised. Friendly staffs and responding.

Round 2 - Technical 

(2 Questions)

  • Q1. Questions from resume
  • Q2. Questions from business related things

Interview Preparation Tips

Interview preparation tips for other job seekers - Have a good grasp on your basics and prepare your resume well

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

I applied via Naukri.com and was interviewed before Sep 2021. There was 1 interview round.

Round 1 - Technical 

(1 Question)

  • Q1. Basic Oracle Architecture, RAC Setup, Golden Gate Troubleshooting, Data Guard recover, RMAN restoration

Interview Preparation Tips

Interview preparation tips for other job seekers - Focus on Day to Day activities and Oracle architecture

Freshworks Interview FAQs

How many rounds are there in Freshworks Graduate Trainee interview?
Freshworks interview process usually has 2-3 rounds. The most common rounds in the Freshworks interview process are Technical, Coding Test and Assignment.
How to prepare for Freshworks Graduate Trainee 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 B2B, Sales, Sales Process, Customer Support and Inside Sales.
What are the top questions asked in Freshworks Graduate Trainee interview?

Some of the top questions asked at the Freshworks Graduate Trainee interview -

  1. Technical q - coding ( to optimise and also the time and space complexity for t...read more
  2. Duplicates in ar...read more
  3. 1. Give intro. 2.some DSA questions and i answered all. 3.some oops and Basic q...read more

Tell us how to improve this page.

Overall Interview Experience Rating

4.5/5

based on 6 interview experiences

Difficulty level

Easy 40%
Moderate 60%

Duration

Less than 2 weeks 20%
2-4 weeks 40%
6-8 weeks 20%
More than 8 weeks 20%
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 Graduate Trainee Salary
based on 16 salaries
₹4.5 L/yr - ₹7.5 L/yr
65% more than the average Graduate Trainee Salary in India
View more details

Freshworks Graduate Trainee Reviews and Ratings

based on 1 review

1.0/5

Rating in categories

1.0

Skill development

3.0

Work-life balance

1.0

Salary

1.0

Job security

1.0

Company culture

1.0

Promotions

3.0

Work satisfaction

Explore 1 Review and Rating
Graduate Trainee - Sales

Chennai

0-1 Yrs

₹ 4.5-5 LPA

Graduate Trainee - Customer Support

Chennai

0-1 Yrs

₹ 4.5-5 LPA

Explore more jobs
Senior Software Engineer
379 salaries
unlock blur

₹19.8 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

₹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