Implement string rotateString(string input, int amt)
Engineers Interview Questions
898,759 engineers interview questions shared by candidates
why should we hire you ?
The interview will never take place as they lie and string along.
2nd Round (1 hour) Programming related question on java and c/c++ Each section has 8 questions (2 programming and 6 multiple choice) 3rd Round - Phone Interview
Using Collabedit, write a program to find the index of the first non-repeated character in a java string.
Describe a function to check if an integer is a power of 2.
Nothing unexpected, I solved all the problems but I think I was too slow on the first one, which goes like: Given an array of numbers, they are arranged so that the a[0] is in the 1st bucket, a[1]a[2] are in the 2nd bucket, a[3]a[4]a[5] is in the 3rd bucket and so on. The question is then: given a number, you need to return if it is in any bucket or not.
Given a string with parenthesis like "()()(()(()()", check to see if there are matching pairs. If there are matching pairs, return true, else return false. For example, ()()() returns true, ()()()) returns false.
Write an emitter class: /* emitter = new Emitter(); // 1. Support subscribing to events. sub = emitter.subscribe('event_name', callback); sub2 = emitter.subscribe('event_name', callback2); // 2. Support emitting events. // This particular example should lead to the `callback` above being invoked with `foo` and `bar` as parameters. emitter.emit('event_name', foo, bar); // 3. Support unsubscribing existing subscriptions by releasing them. sub.release(); // `sub` is the reference returned by `subscribe` above */
Given an array of arrays which contain characters, find all the arrays with at least one common character and return them as pairs.
Viewing 441 - 450 interview questions