given a string,which is filled with either "(" or ")", for example "(())()())", write a function to check if the string is "proper". A "proper" string means if there is a "(" in the string, there should be a ")" which corresponds to the "(" in the string. For example, "))()("
Engineer Software Interview Questions
419,688 engineer software interview questions shared by candidates
I don't want to give away any questions. Just be prepared to solve problems.
Puzzles (unexpected)1. Given 4 trees plant them in such a way that the distance between each other are same.
Given a list of integers, return a list where each index is the product of all the items in the first list, except for the term in the current position.
Take home assignment - not that difficult, but time consuming
Which programming languages you are proficient at?
Puzzle ------- Eg: Assume you have 4 strings formed from a,b,c,d like abcd, acdb, adbc, bcda Output should be "bc",3 as "bc" is the largest substring repeated in 3 input strings. Few more examples to understand it. Inp1: {abcd,abcd,abcd,abcd} Out1: abcd,4 Inp2: {abcd,dabc,acbd} Out2: abc,2 Inp3: {abcd,dabc,adbc} Out3: bc,3 All the chars are distinct and all the chars are repeated in each string(You can relax these restrictions if you want). If 4 input strings are given then the output should be like, if you have subString of size 3 present in 3 inputs and subString of size 4 present in 3 inputs but a subString of size 2 present in 4 inputs then you should print the last one as output. But as it is obvious a subString of size 1 will be repeated in all the inputs but you should consider subString od size > 2 and repeated in max of the inputs. To say mathematically, high priority is given to the number of repetitions followed by the size of the subString.
If I give you a list of overlapping time periods, [9am-12pm, 10-1pm, 2-4pm, 3-6pm] -> [9-1pm, 2-6pm] You can assume 24 hr format also
Water Jug Problem with 5 litre and 3 Litre jug and we want 4 litre as output.
Viewing 2291 - 2300 interview questions