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.
MISSING VALUE Interview Questions
6,572,321 interview questions shared by candidates
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)
What's the maximum theoretical number of TCP connections a host may have open?
Implement "double sqrt(double x)" in C++.
How do you feel about PMI-MN?
Questions were geared toward the S.T.A.R. method. Situation Task Action Result.
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.
Given an input array, remove all any duplicate occurrences and return the array.
Write a function to take a BST and a value k as input and have it print the kth smallest element in the BST.
Viewing 3821 - 3830 interview questions