Filter interviews by
I applied via Referral and was interviewed in Jul 2024. There were 2 interview rounds.
I can do good group discussion also I have leader ship qualitys
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
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)
Check if a given string is a palindrome
Iterate through the string from both ends and compare characters
Ignore spaces and punctuation marks while checking for palindrome
Convert the string to lowercase for case-insensitive comparison
Debugging an application involves identifying and fixing issues in the code, while writing test cases ensures the application functions correctly.
Understand the functionality of the application and identify the root cause of the issue
Use debugging tools like breakpoints, logging, and stack traces to pinpoint the problem
Write test cases to cover different scenarios and ensure the issue is resolved
Reproduce the issue to ...
Basic DS question like dutch flag problem.
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
Freshworks interview questions for popular designations
A lambda function in Python is a small anonymous function defined using the lambda keyword.
Lambda functions can have any number of arguments, but can only have one expression.
Syntax: lambda arguments : expression
Example: lambda x, y : x + y
dbutils is a utility provided by Databricks for interacting with files and directories in the Databricks environment.
dbutils.fs.ls('/') - list files in root directory
dbutils.fs.cp('dbfs:/file.txt', 'file.txt') - copy file from DBFS to local file system
dbutils.fs.mkdirs('dbfs:/new_dir') - create a new directory in DBFS
A commit in SQL is a command that saves all the changes made in a transaction to the database.
A commit is used to make all the changes made in a transaction permanent.
Once a commit is issued, the changes cannot be rolled back.
It is important to use commit to ensure data integrity and consistency.
Example: COMMIT; - this command is used to commit the changes in a transaction.
Get interview-ready with Top Freshworks Interview Questions
I applied via LinkedIn and was interviewed in Jun 2024. There were 2 interview rounds.
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
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
Basic Datastructures and ALgo questions medium to hard level
I applied via Naukri.com and was interviewed in Jul 2024. There was 1 interview round.
Two questions asked:
1. Partition equal sum
2. find length largest region boolean matrix
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
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
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.
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.
I applied via LinkedIn and was interviewed in Mar 2024. There were 2 interview rounds.
Yes, I have faced irate customers before and have successfully de-escalated the situation.
Remain calm and composed
Listen actively to the customer's concerns
Empathize with the customer's frustration
Apologize for any inconvenience caused
Offer a solution or alternative to resolve the issue
Top trending discussions
Interview experience
based on 680 reviews
Rating in categories
Senior Software Engineer
286
salaries
| ₹10.6 L/yr - ₹36 L/yr |
fresher
216
salaries
| ₹1 L/yr - ₹6 L/yr |
Software Engineer
185
salaries
| ₹5.5 L/yr - ₹17 L/yr |
Lead Software Engineer
179
salaries
| ₹17.2 L/yr - ₹50 L/yr |
Product Specialist
111
salaries
| ₹5 L/yr - ₹10.9 L/yr |
Zoho
Salesforce
LTIMindtree
TCS