given a string with parenthesis, eliminate the illegal parenthesis and return a legal string. for example: "(()" -> "()" ")))(" -> "" "()(()" -> "()()"
Engineer Interviews
Engineer Interview Questions
Engineers are responsible for designing and building products. In an interview context, expect to be quizzed on your technical skills, and also evaluated for your ability to work as a part of a team to get things built. The specific questions you are asked will depend on what type of engineering position you are looking for such as a specific engineering discipline like software engineer, electrical engineer, or mechanical engineer.
Top Engineer Interview Questions & How to Answer
Question #1: What is the most challenging engineering project you've dealt with, and how did you ensure it was successful?
Question #2: In your current role, what steps do you take to avoid making mistakes?
Question #3: Describe a time you dealt with a difficult client or stakeholder.
841,079 engineer interview questions shared by candidates
Given two sorted input arrays which contain a two element array of [key, value], write a function which multiplies the two arrays together and sums them where the "key" matches. Example: "v1 = [[1, 3], [2, 4], [99, 3]]; v2 = [[2,3],[5,9],[99,1]]" results in "15". I first brute forced it with O(n*m) then used two pointers which resulted in O(n+m) then he asked me to write it in O(n log m). I could not think of an algorithm at the time for O(n log m).
How would you multiply two strings: "123 * "45", without any casting.
Swap two digits from an integer, the result should be the maximum. For example 3580 -> 8350
How do you reverse the words in a string? Code.
Given a list of integers, some of which may be negative, extract the pair that sums to the largest number.
Are you smart?
Given the following struct how much memory is require to store it in a 32-bit and 64-bit system? struct A { char t; char *t; }
Design patterns that would be used in a card game. Not objects and classes but design patterns.
If you placed a perforating gun 2000 ft underneath the ground and ignite the charge. Which direction would it blast? If you were do the same, but the depth was 200 ft, would you expect the same direction? Why?
Viewing 391 - 400 interview questions