Given 2 arrays sorted in ascending orders (a[n] and b[n*2]) with the second half of array a[] being empty, create a function that merges both arrays into a single sorted array.
Engineer Interview Questions
934,733 engineer interview questions shared by candidates
You are given an array of N elements in the form "property1: value1; property2: value2;...;propertyX: valueX;" for some some N and any X. There is also another array of M elements of the form "property: value". You are supposed to write an algorithm to remove every element in the N length array that has a "property: value" pair in the M length array. The trick is that the most intuitive solution of iterating through the M array and filtering the N array at each element is already written. You must come up with a solution that solves the problem in less than O(NM) time.
introduction about yourself, how you think will fit in role, stress strain curve in detail. powertrain of an EV. explain components in detail. where id the maximum power from battery used in car? other consumptions in car. heat dissipation in EV. explain the cooling system with the function of each component. traction control system. center of gravity. comparing material on the stress strain curve. interpretation. where will the curve head if force is stopped in between the stress strain curve.
Given two binary trees, return true if they have same elements (irrespective of tree structure)
Give a dictionary with a huge set of words and a string with wildcard. You are required to find whether there is a match in the dictionary for this given string.
Write a function to take a BST and a value k as input and have it print the kth smallest element in the BST.
Given an array as an input: [1,2,3,4,5] Return an array, which has a given index the product of all the other numbers in the array (except for the number at the given index), without using the divide operator: [120,60,40,30,24]
In the 2nd round they asked: 1. An egg has to be boiled which takes exactly 11 minutes to boil. There are only 2 sand watches available to you one of 9 minutes and the other of 5 minutes. Using only these sand watches boil the egg.
You have an analog clock with two hands, one for the hour and one for the minute. Given a time of the day, what is the angle between the two hands?
Write a program to count the number of words in a file.
Viewing 881 - 890 interview questions