Add office photos
Employer?
Claim Account for FREE

Freshworks

3.5
based on 695 Reviews
Video summary
Filter interviews by

100+ Schaeffler India Interview Questions and Answers

Updated 5 Nov 2024
Popular Designations

Q1. 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 triplet i...read more

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.

Add your answer

Q2. K-th Largest Number in a BST

Given a binary search tree (BST) consisting of integers and containing 'N' nodes, your task is to find and return the K-th largest element in this BST.

If there is no K-th largest e...read more

Ans.

Find the K-th largest element in a BST.

  • Perform reverse in-order traversal of the BST to find the K-th largest element.

  • Keep track of the count of visited nodes to determine the K-th largest element.

  • Return -1 if there is no K-th largest element in the BST.

Add your answer

Q3. Reverse Linked List Problem Statement

Given a singly linked list of integers, return the head of the reversed linked list.

Example:

Initial linked list: 1 -> 2 -> 3 -> 4 -> NULL
Reversed linked list: 4 -> 3 -> 2...read more
Ans.

Reverse a singly linked list of integers and return the head of the reversed linked list.

  • Iterate through the linked list and reverse the pointers to point to the previous node instead of the next node.

  • Use three pointers to keep track of the current, previous, and next nodes while reversing the linked list.

  • Update the head of the reversed linked list as the last node encountered during the reversal process.

Add your answer

Q4. 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 step...read more

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 instead of an array.

Add your answer
Discover Schaeffler India interview dos and don'ts from real experiences

Q5. 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 places. ...read more

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 algorithms like Newton's method for square root calculation.

  • Test t...read more

Add your answer

Q6. 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'), the posit...read more

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

Add your answer
Are these interview questions helpful?

Q7. 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 becomes the r...read more
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 resulting binary tree in the same format as the input.

Add your answer

Q8. Intersection of Linked List Problem

You are provided with two singly linked lists containing integers, where both lists converge at some node belonging to a third linked list.

Your task is to determine the data...read more

Ans.

Find the node where two linked lists merge, return -1 if no merging occurs.

  • Traverse both lists to find the lengths and the last nodes

  • Align the starting points of the lists by adjusting the pointers

  • Traverse again to find the merging node or return -1 if no merging occurs

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q9. 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 all ...read more

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

Add your answer

Q10. 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 binary tre...read more

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.

Add your answer

Q11. Overlapping Intervals Problem Statement

You are given the start and end times of 'N' intervals. Write a function to determine if any two intervals overlap.

Note:

If an interval ends at time T and another interv...read more

Ans.

Determine if any two intervals overlap based on start and end times.

  • Iterate through intervals and check for any overlapping intervals by comparing start and end times.

  • Sort the intervals based on start times to optimize the solution.

  • Consider edge cases where intervals end and start at the same time but are not considered overlapping.

Add your answer

Q12. 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 integer...read more
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, return 'Balanced', else return 'Not Balanced'

Add your answer

Q13. 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 separated...read more
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

Add your answer

Q14. Sort Linked List Based on Actual Values

Given a Singly Linked List of integers that are sorted based on their absolute values, the task is to sort the linked list based on the actual values.

The absolute value ...read more

Ans.

Sort a Singly Linked List based on actual values instead of absolute values.

  • Traverse the linked list and store the values in an array.

  • Sort the array based on actual values.

  • Update the linked list with the sorted values.

Add your answer

Q15. Middle of Linked List Problem Statement

Given the head node of a singly linked list, return a pointer pointing to the middle node of the linked list. In case the count of elements is even, return the node which...read more

Ans.

Return the middle node of a singly linked list, or the second middle node if count is even.

  • Traverse the linked list with two pointers, one moving twice as fast as the other

  • When the fast pointer reaches the end, the slow pointer will be at the middle

  • If count is even, return the second middle node

  • Handle edge cases like single node or no midpoint

Add your answer
Q16. 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 -> Payment gateway processes transaction.

  • Example: LLD - Booking syste...read more

Add your answer

Q17. 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 substring is a ...read more

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 length as the result.

Add your answer

Q18. Wildcard Pattern Matching Problem Statement

Implement a wildcard pattern matching algorithm to determine if a given wildcard pattern matches a text string completely.

The wildcard pattern may include the charac...read more

Ans.

Implement a wildcard pattern matching algorithm to determine if a given wildcard pattern matches a text string completely.

  • Create a recursive function to match the pattern with the text character by character.

  • Handle cases for '?' and '*' characters in the pattern.

  • Use dynamic programming to optimize the solution.

  • Check for edge cases like empty pattern or text.

Add your answer

Q19. Maximum Subarray Sum Queries

You are provided with an array of ‘N’ integers and ‘Q’ queries. Each query requires calculating the maximum subarray sum in a specified range of the array.

Input:

The first line con...read more
Ans.

Implement a function to calculate maximum subarray sum queries in a given range of an array.

  • Iterate through each query and calculate the maximum subarray sum within the specified range using Kadane's algorithm.

  • Keep track of the maximum sum found so far and update it as needed.

  • Return the maximum subarray sum for each query in the test case.

Add your answer

Q20. 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 integer 'T'...read more
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.

Add your answer

Q21. Cube Sum Pairs Problem Statement

Given a positive integer N, find the number of ways to express N as a sum of cubes of two integers, A and B, such that:

N = A^3 + B^3

Ensure you adhere to the following conditio...read more

Ans.

The problem involves finding the number of ways to express a given integer as a sum of cubes of two integers.

  • Iterate through all possible values of A and B within the given constraints.

  • Check if A^3 + B^3 equals the given integer N.

  • Count the valid pairs of A and B that satisfy the condition.

  • Return the count of valid pairs for each test case.

Add your answer
Q22. 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.

Add your answer

Q23. 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 string row...read more

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

Add your answer

Q24. Find the Third Greatest Element

Given an array 'ARR' of 'N' distinct integers, determine the third largest element in the array.

Input:

The first line contains a single integer 'T' representing the number of te...read more
Ans.

Find the third largest element in an array of distinct integers.

  • Sort the array in descending order and return the element at index 2.

  • Handle cases where the array has less than 3 elements separately.

  • Consider edge cases like negative integers and duplicates.

Add your answer

Q25. Longest Common Subsequence Problem Statement

Given two strings STR1 and STR2, determine the length of their longest common subsequence.

A subsequence is a sequence that can be derived from another sequence by d...read more

Ans.

The task is to find the length of the longest common subsequence between two given strings.

  • Implement a function to find the longest common subsequence length.

  • Use dynamic programming to solve the problem efficiently.

  • Iterate through the strings to find the common subsequence.

  • Handle edge cases like empty strings or equal strings.

  • Example: For input 'abcde' and 'ace', the longest common subsequence is 'ace' with a length of 3.

Add your answer

Q26. 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 ascendi...read more

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.

Add your answer

Q27. Detect and Remove Loop in Linked List

For a given singly linked list, identify if a loop exists and remove it, adjusting the linked list in place. Return the modified linked list.

Expected Complexity:

Aim for a...read more

Ans.

Detect and remove loop in a singly linked list with O(n) time complexity and O(1) space complexity.

  • Use Floyd's Cycle Detection Algorithm to identify the loop in the linked list.

  • Once the loop is detected, use two pointers to find the start of the loop.

  • Adjust the pointers to remove the loop and return the modified linked list.

  • Example: For input 5 2 and elements 1 2 3 4 5, output should be 1 2 3 4 5.

Add your answer

Q28. Remove Nodes with Specific Value from Linked List

You are provided with a singly linked list consisting of integer values and an integer 'K'. Your task is to eliminate all nodes from the linked list that have a...read more

Ans.

Remove nodes with specific value from a singly linked list.

  • Traverse the linked list and remove nodes with value equal to 'K'.

  • Update the references of the previous node to skip the removed node.

  • Handle edge cases like removing the head node or multiple nodes with the same value.

  • Return the modified linked list after removal.

Add your answer

Q29. Level Order Traversal Problem Statement

Given a binary tree of integers, return the level order traversal of the binary tree.

Input:

The first line contains an integer 'T', representing the number of test cases...read more
Ans.

Return the level order traversal of a binary tree given in level order with null nodes represented by -1.

  • Create a queue to store nodes for level order traversal

  • Start with the root node and add it to the queue

  • While the queue is not empty, dequeue a node, print its value, and enqueue its children

  • Repeat until all nodes are traversed in level order

Add your answer

Q30. Sort 0 1 2 Problem Statement

Given an integer array arr of size 'N' containing only 0s, 1s, and 2s, write an algorithm to sort the array.

Input:

The first line contains an integer 'T' representing the number of...read more
Ans.

Sort an integer array containing only 0s, 1s, and 2s in linear time complexity.

  • Use a single scan over the array to sort it in-place.

  • Maintain three pointers for 0s, 1s, and 2s and swap elements accordingly.

  • Example: Input: [0, 2, 1, 2, 0], Output: [0, 0, 1, 2, 2]

Add your answer

Q31. Consider the situation where you have one critical customer requirement which is a road blocker for them to go live. This was not identified during sales or evaluation period. Please provide key pointers to han...

read more
Ans.

Identify the root cause and work with the customer to find a solution.

  • Gather all necessary information about the requirement and the impact on the customer's business.

  • Identify the root cause of the issue and determine if it can be resolved within the current system.

  • If the issue cannot be resolved within the current system, work with the customer to find a workaround or alternative solution.

  • Communicate regularly with the customer to keep them informed of progress and any poten...read more

Add your answer

Q32. Find Duplicates in an Array

Given an array ARR of size 'N', where each integer is in the range from 0 to N - 1, identify all elements that appear more than once.

Return the duplicate elements in any order. If n...read more

Ans.

Find duplicates in an array of integers within a specified range.

  • Iterate through the array and keep track of the count of each element using a hashmap.

  • Identify elements with count greater than 1 as duplicates.

  • Return the duplicate elements as the output.

  • Handle edge cases like empty array or no duplicates found.

Add your answer
Q33. Can you discuss the low-level design (LLD) of a system similar to Flipkart?
Ans.

Discussing the low-level design of a system similar to Flipkart

  • Divide the system into modules like user authentication, product catalog, shopping cart, payment gateway

  • Discuss the data flow between these modules and how they interact with each other

  • Explain the database schema design for storing user information, product details, and order history

  • Consider scalability and performance optimizations like caching, load balancing, and database sharding

  • Discuss the technology stack us...read more

Add your answer
Q34. 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 NoSQL databases

Add your answer

Q35. What is a customer centered company? What are its main features?

Ans.

A customer centered company prioritizes customer needs and satisfaction over profits.

  • Focuses on understanding and meeting customer needs

  • Values customer feedback and uses it to improve products/services

  • Provides excellent customer service

  • Tailors marketing and messaging to customer preferences

  • Prioritizes long-term customer relationships over short-term profits

Add your answer
Q36. What is a deadlock in DBMS, and can you explain the concepts of join and query?
Ans.

A deadlock in DBMS occurs when two or more transactions are waiting for each other to release locks, causing them to be stuck indefinitely.

  • Deadlock is a situation where two or more transactions are unable to proceed because each is waiting for the other to release locks.

  • To prevent deadlocks, DBMS uses techniques like deadlock detection and prevention algorithms.

  • Joins in DBMS are used to combine rows from two or more tables based on a related column between them.

  • Queries in DBM...read more

Add your answer
Q37. What is threading, and what are the different scheduling algorithms?
Ans.

Threading is a way for a program to execute multiple tasks concurrently. Different scheduling algorithms determine the order in which threads are executed.

  • Threading allows multiple tasks to run concurrently within a single process.

  • Scheduling algorithms determine the order in which threads are executed, such as First-Come-First-Served (FCFS), Round Robin, Priority-Based Scheduling, etc.

  • FCFS schedules threads based on their arrival time, Round Robin assigns a fixed time slice t...read more

Add your answer

Q38. Do you think so you are fit for Product marketing?

Ans.

Yes, I believe I am fit for Product Marketing.

  • I have a strong understanding of the target audience and their needs.

  • I am skilled in market research and analysis.

  • I have experience in developing and executing successful marketing campaigns.

  • I am able to effectively communicate the value of a product to potential customers.

  • I am creative and able to come up with innovative marketing strategies.

  • I am able to work collaboratively with cross-functional teams to ensure product success.

View 2 more answers

Q39. Given an Array [2,5,1,3,4] return resulting array such that at ith position multiply all element except ith element. Result array [60, 24, 120, 40, 60]

Ans.

Given an array, return a new array where each element is the product of all elements in the original array except the corresponding element.

  • Create a new array of the same length as the input array

  • Iterate through the input array and calculate the product of all elements except the current element

  • Store the product in the corresponding position in the new array

  • Return the new array

Add your answer
Q40. How would you design an app like Uber?
Ans.

Designing an app like Uber involves creating a platform for connecting riders with drivers for on-demand transportation services.

  • Develop a user-friendly interface for riders to request rides and for drivers to accept requests.

  • Implement a real-time tracking system to show the location of drivers and estimated arrival times.

  • Incorporate a payment system for seamless transactions between riders and drivers.

  • Include a rating system for both riders and drivers to provide feedback on...read more

Add your answer
Q41. Design a system for Twitter, outlining the key components and architecture involved.
Ans.

Design a system for Twitter

  • Key components: user profiles, tweets, hashtags, timelines

  • Architecture: microservices, load balancers, databases, caching

  • Scalability: sharding, replication, CDN

  • Real-time processing: streaming APIs, push notifications

Add your answer

Q42. When would money not be a factor for you?

Ans.

Money would not be a factor for me when pursuing my passion or helping others in need.

  • I would prioritize my passion and purpose over financial gain

  • I would donate to charities and causes that align with my values

  • I would invest in experiences and personal growth opportunities

  • I would prioritize spending time with loved ones and creating meaningful memories

  • Examples: pursuing a career in the arts, volunteering for a non-profit organization, traveling to explore different cultures

Add your answer

Q43. How would you check static UI appearance

Ans.

To check static UI appearance, I would perform visual testing using tools like Applitools or Selenium.

  • Use visual testing tools to compare screenshots of the UI before and after changes

  • Check for consistency in font, color, layout, and alignment

  • Ensure that all UI elements are visible and not overlapping

  • Verify that the UI is responsive and looks good on different screen sizes

  • Perform manual checks to ensure that the UI meets design specifications

Add your answer

Q44. Implement a reusable carousel component in vanilla js.

Add your answer

Q45. Remote working is the trend - how does this augur for customer relations

Ans.

Remote working can positively impact customer relations by providing flexibility, accessibility, and personalized communication.

  • Remote working allows for more flexibility in scheduling meetings and calls with customers

  • It also allows for easier accessibility to customers in different time zones or locations

  • Personalized communication can be achieved through video conferencing and screen sharing

  • Remote working can also lead to increased productivity and faster response times

  • Howev...read more

Add your answer

Q46. if A -> 1, AA -> 27 AZ->52 what will be 702

Ans.

702 is represented by ZZ in the given pattern.

  • The pattern seems to be assigning numbers to alphabets based on their position in the English alphabet.

  • The first letter represents the position in the alphabet and the second letter represents the position multiplied by 26.

  • Therefore, ZZ represents 26*26 + 26 = 702.

Add your answer

Q47. take anyone product from freshworks and explain features of it

Ans.

Freshdesk - Customer Support Software

  • Omnichannel support for email, phone, chat, social media

  • Automated ticket routing and prioritization

  • Knowledge base for self-service support

  • SLA management and reporting

  • Integrations with other tools like CRM and project management

  • Mobile app for agents and customers

Add your answer

Q48. Find the department with maximum number of students ? Department table: Id, dept_name Student table: I'd, stident_name, dept_id

Ans.

The department with the maximum number of students needs to be found.

  • Join the Department and Student tables on the dept_id column

  • Group the data by department

  • Count the number of students in each department

  • Find the department with the maximum count

Add your answer

Q49. Find count of hard nodes in a binary tree ? A node is a hard node if it's current value is greater than its root's value.

Ans.

Count the number of hard nodes in a binary tree.

  • Traverse the binary tree using any traversal algorithm.

  • Compare the value of each node with its root's value.

  • Increment the count if the node's value is greater than its root's value.

Add your answer

Q50. Round2: System design- Design a database to store custom fields for a ticket.

Ans.

Design a database to store custom fields for a ticket.

  • Identify the custom fields needed for a ticket

  • Create a table for each custom field

  • Link the tables to the main ticket table using foreign keys

  • Use appropriate data types for each custom field

  • Consider indexing frequently searched fields

Add your answer

Q51. Given i/p 2[abc3[ac]] o/p should be acacacabcabc

Ans.

The given input string needs to be decoded to produce the output string.

  • The input string contains nested encoding of characters.

  • The number preceding the square brackets indicates the number of times the characters inside the brackets should be repeated.

  • The characters outside the square brackets are repeated as is.

  • The decoding needs to be done recursively.

  • The output string is obtained by decoding the input string.

Add your answer

Q52. Round1 : Write a program to find out if given number is prime.

Ans.

Program to check if a given number is prime or not.

  • A prime number is only divisible by 1 and itself.

  • Loop through numbers from 2 to n/2 and check if n is divisible by any of them.

  • If n is divisible by any number, it is not prime.

  • If n is not divisible by any number, it is prime.

Add your answer

Q53. 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 invalid URLs

Add your answer

Q54. What are the keys to marketing success?

Ans.

The keys to marketing success are understanding your audience, creating a strong brand, and effective communication.

  • Understand your target audience and their needs

  • Create a strong brand identity that resonates with your audience

  • Develop a clear and concise message that communicates the value of your product or service

  • Utilize multiple channels to reach your audience, including social media, email marketing, and advertising

  • Measure and analyze your marketing efforts to continually...read more

Add your answer

Q55. 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.

Add your answer

Q56. Differentiate between business market and consumer market

Ans.

Business market refers to organizations that buy goods and services for use in their own products or operations, while consumer market refers to individuals or households who buy goods and services for personal use.

  • Business market involves larger purchases and longer decision-making processes

  • Consumer market involves smaller purchases and shorter decision-making processes

  • Business market focuses on functionality and efficiency, while consumer market focuses on emotions and pers...read more

Add your answer

Q57. Pascal triangle , Sorting number using occurence

Ans.

The question is unclear and lacks context. Please provide more information.

  • Please provide more information about the specific requirements of the task.

  • What is the purpose of the Pascal triangle and how does it relate to sorting numbers by occurrence?

  • What programming language and tools should be used for this task?

Add your answer

Q58. How will u sell this pen

Ans.

I will sell this pen by highlighting its unique features and demonstrating its usefulness in various scenarios.

  • Emphasize the pen's sleek design and high-quality materials

  • Highlight its smooth writing experience and quick-drying ink

  • Demonstrate its versatility by showcasing its compatibility with different paper types

  • Offer a special promotion or discount to incentivize purchase

  • Provide testimonials from satisfied customers who have benefited from using the pen

Add your answer

Q59. What is your expected CTC?

Ans.

My expected CTC is in line with industry standards and commensurate with my experience and skills.

  • I have researched the market and have a good understanding of the salary range for this position.

  • I am open to negotiation based on the specific responsibilities and benefits offered.

  • I am looking for a fair and competitive compensation package.

  • Based on my experience and skills, I am expecting a salary range of X to Y.

  • I am also open to discussing performance-based incentives and bo...read more

Add your answer

Q60. When to have SQL and NoSql db ?

Ans.

SQL databases are suitable for structured data and complex queries, while NoSQL databases are better for unstructured data and high scalability.

  • Use SQL databases when data has a fixed schema and relationships between entities are well-defined.

  • Use NoSQL databases when data is unstructured or semi-structured, and when high scalability and performance are required.

  • SQL databases are better for complex queries involving multiple tables and joins.

  • NoSQL databases are suitable for ha...read more

Add your answer

Q61. How to grow business in pandemic

Ans.

To grow business in pandemic, focus on digital transformation, adapt to changing customer needs, and explore new markets.

  • Invest in digital marketing and e-commerce platforms

  • Offer flexible payment and delivery options

  • Develop new products or services that cater to pandemic-related needs

  • Explore new markets or partnerships

  • Prioritize customer communication and support

  • Optimize supply chain and operations for efficiency

  • Consider remote work and virtual events to reduce costs

  • Monitor i...read more

Add your answer

Q62. how do you handle escalting customer

Ans.

When handling escalating customers, it is important to remain calm, listen actively, empathize, and find a solution.

  • Stay calm and composed throughout the interaction.

  • Listen actively to the customer's concerns and frustrations.

  • Empathize with the customer and acknowledge their feelings.

  • Take ownership of the issue and assure the customer that you will find a solution.

  • Offer alternative solutions or escalate the issue to a higher authority if necessary.

  • Follow up with the customer ...read more

Add your answer

Q63. 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

Add your answer

Q64. Explain anyone feature of amazon

Ans.

Amazon Prime - free shipping, streaming, and more

  • Amazon Prime offers free two-day shipping on eligible items

  • Prime members also have access to streaming of movies, TV shows, and music

  • Additional benefits include early access to select lightning deals and free e-books

  • Prime Wardrobe allows members to try on clothing before purchasing

Add your answer

Q65. 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

Add your answer

Q66. system design on scheduler and tougher situation as a manager

Ans.

Designing a scheduler system and handling tough situations as a manager

  • Understand the requirements and constraints of the scheduler system

  • Consider scalability, reliability, and efficiency in the design

  • Implement algorithms for task scheduling and resource allocation

  • Handle conflicts and prioritize tasks effectively as a manager

  • Communicate clearly with team members and stakeholders during tough situations

Add your answer

Q67. Manual Testing, Write test cases for integration test

Ans.

Integration test cases ensure different modules work together correctly

  • Identify integration points between modules

  • Test data flow between modules

  • Verify communication between modules

  • Check for data consistency across modules

Add your answer

Q68. 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

Add your answer

Q69. Challenges faced in automation

Ans.

Automation challenges include tool selection, maintenance, and test case design.

  • Selecting the right automation tool for the project

  • Maintaining the automation scripts as the application changes

  • Designing effective test cases for automation

  • Handling dynamic elements on the application

  • Integrating automation with CI/CD pipeline

  • Ensuring test data availability and consistency

  • Managing test environment and infrastructure

  • Dealing with flaky tests and false positives

  • Ensuring cross-browser...read more

Add your answer

Q70. what is hub , switch , router

Ans.

A hub, switch, and router are networking devices used to connect devices in a network.

  • A hub is a simple device that connects multiple devices in a network, but it does not manage or control the traffic.

  • A switch is a more advanced device that connects devices in a network and manages the traffic by directing it to the intended recipient.

  • A router is a device that connects multiple networks and directs traffic between them, making decisions based on IP addresses.

  • Example: A hub i...read more

Add your answer

Q71. Write program to find duplicate elements from array

Ans.

Program to find duplicate elements from array of strings

  • Iterate through the array and store elements in a HashMap with element as key and count as value

  • Check if count of any element is greater than 1, then it is a duplicate

Add your answer

Q72. 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

Add your answer

Q73. Debugging an application and wirtting cases

Ans.

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 validate the fix and prevent regression

  • Document the debugg...read more

Add your answer

Q74. 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

Add your answer

Q75. Design an online real time document sharing tool

Ans.

An online real time document sharing tool for collaboration and communication

  • Implement real-time editing and commenting features

  • Allow multiple users to access and edit the document simultaneously

  • Provide version control and history tracking

  • Include user authentication and permission settings

  • Support various file formats such as text, images, and videos

Add your answer

Q76. 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

Add your answer

Q77. 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.

Add your answer

Q78. Find the max element in the array

Ans.

Find the max element in the array

  • Iterate through the array and compare each element with a variable storing the current max value

  • Use built-in functions like Math.max() or spread operator to find the max value

  • Consider edge cases like empty array or array with negative values

Add your answer

Q79. Framework explanation from scratch

Ans.

Framework is a set of guidelines, standards, and tools used to develop and execute automated tests.

  • Framework provides a structure for organizing test cases and test data.

  • It helps in reducing the effort required for test automation.

  • It provides reusable components and libraries for test automation.

  • Examples of frameworks are Selenium, Appium, TestNG, JUnit, etc.

Add your answer

Q80. write a lambda function in python

Ans.

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

Add your answer

Q81. 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

Add your answer

Q82. What is your typing speed

Ans.

My typing speed is 80 words per minute.

  • Typing speed: 80 words per minute

  • Accuracy: 98%

  • Experience with data entry tasks

  • Proficient in using typing software

  • Regular practice to improve speed

View 1 answer

Q83. what is commit in SQL

Ans.

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.

Add your answer

Q84. Do you know c program

Ans.

Yes, I am familiar with C programming language.

  • I have experience writing and debugging C programs

  • I am comfortable working with data structures and algorithms in C

  • I have worked on projects where C was the primary language used

View 1 answer

Q85. What is living feslety

Ans.

Living feslety is not a known term or concept in the security field.

  • Living feslety is not a recognized term or concept in the security industry.

  • It is possible that the interviewer misspoke or meant to ask a different question.

  • As a security officer, it is important to be knowledgeable about various security protocols and procedures.

  • Some common responsibilities of a security officer include monitoring surveillance footage, patrolling premises, and responding to emergencies.

  • It i...read more

Add your answer

Q86. Quota carrying full explanation

Ans.

Quota carrying refers to the sales target or goal that a salesperson is expected to meet within a specific time period.

  • Quota carrying is typically measured in terms of revenue or units sold.

  • Salespeople are often incentivized to meet or exceed their quota through bonuses or commissions.

  • Quotas can be set on a monthly, quarterly, or annual basis.

  • Failure to meet quota may result in consequences such as reduced commissions or even termination.

  • Example: A Bdm Executive may have a mo...read more

Add your answer

Q87. How caching works ?

Ans.

Caching is a technique used to store frequently accessed data in a temporary storage for faster retrieval.

  • Caching improves performance by reducing the need to fetch data from the original source.

  • It involves storing data in a cache, which is a high-speed storage system closer to the user or application.

  • When a request is made for data, the cache is checked first, and if the data is found, it is returned quickly.

  • If the data is not in the cache, it is fetched from the original so...read more

Add your answer

Q88. check palindrom from given string

Ans.

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

Add your answer

Q89. Explain Software development life cycle

Ans.

Software development life cycle is a process used by software development teams to design, develop, test, and deploy software.

  • It involves planning, designing, coding, testing, and deployment stages.

  • Each stage has specific goals and deliverables.

  • Examples of SDLC models include Waterfall, Agile, and DevOps.

Add your answer

Q90. Do you know c++

Ans.

Yes, I am familiar with C++ programming language.

  • I have experience in writing C++ code for various projects.

  • I am comfortable with concepts like classes, inheritance, polymorphism, and templates.

  • I have used C++ for data structures and algorithms implementations.

  • I have worked with libraries like STL in C++.

View 1 answer

Q91. 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)

Add your answer

Q92. 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

Add your answer

Q93. Streaming use case with spark

Ans.

Spark can be used for real-time data processing in streaming use cases.

  • Spark Streaming allows for processing real-time data streams.

  • It can handle high-throughput and fault-tolerant processing.

  • Examples include real-time analytics, monitoring, and alerting.

View 1 answer

Q94. dbutils in databricks

Ans.

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

Add your answer

Q95. Arr of those accounts

Ans.

The question is asking about the average revenue per account (ARR) of those accounts.

  • ARR is calculated by dividing the total annual revenue generated from a group of accounts by the number of accounts in that group.

  • For example, if a group of 10 accounts generated a total revenue of $100,000 in a year, the ARR would be $10,000 ($100,000 / 10).

Add your answer

Q96. Sales process and techniques

Ans.

Sales process involves identifying leads, qualifying prospects, making presentations, handling objections, closing deals, and following up.

  • Identify leads through networking, cold calling, and referrals.

  • Qualify prospects by understanding their needs and budget.

  • Make compelling presentations showcasing the benefits of your product or service.

  • Handle objections by addressing concerns and providing solutions.

  • Close deals by asking for the sale and overcoming any final objections.

  • Fol...read more

View 1 answer

Q97. Design a web crawler system

Ans.

Design a web crawler system to gather information from websites

  • Identify the websites to crawl and the specific information to extract

  • Implement a system to crawl the websites and extract the desired information

  • Store the extracted data in a database for further analysis

  • Consider scalability and efficiency in the design of the web crawler system

Add your answer

Q98. Explain current Framework

Ans.

Our current framework is a combination of Selenium WebDriver for UI automation and RestAssured for API automation.

  • Combination of Selenium WebDriver and RestAssured

  • Used for UI and API automation

  • Supports multiple programming languages like Java, Python, and C#

Add your answer

Q99. design a schduler

Ans.

Design a scheduler for managing tasks and appointments efficiently.

  • Define the requirements and constraints of the scheduler

  • Implement a data structure to store tasks and appointments

  • Develop algorithms for task prioritization and scheduling

  • Include features for reminders and notifications

  • Consider scalability and performance optimizations

Add your answer

Q100. Project explain

Ans.

Developed a web-based inventory management system for a retail company.

  • Used Java, Spring Framework, and Hibernate for backend development.

  • Implemented a responsive UI using HTML, CSS, and JavaScript.

  • Integrated with third-party APIs for payment processing and shipping.

  • Implemented security measures such as encryption and user authentication.

  • Optimized database queries for faster performance.

  • Collaborated with a team of developers and project managers to meet project deadlines.

Add your answer
1
2
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Schaeffler India

based on 126 interviews
Interview experience
4.0
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

3.4
 • 653 Interview Questions
3.3
 • 312 Interview Questions
3.5
 • 253 Interview Questions
3.4
 • 172 Interview Questions
4.2
 • 146 Interview Questions
View all
Top Freshworks Interview Questions And Answers
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter