Pros/cons of merge sort and quick sort
Software Engineer V Interview Questions
666,190 software engineer v interview questions shared by candidates
Name the three principles of object oriented design
Question was not difficult. In fact they asked the same queston from almost every interviewee. Qeustion: Given a number N and an array Arr[], search find two numbers which sum up to number N. When you will suggest binary search for this problem. They will ask about the complexity difference between two nested loop and binary search solution. After discussion of algorithm/solution, they will ask you to write down the code on paper. Both interviewers look like of Chinese origin. Only manager got involved in discussion and asked questions. The other one stayed silent. He sounds shy and asocial but was not pyschologist for sure. Maybe he was hired based on his extra-ordinary technical skills or strong internal (possibly Chinese) connection. The whole interviewed lasted for an hour.
One of the questions was reverse a string and capitalize the front and end letter of the word .
Given a few strings that have essentially the same alphabetic characters but differing case, punctuation, etc, return the least common denominator output that defaults to the first string given.
If V is a vector with n items and subroutine Exchange swaps its arguments, then the following code fragment sorts V in descending order. for( j = 0; j < n - 1; j++ ) for( k = 0; k < n - j - 1; k++ ) if( V[k] < V[k+1] ) Exchange( V[k], V[k+1] ); How many calls to Exchange are made if initially, V[i]=i, for i = 0, 1, 2, ..., n - 1 ? a. n-1 b. n c. n(n-1)/2 d. (n-1)(n-2) e. n(n-1)
Buddy bitmap clear bit and event handler
The recruiter did an initial technical screening on the phone. The questions were multi choice type. He read the questions and then read the choices. There were about 10 questions. Pretty basic.A day later I was scheduled for the first round of phone interview which was an hour long technical assessment. The questions were simple. At the end of this interview I was asked to code a solution for a simple problem. There was a screen share so that the interviewer could look at my screen. A day later I got a call saying they'd want to schedule an on-site. I wasnot given the details as to how many rounds of interview to expect. I wasnot not even given a schedule that listed how long the individual interviews would go for. Was just told the interview would take 2-3 hours. A day before the interview I received an e-mail saying the interview time was pre-poned by like 2 hours. It was very unprofessional to inform me of pre-poning a day before. I had to take the day off at work. I had 2 rounds of interview on-site. For both the rounds there were 2 interviewers. The first round was just a resume walk through and a few behavioural questions. the second interview consisted of 2 parts 1. cognitive interview. 2. root cause analysis type. For the cognitive part, the interviewers would give you a question( like how many ice-creams are sold in US each year) and would want to see your approach for it. for the second part, they'd give you a problem and expect you to come up with the root cause for it.
My processor is consuming too much power, write a program to reduce processor power consumption.
Given a message "one two three four five six seven eight nine", chop it in chunks(no exceed the give buffer size) and print out to the screen. Need to maintain the word and do not chop it off. I.E.: buffer size is 15 one two three (1/4) four five six (2/4) seven eight (3/4) nine (4/4)
Viewing 2221 - 2230 interview questions