Freshworks interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

Freshworks
upvote
share-icon
3 rounds | 7 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3 Months
Topics: Computer Science Fundamentals, Data Structures & Algorithms, OOPS, System Design, Dynamic Programming, DataBase - Mysql
Tip
Tip

Tip 1 : Focus more CS Fundamentals and understand the foundation concepts
Tip 2 : Practice lots of Competitive Programming Problems and improve your problem solving skill
Tip 3 : Focus on development, try building a complete application and update your resume with minimum of 2 projects you have done.

Application process
Where: Linkedin
Eligibility: No criteria
Resume Tip
Resume tip

Tip 1 : Add minimum of 2 development projects 
Tip 2 : Highlight your skills and 1 page resume is appreciated

Interview rounds

01
Round
Medium
Face to Face
Duration90 Minutes
Interview date8 Aug 2019
Coding problem5

Interview was at Office. There were two interviewers and they were so friendly.
Interviewers covered all the fundamentals of CS questions and questions on DS

1. Detect and Remove Loop

Moderate
10m average time
90% success
0/80
Asked in companies
AmazonMicrosoftFreshworks

Given a singly linked list, you have to detect the loop and remove the loop from the linked list, if present. You have to make changes in the given linked list itself and return the updated linked list.

Expected Complexity: Try doing it in O(n) time complexity and O(1) space complexity. Here, n is the number of nodes in the linked list.

Problem approach

I already practiced this, so it was easy for me to solve.

Have a visited flag with each node.
Traverse the linked list and keep marking visited nodes.
If you see a visited node again then there is a loop. This solution works in O(n) but requires additional information with each node.
A variation of this solution that doesn’t require modification to basic data structure can be implemented using a hash, just store the addresses of visited nodes in a hash and if you see an address that already exists in hash then there is a loop.

Try solving now

2. Maximum Area Square

Moderate
10m average time
90% success
0/80
Asked in companies
Urban Company (UrbanClap)FreshworksBNY Mellon

You have been given a non-empty grid ‘MAT’ consisting of only 0s and 1s. Your task is to find the area of maximum size square sub-matrix with all 1s.

If there is no such sub-matrix, print 0.

For example, for the following grid:

Input

The area of the largest square submatrix with all 1s is 4.
Problem approach

Solved with Dynamic Programming

Try solving now

3. DBMS Question

Asked to write Queries providing some use-cases .
Expected to write with Joins, GroupBy and OrderBy

Problem approach

Tip 1 : Practice to write queries with Joins
 

4. DBMS Question

How Primary Key in DB works internally and how will you implement that with code ?

5. Java Related Question

How JVM works ?

02
Round
Medium
Face to Face
Duration90 Minutes
Interview date8 Aug 2019
Coding problem1

1. Design Question

Implementation of Tic-Tac-Toe game

Problem approach

Have solved with Brute-Force Approach.
Interviewer then asked to optimise and the interview went for next 1 hour for optimising to least time complexity.

03
Round
Easy
HR Round
Duration30 Minutes
Interview date9 Aug 2019
Coding problem1

Culture Round
Asked about Long Term Goals

1. Basic HR questions

Asked about Long Term Goals, Strengths, Attitude.

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
SDE - 1
5 rounds | 6 problems
Interviewed by Freshworks
1081 views
0 comments
0 upvotes
SDE - 1
2 rounds | 6 problems
Interviewed by Freshworks
1009 views
0 comments
0 upvotes
SDE - 1
4 rounds | 8 problems
Interviewed by Freshworks
1134 views
0 comments
0 upvotes
SDE - 1
2 rounds | 4 problems
Interviewed by Freshworks
729 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
114579 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
57825 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
34961 views
7 comments
0 upvotes