InMobi
30+ MAHLE Behr India Interview Questions and Answers
Q1. What do you understand by the endianness of the system ? How do you find out the the type of endianness ?
Endianness refers to the byte order of a system. It determines how multi-byte data types are stored in memory.
Little-endian systems store the least significant byte first, while big-endian systems store the most significant byte first.
Endianness can affect the way data is transmitted between systems.
To determine the endianness of a system, you can use the byte order mark (BOM) or write a test program that checks the byte order of a multi-byte variable.
Endianness can impact th...read more
Q2. Design: Ad publishers would not want ads with restricted content (porn, alcohol, arms, violence etc.) to be shown on their website. Design a feature so that publishers can define these restrictions.
Design a feature for ad publishers to define restrictions on ad content.
Create a user-friendly interface for publishers to set their content restrictions.
Allow publishers to select specific categories of restricted content (e.g. porn, alcohol, violence).
Implement a keyword-based filtering system to identify restricted content.
Provide an option for publishers to upload custom lists of restricted keywords.
Offer a preview feature to show publishers how their restrictions will af...read more
Q3. When you hear InMobi, what's the first word that comes in your head?
Mobile advertising platform
Adtech
Mobile marketing
App monetization
Q4. What do you understand by Heaps, max and min heaps ?
Heaps are data structures used to efficiently find the maximum or minimum element in a collection.
Max heap: parent nodes are always greater than or equal to child nodes
Min heap: parent nodes are always smaller than or equal to child nodes
Heaps are commonly used in priority queues and sorting algorithms
Heap operations include insert, delete, and extract max/min
Example: An array [3, 8, 2, 5, 1, 4, 6] can be represented as a max heap [8, 5, 6, 3, 1, 4, 2]
Q5. Design an app to ease out the ISB campus hiring process. What North-star metric will you go after? Estimate the improvement in this metric if the app is launched.
An app to streamline ISB campus hiring process with a focus on reducing time-to-hire.
Create a user-friendly interface for job postings and applications
Incorporate a resume screening tool to filter out unqualified candidates
Implement an interview scheduling feature to reduce scheduling conflicts
Track time-to-hire as the North-star metric to measure success
Expect a 20-30% improvement in time-to-hire with the launch of the app
Q6. to design a class which has two random numbers and a mathematical operation in between them. If the user answers correctly, then a new question comes, otherwise the user tries the answering the same thing again...
read moreDesign a class for a math quiz game with random numbers, timer, score, and retry option.
Create a class with two random number generators and a random mathematical operation
Implement a timer and score tracker
If user answers correctly, generate a new question, else allow user to retry
Examples of mathematical operations: addition, subtraction, multiplication, division
Examples of retry options: allow user to see correct answer or provide hints
Q7. In a line where words are separated by spaces, , and capitalize first letter of the reversed word. Other letters of the word should be in small. Input : “how are you?” → Output: “Woh Era ?uoy”
The program takes a string as input and capitalizes the first letter of each reversed word while keeping the rest of the letters in lowercase.
Split the input string into an array of words using the space as a delimiter
Iterate through each word in the array
Reverse the word and capitalize the first letter
Join the modified words back into a single string with spaces in between
Q8. n a line where words are separated by spaces, , and capitalize first letter of the reversed word. Other letters of the word should be in small. Input : “how are you?” → Output: “Woh Era ?uoy”
The program capitalizes the first letter of each reversed word in a sentence.
Split the sentence into an array of words using space as a delimiter.
Reverse each word in the array and capitalize the first letter.
Join the modified words back into a sentence.
Q9. Find 3 nos a,b and c in an array where a+b = c
Find 3 numbers in an array where a+b=c.
Loop through the array and check for all possible combinations of a and b.
Use a hash table to store the values of a and b, and check if c is present in the hash table.
Sort the array and use two pointers to find a and b, and then check if their sum equals c.
Q10. Given two strings, you need to transform one into the other. You can only transform 1 character at a time. The string formed after each character change should be a recognised word in the English language. If i...
read moreA function to transform one string into another by changing one character at a time, ensuring each transformation results in a valid English word.
Use a breadth-first search algorithm to explore all possible transformations
Create a dictionary of valid English words to check against
Track visited words to avoid repeating transformations
Return the shortest path of transformations from the starting string to the target string
Q11. Sort an array which consists of 0's and 1's only
Sort an array of 0's and 1's only.
Use two pointers, one at the beginning and one at the end of the array.
Swap 0's from the beginning with 1's from the end until the pointers meet.
Alternatively, use a counting sort algorithm to count the number of 0's and 1's and then reconstruct the array.
Q12. Market Entry: How to take Rajasthani Shoe business from online to offline?
To take the Rajasthani Shoe business from online to offline, a multi-channel approach can be adopted.
Establish physical stores in key locations to increase accessibility and visibility.
Collaborate with local retailers or distributors to expand the offline presence.
Organize pop-up shops or participate in trade shows to showcase the products.
Implement effective marketing strategies to create awareness about the offline stores.
Offer personalized customer experiences and excellen...read more
Q13. Given a chessboard and the initial position of horse. If “n” is the number of steps the horse can make then what is probability that it goes out of board ?
Probability of a horse going out of a chessboard in 'n' steps.
The total number of possible moves for a horse is 8.
The probability of going out of the board depends on the position of the horse.
For example, if the horse is at a corner, the probability of going out of the board is higher.
The probability can be calculated using combinatorics and geometry.
Q14. Find Maximum sub sequence sum in an array ?
Maximum sub sequence sum in an array
Use Kadane's algorithm
Initialize max_so_far and max_ending_here to 0
Iterate through the array and update max_ending_here and max_so_far
Return max_so_far
Q15. What is Cyber Security and information security?
Cyber security is the practice of protecting systems, networks, and data from digital attacks.
Cyber security involves implementing measures to prevent unauthorized access, data breaches, and other cyber threats.
It includes technologies, processes, and practices designed to protect networks, devices, programs, and data from attack, damage, or unauthorized access.
Examples of cyber security measures include firewalls, antivirus software, encryption, and multi-factor authenticati...read more
Q16. Algorithms on arrays and strings (coding)
Algorithms for manipulating arrays and strings in coding
Use sorting algorithms like quicksort and mergesort for arrays
Use string manipulation functions like substring and replace for strings
Use dynamic programming for optimizing solutions to array and string problems
Q17. Algorithms- Sort order algorithm for an e-commerce search page.
The sort order algorithm for an e-commerce search page determines the arrangement of products based on relevance to the search query.
The algorithm should consider factors like product popularity, customer ratings, and relevance to the search query.
It should prioritize products that closely match the search query and have higher ratings or popularity.
The algorithm can also take into account other factors like price, availability, and customer preferences.
Examples of sorting cr...read more
Q18. What are the types of encryption?
Types of encryption include symmetric encryption, asymmetric encryption, and hashing.
Symmetric encryption: Uses the same key for both encryption and decryption, examples include AES and DES.
Asymmetric encryption: Uses a pair of public and private keys for encryption and decryption, examples include RSA and ECC.
Hashing: Converts data into a fixed-size string of bytes, examples include MD5 and SHA.
Q19. Is Apple i-Pad a success or failure ?
Apple i-Pad is a success.
The i-Pad has sold over 500 million units worldwide.
It has revolutionized the tablet market and set the standard for other companies.
The i-Pad has been used in various industries such as education, healthcare, and entertainment.
Apple continues to release new and improved versions of the i-Pad, showing its success.
The i-Pad has also contributed significantly to Apple's revenue and profits.
Q20. Given a matrix of n*n, print all the paths from 0,0 to n,n. You can either increase the x-coordinate one at a time or the y co-ordinate. Decreasing co-ordinates or gong diagonally is not allowed
Print all paths from 0,0 to n,n in a matrix of n*n by increasing x or y coordinate.
Use recursion to traverse through all possible paths
At each step, check if moving right is possible, if yes, move right and add 'R' to path
Similarly, check if moving down is possible, if yes, move down and add 'D' to path
If current position is (n-1, n-1), print the path
Backtrack to previous position and remove last added direction from path
Q21. What is product market fit?
Product market fit is the alignment between a product and its target market, where the product satisfies the market's needs.
Product market fit is achieved when a product solves a real problem for a specific target market.
It means that the product is in demand and customers are willing to pay for it.
Product market fit is not a one-time event, it requires continuous validation and improvement.
Examples of products with strong product market fit include iPhone, Airbnb, and Netfli...read more
Q22. Why product management?
Product management combines my passion for technology, problem-solving, and customer-centricity.
I enjoy working with cross-functional teams to bring innovative products to market.
Product management allows me to use my analytical skills to identify market opportunities and drive product strategy.
I am motivated by the challenge of balancing user needs, business goals, and technical feasibility.
I find satisfaction in seeing a product evolve from ideation to launch and making a p...read more
Q23. Given a linked list of integers, remove all duplicates
Remove all duplicates from a linked list of integers
Traverse the linked list and keep track of seen values using a hash set
If a value is already in the hash set, remove the node from the linked list
Time complexity: O(n), Space complexity: O(n)
Q24. Why inmobi?
Inmobi is a leading global mobile advertising platform with a strong track record of innovation and success.
Inmobi has a strong reputation in the mobile advertising industry
They have a proven track record of innovation and success
Inmobi offers a dynamic and fast-paced work environment
The company values collaboration and encourages employee growth
Inmobi provides opportunities to work with top-tier clients and cutting-edge technology
Q25. Large scale Ad Server Design
Designing a large scale Ad Server
Use distributed systems for scalability
Implement caching for faster ad delivery
Ensure high availability and fault tolerance
Use real-time bidding for efficient ad placement
Implement fraud detection mechanisms
Ensure compliance with privacy regulations
Q26. What are various ways of imputing missing values in Pyhon
Q27. Explain the use cases of different charts in Power BI?
Different charts in Power BI have various use cases such as visualizing trends, comparing data, and highlighting outliers.
Bar charts are useful for comparing data across categories.
Line charts are great for showing trends over time.
Pie charts can be used to show the proportion of each category in a dataset.
Scatter plots are helpful for identifying relationships between two variables.
Gantt charts are ideal for visualizing project timelines and dependencies.
Q28. HLD design for something like Dropbox
High-level design for a Dropbox-like system
Use a distributed file system to store files
Implement a synchronization mechanism to ensure consistency across devices
Use encryption to protect user data
Implement a user authentication and authorization system
Provide a web interface and mobile apps for easy access
Consider scalability and fault tolerance
Implement version control to allow users to revert to previous versions of files
Q29. Find if there is a triplet in a Balanced BST that adds to zero
Find if there is a triplet in a Balanced BST that adds to zero
Traverse the tree in-order and store the values in an array
Use three pointers to find the triplet that adds to zero
Start with the first pointer at the beginning of the array and the other two at the end
Move the pointers towards each other until the sum of the triplet is found or all combinations are exhausted
Q30. Find the first repeating element in an array of integers
Find the first repeating element in an array of integers
Create a hash table to store the frequency of each element
Traverse the array and check if the element is already present in the hash table
If yes, return the element as it is the first repeating element
If no repeating element is found, return null
Q31. Write a query to find nth highest salary in SQL?
Query to find nth highest salary in SQL
Use the ORDER BY clause to sort the salaries in descending order
Use the DISTINCT keyword to eliminate duplicates
Use LIMIT and OFFSET to get the nth highest salary
Q32. What do you know about InMobi
InMobi is a global mobile advertising and discovery platform that reaches over 1.5 billion unique mobile devices worldwide.
Founded in 2007 in India
Offers a range of advertising formats including video, native, and display ads
Provides data-driven insights to help advertisers reach their target audience
Has partnerships with major brands and publishers such as Uber, Samsung, and ESPN
Headquartered in Bangalore, India with offices in several countries including the US and UK
Q33. Implement a queue using stack
Implement a queue using stack
Use two stacks, one for enqueue and one for dequeue
When enqueueing, push onto the enqueue stack
When dequeueing, pop from the dequeue stack
If the dequeue stack is empty, transfer all elements from enqueue stack to dequeue stack
Q34. Serialize and Deserialize a Binary Tree
Serialize and deserialize a binary tree.
Serialize: Traverse the tree in pre-order and store the node values in a string with a delimiter.
Deserialize: Split the string using the delimiter and create a new node for each value.
Use a special character to represent null nodes.
Recursively traverse the left and right subtrees to reconstruct the tree.
Time complexity: O(n), Space complexity: O(n).
Q35. Plan for further studies
I plan to pursue a master's degree in computer science.
Researching universities with strong computer science programs
Preparing for GRE exam
Networking with alumni and professors for recommendations
Applying for scholarships and financial aid
Considering online or part-time programs for flexibility
Q36. Add 3 linked lists
To add 3 linked lists, traverse each list and add the corresponding nodes, carry over the remainder to the next node.
Traverse each list and add the corresponding nodes
Carry over the remainder to the next node
Handle cases where the lists are of different lengths
Q37. polyfill of promise
Polyfill of promise is a code that adds support for promises in older browsers.
Polyfill is used to fill in the gaps in browser support for certain features.
For promises, a polyfill can be used to provide support in older browsers that do not natively support promises.
Popular promise polyfills include 'es6-promise' and 'bluebird'.
Q38. EXPLAINATION of DSP and SSP
DSP stands for Demand-Side Platform and SSP stands for Supply-Side Platform in the context of programmatic advertising.
DSP is a platform used by advertisers to purchase ad inventory in real-time auctions.
SSP is a platform used by publishers to sell their ad inventory to advertisers.
DSPs and SSPs work together in programmatic advertising to automate the buying and selling of ad space.
DSPs use data and algorithms to target specific audiences, while SSPs help publishers maximize...read more
Top HR Questions asked in MAHLE Behr India
Interview Process at MAHLE Behr India
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month