Info Edge
30+ Hyundai Mobis Interview Questions and Answers
Q1. Write the code for rearranging the array in consecutive pair multiplication. For example consider an array with 10 element A0, A1, A2......A9. The resultant array will be A0*A1, A1*A2, A2*A3, and so on. The fin...
read moreRearrange array in consecutive pair multiplication in descending order.
Create a new array to store the multiplied values
Use a loop to iterate through the original array and multiply consecutive pairs
Write a compare function to sort the new array in descending order
Q2. Q: What is a Transaction in DBMS and ACID properties? Q: What is Thread and how it is different from the Process? Q: What are some Linux commands. Write any 5 commands? Q: Why sudo is used for commands? Q: Linu...
read moreAnswers to common technical questions in a software engineering interview
A transaction in DBMS is a sequence of operations that must be treated as a single unit of work. ACID properties ensure reliability and consistency of transactions.
A thread is a lightweight process that shares memory and resources with other threads in the same process. A process is a separate instance of a program.
Common Linux commands include ls, cd, mkdir, rm, and grep.
sudo is used to run commands wit...read more
Q3. System design of BookMyShow. Design the algorithm and database for the seat booking system. How this the system will handle the case when the payment gets failed. Again he asked me to write the query for the ti...
read moreDesign algorithm and database for seat booking system of BookMyShow and handle failed payments.
Create a database with tables for movies, theaters, seats, bookings, and payments
Use a locking mechanism to prevent double booking of seats
If payment fails, release the locked seats and notify the user
Write a query to get the timestamp in SQL: SELECT CURRENT_TIMESTAMP;
Q4. What is stoi function (stoi() function)? Its uses and code to Implement stoi function.
stoi() function converts a string to an integer.
stoi() is a C++ function that takes a string as input and returns an integer.
It is used to convert a string of digits into an integer.
It can also handle negative numbers and ignore leading whitespace.
Example: int num = stoi("123"); // num is now 123
Q5. Write code for Longest Common Substring. (time limit for writing this code was 5-6 minutes)
Code for finding the longest common substring in an array of strings.
Iterate through the first string and check for all possible substrings
Check if the substring is present in all other strings
Keep track of the longest common substring found so far
Return the longest common substring
Q6. What are the SEO standards that one needs to follow?
SEO standards include optimizing website content, using relevant keywords, and building quality backlinks.
Optimize website content with relevant keywords and meta tags
Ensure website is mobile-friendly and has fast loading speed
Build quality backlinks from reputable sources
Use descriptive and unique page titles and URLs
Regularly update website content and add new pages
Avoid duplicate content and keyword stuffing
Utilize social media to promote website and increase visibility
Q7. How is an arrow function different from a normal function?
Arrow functions are shorter syntax for writing function expressions.
Arrow functions do not have their own 'this' keyword.
They cannot be used as constructors.
They cannot be used as methods in objects.
They have implicit return statements.
They have a more concise syntax than normal functions.
Q8. What are higher-order components in React?
Higher-order components are functions that take a component and return a new component with additional functionality.
Higher-order components (HOCs) are a pattern in React for reusing component logic.
They are functions that take a component and return a new component with additional functionality.
HOCs can be used for adding props, state, or lifecycle methods to a component.
Examples of HOCs include connect() from React Redux and withRouter() from React Router.
Q9. Write the code to rearrange the array in maximum-minimum form.
Code to rearrange an array in maximum-minimum form.
Sort the array in descending order.
Create a new array and alternate between adding the maximum and minimum values from the sorted array.
Return the new array.
Time complexity: O(nlogn)
Space complexity: O(n)
Q10. Find the sum of k smallest number in a BST.
Find sum of k smallest numbers in a BST.
Traverse the BST in-order and add the k smallest numbers to a sum variable.
Use a priority queue to keep track of the k smallest numbers.
If k is greater than the number of nodes in the BST, return the sum of all nodes.
If k is 0, return 0.
Q11. What is meant by code splitting?
Code splitting is a technique to split code into smaller chunks to improve performance.
Code is divided into smaller chunks that can be loaded on demand
Reduces initial load time and improves performance
Used in modern web development frameworks like React, Angular, and Vue
Example: splitting a large JavaScript file into smaller modules
Q12. Write the code for the time stamp in C.
Code for time stamp in C
Use the time.h header file
Call the time() function to get the current time in seconds
Convert the time to a string using strftime() function
Use the format string to specify the desired format of the time stamp
Q13. What is tree shaking in React?
Tree shaking is a process of eliminating unused code in React applications.
It is a part of the build process that removes dead code from the final bundle.
It helps in reducing the size of the bundle and improving the performance of the application.
It works by analyzing the code and identifying the parts that are not used.
It is achieved through tools like webpack and babel.
Example: If a component is not used in the application, tree shaking will remove it from the final bundle.
Q14. Linked List reversal in groups of k
Reverses a linked list in groups of k
Break the linked list into groups of k nodes
Reverse each group individually
Connect the reversed groups back together
Q15. Topological Sort Implementation
Topological sort is a linear ordering of vertices in a directed acyclic graph.
Topological sort is used to find a linear ordering of vertices in a directed acyclic graph.
It is commonly implemented using depth-first search (DFS) algorithm.
The algorithm starts by visiting a vertex and then recursively visits all its adjacent vertices before adding it to the result list.
Topological sort is not possible if the graph has cycles.
Q16. Describe about a topic
Topic description
Pointer 1
Pointer 2
Pointer 3
Q17. Find Magic Index in Sorted Array
Given a sorted array A consisting of N integers, your task is to find the magic index in the given array, where the magic index is defined as an index i such that A[i] = i.
Exam...read more
Find the magic index in a sorted array where A[i] = i.
Iterate through the array and check if A[i] = i for each index i.
Since the array is sorted, you can optimize the search using binary search.
Return the index if found, else return -1.
Q18. 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
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.
Check if the sum of the triplet equals the specified number.
Print the valid triplets or return -1 if no such triplet exists.
Q19. Matching Prefix Problem Statement
Given an integer N
representing the number of strings in an array Arr
composed of lowercase English alphabets, determine a string S
of length N
such that it can be used to dele...read more
Given an array of strings, find the lexicographically smallest string that can be used as a prefix to minimize the total cost of deleting prefixes from the strings.
Iterate through the array to find the common prefix among all strings
Choose the lexicographically smallest common prefix
Delete the common prefix from each string in the array to minimize the total cost
Q20. Alien Dictionary Problem Statement
You are provided with a sorted dictionary (by lexical order) in an alien language. Your task is to determine the character order of the alien language from this dictionary. Th...read more
Given a sorted alien dictionary in an array of strings, determine the character order of the alien language.
Iterate through the words in the dictionary to build a graph of character dependencies.
Perform a topological sort on the graph to determine the character order.
Return the character array representing the order of characters in the alien language.
Q21. Jumping Numbers Problem Statement
Given a positive integer N
, your goal is to find all the Jumping Numbers that are smaller than or equal to N
.
A Jumping Number is one where every adjacent digit has an absolute...read more
Find all Jumping Numbers smaller than or equal to a given positive integer N.
Iterate through numbers from 0 to N and check if each number is a Jumping Number.
For each number, check if the absolute difference between adjacent digits is 1.
Include all single-digit numbers as Jumping Numbers.
Output the list of Jumping Numbers that are smaller than or equal to N.
Q22. What would you like to work on ? Web Technologies or android
I would like to work on both web technologies and android.
I have experience in both web development and android app development.
Working on both will allow me to expand my skills and knowledge.
I am excited about the potential of creating seamless experiences across web and mobile platforms.
Examples of projects I have worked on include a web-based dashboard for data visualization and an android app for tracking fitness goals.
Q23. What all and where the investments have been made?
Investments have been made in various areas including technology, infrastructure, and marketing.
Investments have been made in technology to improve our products and services.
Infrastructure investments have been made to expand our reach and improve logistics.
Marketing investments have been made to increase brand awareness and customer acquisition.
Specific examples include investing in a new CRM system, expanding our warehouse facilities, and launching a new advertising campaig...read more
Q24. How would you brand the business vertical JobHai? keeping in mind economic and technological constraints
JobHai - Connecting job seekers with opportunities
Create a simple and memorable logo
Use social media platforms to reach a wider audience
Partner with local businesses to offer job fairs and workshops
Offer a user-friendly website and mobile app for job searching and application
Provide personalized job recommendations based on user preferences and qualifications
Q25. What is the difference between get and post?
GET and POST are HTTP methods used for sending data to a server, but GET requests data from a server while POST submits data to be processed.
GET requests data from a server while POST submits data to be processed
GET requests are cached while POST requests are not
GET requests have length restrictions while POST requests do not
GET requests are visible in the URL while POST requests are not
GET requests are used for retrieving data while POST requests are used for submitting data
Q26. Find a palindrome, longest possible palindrome, find remainder without using modulus operator
Answering questions on finding palindromes and remainders without modulus operator.
To find a palindrome, compare the first and last characters of the string and move towards the center until they meet or the string is not a palindrome.
To find the longest palindrome, iterate through all possible substrings and check if they are palindromes.
To find remainder without modulus operator, use repeated subtraction until the dividend is less than the divisor.
Q27. Sell me a product and how do you deliver it in market
I would sell a revolutionary skincare product that guarantees clear and glowing skin within 7 days.
Highlight the key benefits of the product such as clear skin, reduced acne, and improved complexion
Emphasize the unique ingredients and technology used in the product
Offer a limited-time discount or promotion to attract customers
Utilize social media influencers and beauty bloggers to create buzz around the product
Partner with beauty stores and online platforms for distribution
Q28. What is BCG matrix?
BCG matrix is a strategic tool used to analyze a company's product portfolio and make decisions about resource allocation.
BCG stands for Boston Consulting Group, the consulting firm that developed the matrix.
The matrix categorizes a company's products into four categories: stars, cash cows, question marks, and dogs.
Stars are high-growth, high-market-share products that require heavy investment to maintain their position.
Cash cows are low-growth, high-market-share products tha...read more
Q29. What do you understand bu sales and its marketing strategy
Sales is the process of selling products or services to customers, while marketing strategy involves planning and implementing tactics to promote and sell those products or services.
Sales involves directly selling products or services to customers
Marketing strategy involves planning and implementing tactics to promote and sell products or services
Sales focuses on closing deals and generating revenue
Marketing strategy focuses on creating awareness, generating leads, and conver...read more
Q30. Two good and two bad things you thinks about Data science
Good and bad aspects of Data Science
Good: Data science helps in making informed decisions based on data-driven insights
Good: Data science can uncover valuable patterns and trends in large datasets
Bad: Data science can be time-consuming and resource-intensive
Bad: Data science may face challenges with data privacy and ethical considerations
Q31. Ability to sell a particular product
I have a proven track record of successfully selling products through effective communication and relationship building.
Identify the customer's needs and tailor the product pitch accordingly
Highlight the unique features and benefits of the product
Address any objections or concerns the customer may have
Establish trust and rapport with the customer
Close the sale by asking for the customer's commitment
Follow up with the customer to ensure satisfaction and encourage repeat busine...read more
Q32. What do you mean by sessions?
Sessions refer to a period of time during which a user interacts with a product or service.
Sessions can be used to track user behavior and engagement.
They can be measured by the amount of time a user spends on a website or app.
Sessions can also refer to a group of related tasks or activities that are completed in a single sitting.
In product development, sessions can be used to analyze user feedback and make improvements to the product.
Examples of session-based products includ...read more
Q33. Replacement of blank space with %20 in string without using any new string.
Replace blank space with %20 in string without using new string.
Loop through string and replace blank space with %20 in place.
Use two pointers, one for original string and one for modified string.
Use ASCII value of %20 to replace blank space in place.
Q34. tell me how u cn sale anythg
To sell anything, understand the product, identify target customers, highlight benefits, address objections, and close the sale.
Understand the product or service thoroughly
Identify the target customers and their needs
Highlight the benefits and unique selling points
Address any objections or concerns
Create a sense of urgency or scarcity
Close the sale by asking for the purchase
Follow up with customers for repeat business
Q35. Difference between manual and automation testing.
Manual testing is done manually by testers, while automation testing uses tools to execute test cases.
Manual testing involves human intervention to test software functionality.
Automation testing uses tools to execute test cases, reducing human effort.
Manual testing is time-consuming and prone to errors, while automation testing is faster and more reliable.
Manual testing is suitable for exploratory testing, while automation testing is ideal for regression testing.
Examples: Man...read more
Q36. What is meaning of business
Business refers to the activity of producing, buying, or selling goods or services for financial gain.
Business involves creating value for customers through the production or delivery of goods or services
It requires identifying and satisfying customer needs and wants
Businesses aim to generate revenue and profits by selling their products or services at a price higher than their costs
Businesses can take many forms, including sole proprietorships, partnerships, corporations, an...read more
Q37. Different between sale's and marketing
Sales focuses on selling products or services, while marketing involves promoting and creating awareness about those products or services.
Sales involves direct interaction with customers to close deals
Marketing involves creating strategies to attract and retain customers
Sales is more focused on immediate revenue generation
Marketing is more focused on long-term brand building and customer relationships
Top HR Questions asked in Hyundai Mobis
Interview Process at Hyundai Mobis
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month